diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/Info.plist new file mode 100644 index 00000000000..e6616da7312 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/Info.plist @@ -0,0 +1,139 @@ + + + + + AvailableLibraries + + + BinaryPath + AppCheckCore.framework/AppCheckCore + LibraryIdentifier + ios-arm64 + LibraryPath + AppCheckCore.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + AppCheckCore.framework/AppCheckCore + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + AppCheckCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + AppCheckCore.framework/AppCheckCore + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + AppCheckCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + AppCheckCore.framework/AppCheckCore + LibraryIdentifier + watchos-arm64_x86_64-simulator + LibraryPath + AppCheckCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + watchos + SupportedPlatformVariant + simulator + + + BinaryPath + AppCheckCore.framework/AppCheckCore + LibraryIdentifier + tvos-arm64 + LibraryPath + AppCheckCore.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + AppCheckCore.framework/AppCheckCore + LibraryIdentifier + watchos-arm64_arm64_32 + LibraryPath + AppCheckCore.framework + SupportedArchitectures + + arm64 + arm64_32 + + SupportedPlatform + watchos + + + BinaryPath + AppCheckCore.framework/Versions/A/AppCheckCore + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + AppCheckCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + BinaryPath + AppCheckCore.framework/Versions/A/AppCheckCore + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + AppCheckCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/AppCheckCore b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/AppCheckCore new file mode 100644 index 00000000000..5c7e152c6d2 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/AppCheckCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h new file mode 100644 index 00000000000..ebd6c96fb41 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h @@ -0,0 +1,29 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "AppCheckCore.h" +#import "GACAppAttestProvider.h" +#import "GACAppCheck.h" +#import "GACAppCheckAvailability.h" +#import "GACAppCheckDebugProvider.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" +#import "GACDeviceCheckProvider.h" + +FOUNDATION_EXPORT double AppCheckCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char AppCheckCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/AppCheckCore.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/AppCheckCore.h new file mode 100644 index 00000000000..a0752153244 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/AppCheckCore.h @@ -0,0 +1,33 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheck.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" + +// Debug provider +#import "GACAppCheckDebugProvider.h" + +// DeviceCheck provider +#import "GACDeviceCheckProvider.h" + +// App Attest provider. +#import "GACAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppAttestProvider.h new file mode 100644 index 00000000000..39175bd5209 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppAttestProvider.h @@ -0,0 +1,55 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +#import "GACAppCheckAvailability.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreAppAttestProvider) +@interface GACAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key, if needed, or nil. +/// @param accessGroup The Keychain Access Group. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppAttestProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(nullable NSString *)APIKey + keychainAccessGroup:(nullable NSString *)accessGroup + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheck.h new file mode 100644 index 00000000000..0c953ff8e63 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheck.h @@ -0,0 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol GACAppCheckProvider; +@protocol GACAppCheckSettingsProtocol; +@protocol GACAppCheckTokenDelegate; +@class GACAppCheckToken; +@class GACAppCheckTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreProtocol) @protocol GACAppCheckProtocol + +/// Requests an App Check token. +/// +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion:(void (^)(GACAppCheckTokenResult *result))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Retrieve a new limited-use App Check token +/// +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +/// +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)limitedUseTokenWithCompletion:(void (^)(GACAppCheckTokenResult *result))handler; + +@end + +/// A class used to manage App Check tokens for a given resource. +NS_SWIFT_NAME(AppCheckCore) +@interface GACAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns an instance of `AppCheck` for an application. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param appCheckProvider An object that provides App Check tokens. +/// @param settings An object that provides App Check settings. +/// @param tokenDelegate A delegate that receives token update notifications. +/// @param accessGroup The identifier for a keychain group that the app shares items with; if +/// provided, requires the Keychain Access Groups Entitlement. +/// @return An instance of `AppCheckCore` with the specified token provider. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + appCheckProvider:(id)appCheckProvider + settings:(id)settings + tokenDelegate:(nullable id)tokenDelegate + keychainAccessGroup:(nullable NSString *)accessGroup; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckAvailability.h new file mode 100644 index 00000000000..f64ca430897 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckAvailability.h @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// `DeviceCheckProvider` availability. +#define GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// `AppAttestProvider` availability annotations +#define GAC_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h new file mode 100644 index 00000000000..9a1deceaace --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h @@ -0,0 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An App Check provider that can exchange a debug token registered in the Firebase console for an +/// App Check token. The debug provider is designed to enable testing applications on a simulator or +/// in a test environment. +/// +/// NOTE: Do not use the debug provider in production applications used by real users. +/// +/// WARNING: Keep the App Check debug token secret. If you accidentally share one (e.g., commit it +/// to a public source repository), remove it in the Firebase console ASAP. +/// +/// To use `AppCheckCoreDebugProvider` on a local simulator: +/// 1. Launch the app. A local debug token will be logged when the `AppCheckCoreDebugProvider` is +/// instantiated. For example: +/// "[AppCheckCore][I-GAC004001] App Check debug token: 'AB12C3D4-56EF-789G-01H2-IJ234567K8L9'." +/// 2. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered in the Firebase console, the debug provider will be able to +/// provide a valid App Check token. +/// +/// To use `AppCheckCoreDebugProvider` in a Continuous Integration (CI) environment: +/// 1. Create a new App Check debug token in the Firebase console. +/// 2. Add the debug token to the secure storage of your build environment. E.g., see +/// [Encrypted secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for +/// GitHub Actions. +/// 4. Add an environment variable to the scheme with a name `AppCheckDebugToken` and a value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as in environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +NS_SWIFT_NAME(AppCheckCoreDebugProvider) +@interface GACAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDebugProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +/// Returns the locally generated token. +- (NSString *)localDebugToken; + +/// Returns the currently used App Check debug token. +/// +/// The priority of the token used is: +/// 1. The `AppCheckDebugToken` environment variable value +/// 2. The `FIRAAppCheckDebugToken` environment variable value +/// 3. A previously generated token, stored locally on the device +/// 4. A newly generated random token. The generated token will be stored locally for future use +/// +/// @return The currently used App Check debug token. +- (NSString *)currentDebugToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckErrors.h new file mode 100644 index 00000000000..c6d4576aa4d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckErrors.h @@ -0,0 +1,59 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const GACAppCheckErrorDomain NS_SWIFT_NAME(AppCheckCoreErrorDomain); + +typedef NS_ERROR_ENUM(GACAppCheckErrorDomain, GACAppCheckErrorCode){ + /// An unknown or non-actionable error. + GACAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + GACAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + GACAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + GACAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + GACAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckCoreErrorCode); + +#pragma mark - Error Message Codes + +typedef NS_ENUM(NSInteger, GACAppCheckMessageCode) { + GACLoggerAppCheckMessageCodeUnknown = 1001, + + // App Check + GACLoggerAppCheckMessageCodeProviderIsMissing = 2002, + GACLoggerAppCheckMessageCodeUnexpectedHTTPCode = 3001, + + // Debug Provider + GACLoggerAppCheckMessageLocalDebugToken = 4001, + GACLoggerAppCheckMessageEnvironmentVariableDebugToken = 4002, + GACLoggerAppCheckMessageDebugProviderFirebaseEnvironmentVariable = 4003, + GACLoggerAppCheckMessageDebugProviderFailedExchange = 4004, + + // App Attest Provider + GACLoggerAppCheckMessageCodeAppAttestNotSupported = 7001, + GACLoggerAppCheckMessageCodeAttestationRejected = 7002 +} NS_SWIFT_NAME(AppCheckCoreMessageCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckLogger.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckLogger.h new file mode 100644 index 00000000000..cab60ceeb48 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckLogger.h @@ -0,0 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheckErrors.h" + +/// Constants that specify the level of logging to perform in App Check Core. +typedef NS_ENUM(NSInteger, GACAppCheckLogLevel) { + /// The debug log level; equivalent to `OS_LOG_TYPE_DEBUG`. + GACAppCheckLogLevelDebug = 1, + /// The informational log level; equivalent to `OS_LOG_TYPE_INFO`. + GACAppCheckLogLevelInfo = 2, + /// The warning log level; equivalent to `OS_LOG_TYPE_DEFAULT`. + GACAppCheckLogLevelWarning = 3, + /// The error log level; equivalent to `OS_LOG_TYPE_ERROR`. + GACAppCheckLogLevelError = 4, + /// The fault log level; equivalent to `OS_LOG_TYPE_FAULT`. + GACAppCheckLogLevelFault = 5 +} NS_SWIFT_NAME(AppCheckCoreLogLevel); + +NS_SWIFT_NAME(AppCheckCoreLogger) +@interface GACAppCheckLogger : NSObject + +/// The current logging level. +/// +/// Messages with levels equal to or higher priority than `logLevel` will be printed, where +/// Fault > Error > Warning > Info > Debug. +@property(class, atomic, assign) GACAppCheckLogLevel logLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckProvider.h new file mode 100644 index 00000000000..437c6128470 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckProvider.h @@ -0,0 +1,47 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// A block to be called before sending API requests. +/// @param request The request that is about to be sent. +typedef void (^GACAppCheckAPIRequestHook)(NSMutableURLRequest *request); + +/// Defines the methods required to be implemented by a specific App Check provider. +NS_SWIFT_NAME(AppCheckCoreProvider) +@protocol GACAppCheckProvider + +/// Returns a new App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new App Check token suitable for consumption in a limited-use scenario. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckSettings.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckSettings.h new file mode 100644 index 00000000000..d0092d82bec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckSettings.h @@ -0,0 +1,33 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A collection of App Check-wide settings and parameters. +NS_SWIFT_NAME(AppCheckCoreSettingsProtocol) +@protocol GACAppCheckSettingsProtocol + +/// If App Check token auto-refresh is enabled. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +@end + +@interface GACAppCheckSettings : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckToken.h new file mode 100644 index 00000000000..29f859e8100 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckToken.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing an App Check token. +NS_SWIFT_NAME(AppCheckCoreToken) +@interface GACAppCheckToken : NSObject + +/// The App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +/// The date when the App Check token was received in the device's local time. +@property(nonatomic, readonly) NSDate *receivedAtDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// Convenience initializer that uses the current device local time to set `receivedAtDate`. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +/// The designated initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +/// @param receivedAtDate A date when the Firebase App Check token was received in the device's +/// local time. +- (instancetype)initWithToken:(NSString *)token + expirationDate:(NSDate *)expirationDate + receivedAtDate:(NSDate *)receivedAtDate NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h new file mode 100644 index 00000000000..ab8fddfc6d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h @@ -0,0 +1,35 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreTokenDelegate) +@protocol GACAppCheckTokenDelegate + +/// Called each time an App Check token is refreshed. +/// +/// @param token The updated App Check token. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +- (void)tokenDidUpdate:(GACAppCheckToken *)token serviceName:(NSString *)serviceName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h new file mode 100644 index 00000000000..86733965cf7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class GACAppCheckToken; + +NS_SWIFT_NAME(AppCheckCoreTokenResult) +@interface GACAppCheckTokenResult : NSObject + +/// An App Check token in the case of success or a placeholder token in the case of a failure. +@property(nonatomic, readonly) GACAppCheckToken *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token; + +- (instancetype)initWithError:(NSError *)error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token + error:(nullable NSError *)error NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h new file mode 100644 index 00000000000..930da7867e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckAvailability.h" +#import "GACAppCheckProvider.h" + +@protocol GACDeviceCheckAPIServiceProtocol; +@protocol GACDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreDeviceCheckProvider) +@interface GACDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDeviceCheckProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Info.plist new file mode 100644 index 00000000000..2dd4bd15ed9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + AppCheckCore + CFBundleIdentifier + org.cocoapods.AppCheckCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCheckCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.0.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Modules/module.modulemap new file mode 100644 index 00000000000..07e35551ae6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64/AppCheckCore.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module AppCheckCore { +umbrella header "AppCheckCore-umbrella.h" +export * +module * { export * } + link framework "Security" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/AppCheckCore b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/AppCheckCore new file mode 120000 index 00000000000..b58ad60c522 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/AppCheckCore @@ -0,0 +1 @@ +Versions/Current/AppCheckCore \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/AppCheckCore b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/AppCheckCore new file mode 100644 index 00000000000..00089084e0d Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/AppCheckCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/AppCheckCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/AppCheckCore-umbrella.h new file mode 100644 index 00000000000..ebd6c96fb41 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/AppCheckCore-umbrella.h @@ -0,0 +1,29 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "AppCheckCore.h" +#import "GACAppAttestProvider.h" +#import "GACAppCheck.h" +#import "GACAppCheckAvailability.h" +#import "GACAppCheckDebugProvider.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" +#import "GACDeviceCheckProvider.h" + +FOUNDATION_EXPORT double AppCheckCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char AppCheckCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/AppCheckCore.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/AppCheckCore.h new file mode 100644 index 00000000000..a0752153244 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/AppCheckCore.h @@ -0,0 +1,33 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheck.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" + +// Debug provider +#import "GACAppCheckDebugProvider.h" + +// DeviceCheck provider +#import "GACDeviceCheckProvider.h" + +// App Attest provider. +#import "GACAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppAttestProvider.h new file mode 100644 index 00000000000..39175bd5209 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppAttestProvider.h @@ -0,0 +1,55 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +#import "GACAppCheckAvailability.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreAppAttestProvider) +@interface GACAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key, if needed, or nil. +/// @param accessGroup The Keychain Access Group. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppAttestProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(nullable NSString *)APIKey + keychainAccessGroup:(nullable NSString *)accessGroup + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheck.h new file mode 100644 index 00000000000..0c953ff8e63 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheck.h @@ -0,0 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol GACAppCheckProvider; +@protocol GACAppCheckSettingsProtocol; +@protocol GACAppCheckTokenDelegate; +@class GACAppCheckToken; +@class GACAppCheckTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreProtocol) @protocol GACAppCheckProtocol + +/// Requests an App Check token. +/// +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion:(void (^)(GACAppCheckTokenResult *result))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Retrieve a new limited-use App Check token +/// +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +/// +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)limitedUseTokenWithCompletion:(void (^)(GACAppCheckTokenResult *result))handler; + +@end + +/// A class used to manage App Check tokens for a given resource. +NS_SWIFT_NAME(AppCheckCore) +@interface GACAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns an instance of `AppCheck` for an application. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param appCheckProvider An object that provides App Check tokens. +/// @param settings An object that provides App Check settings. +/// @param tokenDelegate A delegate that receives token update notifications. +/// @param accessGroup The identifier for a keychain group that the app shares items with; if +/// provided, requires the Keychain Access Groups Entitlement. +/// @return An instance of `AppCheckCore` with the specified token provider. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + appCheckProvider:(id)appCheckProvider + settings:(id)settings + tokenDelegate:(nullable id)tokenDelegate + keychainAccessGroup:(nullable NSString *)accessGroup; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckAvailability.h new file mode 100644 index 00000000000..f64ca430897 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckAvailability.h @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// `DeviceCheckProvider` availability. +#define GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// `AppAttestProvider` availability annotations +#define GAC_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckDebugProvider.h new file mode 100644 index 00000000000..9a1deceaace --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckDebugProvider.h @@ -0,0 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An App Check provider that can exchange a debug token registered in the Firebase console for an +/// App Check token. The debug provider is designed to enable testing applications on a simulator or +/// in a test environment. +/// +/// NOTE: Do not use the debug provider in production applications used by real users. +/// +/// WARNING: Keep the App Check debug token secret. If you accidentally share one (e.g., commit it +/// to a public source repository), remove it in the Firebase console ASAP. +/// +/// To use `AppCheckCoreDebugProvider` on a local simulator: +/// 1. Launch the app. A local debug token will be logged when the `AppCheckCoreDebugProvider` is +/// instantiated. For example: +/// "[AppCheckCore][I-GAC004001] App Check debug token: 'AB12C3D4-56EF-789G-01H2-IJ234567K8L9'." +/// 2. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered in the Firebase console, the debug provider will be able to +/// provide a valid App Check token. +/// +/// To use `AppCheckCoreDebugProvider` in a Continuous Integration (CI) environment: +/// 1. Create a new App Check debug token in the Firebase console. +/// 2. Add the debug token to the secure storage of your build environment. E.g., see +/// [Encrypted secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for +/// GitHub Actions. +/// 4. Add an environment variable to the scheme with a name `AppCheckDebugToken` and a value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as in environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +NS_SWIFT_NAME(AppCheckCoreDebugProvider) +@interface GACAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDebugProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +/// Returns the locally generated token. +- (NSString *)localDebugToken; + +/// Returns the currently used App Check debug token. +/// +/// The priority of the token used is: +/// 1. The `AppCheckDebugToken` environment variable value +/// 2. The `FIRAAppCheckDebugToken` environment variable value +/// 3. A previously generated token, stored locally on the device +/// 4. A newly generated random token. The generated token will be stored locally for future use +/// +/// @return The currently used App Check debug token. +- (NSString *)currentDebugToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckErrors.h new file mode 100644 index 00000000000..c6d4576aa4d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckErrors.h @@ -0,0 +1,59 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const GACAppCheckErrorDomain NS_SWIFT_NAME(AppCheckCoreErrorDomain); + +typedef NS_ERROR_ENUM(GACAppCheckErrorDomain, GACAppCheckErrorCode){ + /// An unknown or non-actionable error. + GACAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + GACAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + GACAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + GACAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + GACAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckCoreErrorCode); + +#pragma mark - Error Message Codes + +typedef NS_ENUM(NSInteger, GACAppCheckMessageCode) { + GACLoggerAppCheckMessageCodeUnknown = 1001, + + // App Check + GACLoggerAppCheckMessageCodeProviderIsMissing = 2002, + GACLoggerAppCheckMessageCodeUnexpectedHTTPCode = 3001, + + // Debug Provider + GACLoggerAppCheckMessageLocalDebugToken = 4001, + GACLoggerAppCheckMessageEnvironmentVariableDebugToken = 4002, + GACLoggerAppCheckMessageDebugProviderFirebaseEnvironmentVariable = 4003, + GACLoggerAppCheckMessageDebugProviderFailedExchange = 4004, + + // App Attest Provider + GACLoggerAppCheckMessageCodeAppAttestNotSupported = 7001, + GACLoggerAppCheckMessageCodeAttestationRejected = 7002 +} NS_SWIFT_NAME(AppCheckCoreMessageCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckLogger.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckLogger.h new file mode 100644 index 00000000000..cab60ceeb48 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckLogger.h @@ -0,0 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheckErrors.h" + +/// Constants that specify the level of logging to perform in App Check Core. +typedef NS_ENUM(NSInteger, GACAppCheckLogLevel) { + /// The debug log level; equivalent to `OS_LOG_TYPE_DEBUG`. + GACAppCheckLogLevelDebug = 1, + /// The informational log level; equivalent to `OS_LOG_TYPE_INFO`. + GACAppCheckLogLevelInfo = 2, + /// The warning log level; equivalent to `OS_LOG_TYPE_DEFAULT`. + GACAppCheckLogLevelWarning = 3, + /// The error log level; equivalent to `OS_LOG_TYPE_ERROR`. + GACAppCheckLogLevelError = 4, + /// The fault log level; equivalent to `OS_LOG_TYPE_FAULT`. + GACAppCheckLogLevelFault = 5 +} NS_SWIFT_NAME(AppCheckCoreLogLevel); + +NS_SWIFT_NAME(AppCheckCoreLogger) +@interface GACAppCheckLogger : NSObject + +/// The current logging level. +/// +/// Messages with levels equal to or higher priority than `logLevel` will be printed, where +/// Fault > Error > Warning > Info > Debug. +@property(class, atomic, assign) GACAppCheckLogLevel logLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckProvider.h new file mode 100644 index 00000000000..437c6128470 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckProvider.h @@ -0,0 +1,47 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// A block to be called before sending API requests. +/// @param request The request that is about to be sent. +typedef void (^GACAppCheckAPIRequestHook)(NSMutableURLRequest *request); + +/// Defines the methods required to be implemented by a specific App Check provider. +NS_SWIFT_NAME(AppCheckCoreProvider) +@protocol GACAppCheckProvider + +/// Returns a new App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new App Check token suitable for consumption in a limited-use scenario. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckSettings.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckSettings.h new file mode 100644 index 00000000000..d0092d82bec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckSettings.h @@ -0,0 +1,33 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A collection of App Check-wide settings and parameters. +NS_SWIFT_NAME(AppCheckCoreSettingsProtocol) +@protocol GACAppCheckSettingsProtocol + +/// If App Check token auto-refresh is enabled. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +@end + +@interface GACAppCheckSettings : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckToken.h new file mode 100644 index 00000000000..29f859e8100 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckToken.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing an App Check token. +NS_SWIFT_NAME(AppCheckCoreToken) +@interface GACAppCheckToken : NSObject + +/// The App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +/// The date when the App Check token was received in the device's local time. +@property(nonatomic, readonly) NSDate *receivedAtDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// Convenience initializer that uses the current device local time to set `receivedAtDate`. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +/// The designated initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +/// @param receivedAtDate A date when the Firebase App Check token was received in the device's +/// local time. +- (instancetype)initWithToken:(NSString *)token + expirationDate:(NSDate *)expirationDate + receivedAtDate:(NSDate *)receivedAtDate NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckTokenDelegate.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckTokenDelegate.h new file mode 100644 index 00000000000..ab8fddfc6d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckTokenDelegate.h @@ -0,0 +1,35 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreTokenDelegate) +@protocol GACAppCheckTokenDelegate + +/// Called each time an App Check token is refreshed. +/// +/// @param token The updated App Check token. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +- (void)tokenDidUpdate:(GACAppCheckToken *)token serviceName:(NSString *)serviceName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckTokenResult.h new file mode 100644 index 00000000000..86733965cf7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACAppCheckTokenResult.h @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class GACAppCheckToken; + +NS_SWIFT_NAME(AppCheckCoreTokenResult) +@interface GACAppCheckTokenResult : NSObject + +/// An App Check token in the case of success or a placeholder token in the case of a failure. +@property(nonatomic, readonly) GACAppCheckToken *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token; + +- (instancetype)initWithError:(NSError *)error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token + error:(nullable NSError *)error NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACDeviceCheckProvider.h new file mode 100644 index 00000000000..930da7867e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Headers/GACDeviceCheckProvider.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckAvailability.h" +#import "GACAppCheckProvider.h" + +@protocol GACDeviceCheckAPIServiceProtocol; +@protocol GACDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreDeviceCheckProvider) +@interface GACDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDeviceCheckProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..07e35551ae6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module AppCheckCore { +umbrella header "AppCheckCore-umbrella.h" +export * +module * { export * } + link framework "Security" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..d8da226fd4f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + AppCheckCore + CFBundleIdentifier + org.cocoapods.AppCheckCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCheckCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.0.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-maccatalyst/AppCheckCore.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/AppCheckCore b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/AppCheckCore new file mode 100644 index 00000000000..85f17f69aa7 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/AppCheckCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h new file mode 100644 index 00000000000..ebd6c96fb41 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h @@ -0,0 +1,29 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "AppCheckCore.h" +#import "GACAppAttestProvider.h" +#import "GACAppCheck.h" +#import "GACAppCheckAvailability.h" +#import "GACAppCheckDebugProvider.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" +#import "GACDeviceCheckProvider.h" + +FOUNDATION_EXPORT double AppCheckCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char AppCheckCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore.h new file mode 100644 index 00000000000..a0752153244 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore.h @@ -0,0 +1,33 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheck.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" + +// Debug provider +#import "GACAppCheckDebugProvider.h" + +// DeviceCheck provider +#import "GACDeviceCheckProvider.h" + +// App Attest provider. +#import "GACAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppAttestProvider.h new file mode 100644 index 00000000000..39175bd5209 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppAttestProvider.h @@ -0,0 +1,55 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +#import "GACAppCheckAvailability.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreAppAttestProvider) +@interface GACAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key, if needed, or nil. +/// @param accessGroup The Keychain Access Group. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppAttestProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(nullable NSString *)APIKey + keychainAccessGroup:(nullable NSString *)accessGroup + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheck.h new file mode 100644 index 00000000000..0c953ff8e63 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheck.h @@ -0,0 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol GACAppCheckProvider; +@protocol GACAppCheckSettingsProtocol; +@protocol GACAppCheckTokenDelegate; +@class GACAppCheckToken; +@class GACAppCheckTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreProtocol) @protocol GACAppCheckProtocol + +/// Requests an App Check token. +/// +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion:(void (^)(GACAppCheckTokenResult *result))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Retrieve a new limited-use App Check token +/// +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +/// +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)limitedUseTokenWithCompletion:(void (^)(GACAppCheckTokenResult *result))handler; + +@end + +/// A class used to manage App Check tokens for a given resource. +NS_SWIFT_NAME(AppCheckCore) +@interface GACAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns an instance of `AppCheck` for an application. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param appCheckProvider An object that provides App Check tokens. +/// @param settings An object that provides App Check settings. +/// @param tokenDelegate A delegate that receives token update notifications. +/// @param accessGroup The identifier for a keychain group that the app shares items with; if +/// provided, requires the Keychain Access Groups Entitlement. +/// @return An instance of `AppCheckCore` with the specified token provider. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + appCheckProvider:(id)appCheckProvider + settings:(id)settings + tokenDelegate:(nullable id)tokenDelegate + keychainAccessGroup:(nullable NSString *)accessGroup; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckAvailability.h new file mode 100644 index 00000000000..f64ca430897 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckAvailability.h @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// `DeviceCheckProvider` availability. +#define GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// `AppAttestProvider` availability annotations +#define GAC_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h new file mode 100644 index 00000000000..9a1deceaace --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h @@ -0,0 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An App Check provider that can exchange a debug token registered in the Firebase console for an +/// App Check token. The debug provider is designed to enable testing applications on a simulator or +/// in a test environment. +/// +/// NOTE: Do not use the debug provider in production applications used by real users. +/// +/// WARNING: Keep the App Check debug token secret. If you accidentally share one (e.g., commit it +/// to a public source repository), remove it in the Firebase console ASAP. +/// +/// To use `AppCheckCoreDebugProvider` on a local simulator: +/// 1. Launch the app. A local debug token will be logged when the `AppCheckCoreDebugProvider` is +/// instantiated. For example: +/// "[AppCheckCore][I-GAC004001] App Check debug token: 'AB12C3D4-56EF-789G-01H2-IJ234567K8L9'." +/// 2. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered in the Firebase console, the debug provider will be able to +/// provide a valid App Check token. +/// +/// To use `AppCheckCoreDebugProvider` in a Continuous Integration (CI) environment: +/// 1. Create a new App Check debug token in the Firebase console. +/// 2. Add the debug token to the secure storage of your build environment. E.g., see +/// [Encrypted secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for +/// GitHub Actions. +/// 4. Add an environment variable to the scheme with a name `AppCheckDebugToken` and a value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as in environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +NS_SWIFT_NAME(AppCheckCoreDebugProvider) +@interface GACAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDebugProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +/// Returns the locally generated token. +- (NSString *)localDebugToken; + +/// Returns the currently used App Check debug token. +/// +/// The priority of the token used is: +/// 1. The `AppCheckDebugToken` environment variable value +/// 2. The `FIRAAppCheckDebugToken` environment variable value +/// 3. A previously generated token, stored locally on the device +/// 4. A newly generated random token. The generated token will be stored locally for future use +/// +/// @return The currently used App Check debug token. +- (NSString *)currentDebugToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckErrors.h new file mode 100644 index 00000000000..c6d4576aa4d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckErrors.h @@ -0,0 +1,59 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const GACAppCheckErrorDomain NS_SWIFT_NAME(AppCheckCoreErrorDomain); + +typedef NS_ERROR_ENUM(GACAppCheckErrorDomain, GACAppCheckErrorCode){ + /// An unknown or non-actionable error. + GACAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + GACAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + GACAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + GACAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + GACAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckCoreErrorCode); + +#pragma mark - Error Message Codes + +typedef NS_ENUM(NSInteger, GACAppCheckMessageCode) { + GACLoggerAppCheckMessageCodeUnknown = 1001, + + // App Check + GACLoggerAppCheckMessageCodeProviderIsMissing = 2002, + GACLoggerAppCheckMessageCodeUnexpectedHTTPCode = 3001, + + // Debug Provider + GACLoggerAppCheckMessageLocalDebugToken = 4001, + GACLoggerAppCheckMessageEnvironmentVariableDebugToken = 4002, + GACLoggerAppCheckMessageDebugProviderFirebaseEnvironmentVariable = 4003, + GACLoggerAppCheckMessageDebugProviderFailedExchange = 4004, + + // App Attest Provider + GACLoggerAppCheckMessageCodeAppAttestNotSupported = 7001, + GACLoggerAppCheckMessageCodeAttestationRejected = 7002 +} NS_SWIFT_NAME(AppCheckCoreMessageCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckLogger.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckLogger.h new file mode 100644 index 00000000000..cab60ceeb48 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckLogger.h @@ -0,0 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheckErrors.h" + +/// Constants that specify the level of logging to perform in App Check Core. +typedef NS_ENUM(NSInteger, GACAppCheckLogLevel) { + /// The debug log level; equivalent to `OS_LOG_TYPE_DEBUG`. + GACAppCheckLogLevelDebug = 1, + /// The informational log level; equivalent to `OS_LOG_TYPE_INFO`. + GACAppCheckLogLevelInfo = 2, + /// The warning log level; equivalent to `OS_LOG_TYPE_DEFAULT`. + GACAppCheckLogLevelWarning = 3, + /// The error log level; equivalent to `OS_LOG_TYPE_ERROR`. + GACAppCheckLogLevelError = 4, + /// The fault log level; equivalent to `OS_LOG_TYPE_FAULT`. + GACAppCheckLogLevelFault = 5 +} NS_SWIFT_NAME(AppCheckCoreLogLevel); + +NS_SWIFT_NAME(AppCheckCoreLogger) +@interface GACAppCheckLogger : NSObject + +/// The current logging level. +/// +/// Messages with levels equal to or higher priority than `logLevel` will be printed, where +/// Fault > Error > Warning > Info > Debug. +@property(class, atomic, assign) GACAppCheckLogLevel logLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckProvider.h new file mode 100644 index 00000000000..437c6128470 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckProvider.h @@ -0,0 +1,47 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// A block to be called before sending API requests. +/// @param request The request that is about to be sent. +typedef void (^GACAppCheckAPIRequestHook)(NSMutableURLRequest *request); + +/// Defines the methods required to be implemented by a specific App Check provider. +NS_SWIFT_NAME(AppCheckCoreProvider) +@protocol GACAppCheckProvider + +/// Returns a new App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new App Check token suitable for consumption in a limited-use scenario. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckSettings.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckSettings.h new file mode 100644 index 00000000000..d0092d82bec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckSettings.h @@ -0,0 +1,33 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A collection of App Check-wide settings and parameters. +NS_SWIFT_NAME(AppCheckCoreSettingsProtocol) +@protocol GACAppCheckSettingsProtocol + +/// If App Check token auto-refresh is enabled. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +@end + +@interface GACAppCheckSettings : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckToken.h new file mode 100644 index 00000000000..29f859e8100 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckToken.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing an App Check token. +NS_SWIFT_NAME(AppCheckCoreToken) +@interface GACAppCheckToken : NSObject + +/// The App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +/// The date when the App Check token was received in the device's local time. +@property(nonatomic, readonly) NSDate *receivedAtDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// Convenience initializer that uses the current device local time to set `receivedAtDate`. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +/// The designated initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +/// @param receivedAtDate A date when the Firebase App Check token was received in the device's +/// local time. +- (instancetype)initWithToken:(NSString *)token + expirationDate:(NSDate *)expirationDate + receivedAtDate:(NSDate *)receivedAtDate NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h new file mode 100644 index 00000000000..ab8fddfc6d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h @@ -0,0 +1,35 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreTokenDelegate) +@protocol GACAppCheckTokenDelegate + +/// Called each time an App Check token is refreshed. +/// +/// @param token The updated App Check token. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +- (void)tokenDidUpdate:(GACAppCheckToken *)token serviceName:(NSString *)serviceName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h new file mode 100644 index 00000000000..86733965cf7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class GACAppCheckToken; + +NS_SWIFT_NAME(AppCheckCoreTokenResult) +@interface GACAppCheckTokenResult : NSObject + +/// An App Check token in the case of success or a placeholder token in the case of a failure. +@property(nonatomic, readonly) GACAppCheckToken *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token; + +- (instancetype)initWithError:(NSError *)error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token + error:(nullable NSError *)error NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h new file mode 100644 index 00000000000..930da7867e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckAvailability.h" +#import "GACAppCheckProvider.h" + +@protocol GACDeviceCheckAPIServiceProtocol; +@protocol GACDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreDeviceCheckProvider) +@interface GACDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDeviceCheckProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Info.plist new file mode 100644 index 00000000000..b940a57f262 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + AppCheckCore + CFBundleIdentifier + org.cocoapods.AppCheckCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCheckCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.0.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Modules/module.modulemap new file mode 100644 index 00000000000..07e35551ae6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/ios-arm64_x86_64-simulator/AppCheckCore.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module AppCheckCore { +umbrella header "AppCheckCore-umbrella.h" +export * +module * { export * } + link framework "Security" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/AppCheckCore b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/AppCheckCore new file mode 120000 index 00000000000..b58ad60c522 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/AppCheckCore @@ -0,0 +1 @@ +Versions/Current/AppCheckCore \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/AppCheckCore b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/AppCheckCore new file mode 100644 index 00000000000..e150acb4de4 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/AppCheckCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/AppCheckCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/AppCheckCore-umbrella.h new file mode 100644 index 00000000000..0670d0ebab4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/AppCheckCore-umbrella.h @@ -0,0 +1,29 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "AppCheckCore.h" +#import "GACAppAttestProvider.h" +#import "GACAppCheck.h" +#import "GACAppCheckAvailability.h" +#import "GACAppCheckDebugProvider.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" +#import "GACDeviceCheckProvider.h" + +FOUNDATION_EXPORT double AppCheckCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char AppCheckCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/AppCheckCore.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/AppCheckCore.h new file mode 100644 index 00000000000..a0752153244 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/AppCheckCore.h @@ -0,0 +1,33 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheck.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" + +// Debug provider +#import "GACAppCheckDebugProvider.h" + +// DeviceCheck provider +#import "GACDeviceCheckProvider.h" + +// App Attest provider. +#import "GACAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppAttestProvider.h new file mode 100644 index 00000000000..39175bd5209 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppAttestProvider.h @@ -0,0 +1,55 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +#import "GACAppCheckAvailability.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreAppAttestProvider) +@interface GACAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key, if needed, or nil. +/// @param accessGroup The Keychain Access Group. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppAttestProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(nullable NSString *)APIKey + keychainAccessGroup:(nullable NSString *)accessGroup + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheck.h new file mode 100644 index 00000000000..0c953ff8e63 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheck.h @@ -0,0 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol GACAppCheckProvider; +@protocol GACAppCheckSettingsProtocol; +@protocol GACAppCheckTokenDelegate; +@class GACAppCheckToken; +@class GACAppCheckTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreProtocol) @protocol GACAppCheckProtocol + +/// Requests an App Check token. +/// +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion:(void (^)(GACAppCheckTokenResult *result))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Retrieve a new limited-use App Check token +/// +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +/// +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)limitedUseTokenWithCompletion:(void (^)(GACAppCheckTokenResult *result))handler; + +@end + +/// A class used to manage App Check tokens for a given resource. +NS_SWIFT_NAME(AppCheckCore) +@interface GACAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns an instance of `AppCheck` for an application. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param appCheckProvider An object that provides App Check tokens. +/// @param settings An object that provides App Check settings. +/// @param tokenDelegate A delegate that receives token update notifications. +/// @param accessGroup The identifier for a keychain group that the app shares items with; if +/// provided, requires the Keychain Access Groups Entitlement. +/// @return An instance of `AppCheckCore` with the specified token provider. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + appCheckProvider:(id)appCheckProvider + settings:(id)settings + tokenDelegate:(nullable id)tokenDelegate + keychainAccessGroup:(nullable NSString *)accessGroup; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckAvailability.h new file mode 100644 index 00000000000..f64ca430897 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckAvailability.h @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// `DeviceCheckProvider` availability. +#define GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// `AppAttestProvider` availability annotations +#define GAC_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckDebugProvider.h new file mode 100644 index 00000000000..9a1deceaace --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckDebugProvider.h @@ -0,0 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An App Check provider that can exchange a debug token registered in the Firebase console for an +/// App Check token. The debug provider is designed to enable testing applications on a simulator or +/// in a test environment. +/// +/// NOTE: Do not use the debug provider in production applications used by real users. +/// +/// WARNING: Keep the App Check debug token secret. If you accidentally share one (e.g., commit it +/// to a public source repository), remove it in the Firebase console ASAP. +/// +/// To use `AppCheckCoreDebugProvider` on a local simulator: +/// 1. Launch the app. A local debug token will be logged when the `AppCheckCoreDebugProvider` is +/// instantiated. For example: +/// "[AppCheckCore][I-GAC004001] App Check debug token: 'AB12C3D4-56EF-789G-01H2-IJ234567K8L9'." +/// 2. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered in the Firebase console, the debug provider will be able to +/// provide a valid App Check token. +/// +/// To use `AppCheckCoreDebugProvider` in a Continuous Integration (CI) environment: +/// 1. Create a new App Check debug token in the Firebase console. +/// 2. Add the debug token to the secure storage of your build environment. E.g., see +/// [Encrypted secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for +/// GitHub Actions. +/// 4. Add an environment variable to the scheme with a name `AppCheckDebugToken` and a value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as in environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +NS_SWIFT_NAME(AppCheckCoreDebugProvider) +@interface GACAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDebugProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +/// Returns the locally generated token. +- (NSString *)localDebugToken; + +/// Returns the currently used App Check debug token. +/// +/// The priority of the token used is: +/// 1. The `AppCheckDebugToken` environment variable value +/// 2. The `FIRAAppCheckDebugToken` environment variable value +/// 3. A previously generated token, stored locally on the device +/// 4. A newly generated random token. The generated token will be stored locally for future use +/// +/// @return The currently used App Check debug token. +- (NSString *)currentDebugToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckErrors.h new file mode 100644 index 00000000000..c6d4576aa4d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckErrors.h @@ -0,0 +1,59 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const GACAppCheckErrorDomain NS_SWIFT_NAME(AppCheckCoreErrorDomain); + +typedef NS_ERROR_ENUM(GACAppCheckErrorDomain, GACAppCheckErrorCode){ + /// An unknown or non-actionable error. + GACAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + GACAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + GACAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + GACAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + GACAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckCoreErrorCode); + +#pragma mark - Error Message Codes + +typedef NS_ENUM(NSInteger, GACAppCheckMessageCode) { + GACLoggerAppCheckMessageCodeUnknown = 1001, + + // App Check + GACLoggerAppCheckMessageCodeProviderIsMissing = 2002, + GACLoggerAppCheckMessageCodeUnexpectedHTTPCode = 3001, + + // Debug Provider + GACLoggerAppCheckMessageLocalDebugToken = 4001, + GACLoggerAppCheckMessageEnvironmentVariableDebugToken = 4002, + GACLoggerAppCheckMessageDebugProviderFirebaseEnvironmentVariable = 4003, + GACLoggerAppCheckMessageDebugProviderFailedExchange = 4004, + + // App Attest Provider + GACLoggerAppCheckMessageCodeAppAttestNotSupported = 7001, + GACLoggerAppCheckMessageCodeAttestationRejected = 7002 +} NS_SWIFT_NAME(AppCheckCoreMessageCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckLogger.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckLogger.h new file mode 100644 index 00000000000..cab60ceeb48 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckLogger.h @@ -0,0 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheckErrors.h" + +/// Constants that specify the level of logging to perform in App Check Core. +typedef NS_ENUM(NSInteger, GACAppCheckLogLevel) { + /// The debug log level; equivalent to `OS_LOG_TYPE_DEBUG`. + GACAppCheckLogLevelDebug = 1, + /// The informational log level; equivalent to `OS_LOG_TYPE_INFO`. + GACAppCheckLogLevelInfo = 2, + /// The warning log level; equivalent to `OS_LOG_TYPE_DEFAULT`. + GACAppCheckLogLevelWarning = 3, + /// The error log level; equivalent to `OS_LOG_TYPE_ERROR`. + GACAppCheckLogLevelError = 4, + /// The fault log level; equivalent to `OS_LOG_TYPE_FAULT`. + GACAppCheckLogLevelFault = 5 +} NS_SWIFT_NAME(AppCheckCoreLogLevel); + +NS_SWIFT_NAME(AppCheckCoreLogger) +@interface GACAppCheckLogger : NSObject + +/// The current logging level. +/// +/// Messages with levels equal to or higher priority than `logLevel` will be printed, where +/// Fault > Error > Warning > Info > Debug. +@property(class, atomic, assign) GACAppCheckLogLevel logLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckProvider.h new file mode 100644 index 00000000000..437c6128470 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckProvider.h @@ -0,0 +1,47 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// A block to be called before sending API requests. +/// @param request The request that is about to be sent. +typedef void (^GACAppCheckAPIRequestHook)(NSMutableURLRequest *request); + +/// Defines the methods required to be implemented by a specific App Check provider. +NS_SWIFT_NAME(AppCheckCoreProvider) +@protocol GACAppCheckProvider + +/// Returns a new App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new App Check token suitable for consumption in a limited-use scenario. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckSettings.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckSettings.h new file mode 100644 index 00000000000..d0092d82bec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckSettings.h @@ -0,0 +1,33 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A collection of App Check-wide settings and parameters. +NS_SWIFT_NAME(AppCheckCoreSettingsProtocol) +@protocol GACAppCheckSettingsProtocol + +/// If App Check token auto-refresh is enabled. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +@end + +@interface GACAppCheckSettings : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckToken.h new file mode 100644 index 00000000000..29f859e8100 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckToken.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing an App Check token. +NS_SWIFT_NAME(AppCheckCoreToken) +@interface GACAppCheckToken : NSObject + +/// The App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +/// The date when the App Check token was received in the device's local time. +@property(nonatomic, readonly) NSDate *receivedAtDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// Convenience initializer that uses the current device local time to set `receivedAtDate`. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +/// The designated initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +/// @param receivedAtDate A date when the Firebase App Check token was received in the device's +/// local time. +- (instancetype)initWithToken:(NSString *)token + expirationDate:(NSDate *)expirationDate + receivedAtDate:(NSDate *)receivedAtDate NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckTokenDelegate.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckTokenDelegate.h new file mode 100644 index 00000000000..ab8fddfc6d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckTokenDelegate.h @@ -0,0 +1,35 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreTokenDelegate) +@protocol GACAppCheckTokenDelegate + +/// Called each time an App Check token is refreshed. +/// +/// @param token The updated App Check token. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +- (void)tokenDidUpdate:(GACAppCheckToken *)token serviceName:(NSString *)serviceName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckTokenResult.h new file mode 100644 index 00000000000..86733965cf7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACAppCheckTokenResult.h @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class GACAppCheckToken; + +NS_SWIFT_NAME(AppCheckCoreTokenResult) +@interface GACAppCheckTokenResult : NSObject + +/// An App Check token in the case of success or a placeholder token in the case of a failure. +@property(nonatomic, readonly) GACAppCheckToken *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token; + +- (instancetype)initWithError:(NSError *)error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token + error:(nullable NSError *)error NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACDeviceCheckProvider.h new file mode 100644 index 00000000000..930da7867e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Headers/GACDeviceCheckProvider.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckAvailability.h" +#import "GACAppCheckProvider.h" + +@protocol GACDeviceCheckAPIServiceProtocol; +@protocol GACDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreDeviceCheckProvider) +@interface GACDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDeviceCheckProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..07e35551ae6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module AppCheckCore { +umbrella header "AppCheckCore-umbrella.h" +export * +module * { export * } + link framework "Security" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..182d478a7bc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + AppCheckCore + CFBundleIdentifier + org.cocoapods.AppCheckCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCheckCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.0.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/macos-arm64_x86_64/AppCheckCore.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/AppCheckCore b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/AppCheckCore new file mode 100644 index 00000000000..32994e7a0c9 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/AppCheckCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h new file mode 100644 index 00000000000..ebd6c96fb41 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h @@ -0,0 +1,29 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "AppCheckCore.h" +#import "GACAppAttestProvider.h" +#import "GACAppCheck.h" +#import "GACAppCheckAvailability.h" +#import "GACAppCheckDebugProvider.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" +#import "GACDeviceCheckProvider.h" + +FOUNDATION_EXPORT double AppCheckCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char AppCheckCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/AppCheckCore.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/AppCheckCore.h new file mode 100644 index 00000000000..a0752153244 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/AppCheckCore.h @@ -0,0 +1,33 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheck.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" + +// Debug provider +#import "GACAppCheckDebugProvider.h" + +// DeviceCheck provider +#import "GACDeviceCheckProvider.h" + +// App Attest provider. +#import "GACAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppAttestProvider.h new file mode 100644 index 00000000000..39175bd5209 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppAttestProvider.h @@ -0,0 +1,55 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +#import "GACAppCheckAvailability.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreAppAttestProvider) +@interface GACAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key, if needed, or nil. +/// @param accessGroup The Keychain Access Group. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppAttestProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(nullable NSString *)APIKey + keychainAccessGroup:(nullable NSString *)accessGroup + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheck.h new file mode 100644 index 00000000000..0c953ff8e63 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheck.h @@ -0,0 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol GACAppCheckProvider; +@protocol GACAppCheckSettingsProtocol; +@protocol GACAppCheckTokenDelegate; +@class GACAppCheckToken; +@class GACAppCheckTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreProtocol) @protocol GACAppCheckProtocol + +/// Requests an App Check token. +/// +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion:(void (^)(GACAppCheckTokenResult *result))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Retrieve a new limited-use App Check token +/// +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +/// +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)limitedUseTokenWithCompletion:(void (^)(GACAppCheckTokenResult *result))handler; + +@end + +/// A class used to manage App Check tokens for a given resource. +NS_SWIFT_NAME(AppCheckCore) +@interface GACAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns an instance of `AppCheck` for an application. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param appCheckProvider An object that provides App Check tokens. +/// @param settings An object that provides App Check settings. +/// @param tokenDelegate A delegate that receives token update notifications. +/// @param accessGroup The identifier for a keychain group that the app shares items with; if +/// provided, requires the Keychain Access Groups Entitlement. +/// @return An instance of `AppCheckCore` with the specified token provider. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + appCheckProvider:(id)appCheckProvider + settings:(id)settings + tokenDelegate:(nullable id)tokenDelegate + keychainAccessGroup:(nullable NSString *)accessGroup; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckAvailability.h new file mode 100644 index 00000000000..f64ca430897 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckAvailability.h @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// `DeviceCheckProvider` availability. +#define GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// `AppAttestProvider` availability annotations +#define GAC_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h new file mode 100644 index 00000000000..9a1deceaace --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h @@ -0,0 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An App Check provider that can exchange a debug token registered in the Firebase console for an +/// App Check token. The debug provider is designed to enable testing applications on a simulator or +/// in a test environment. +/// +/// NOTE: Do not use the debug provider in production applications used by real users. +/// +/// WARNING: Keep the App Check debug token secret. If you accidentally share one (e.g., commit it +/// to a public source repository), remove it in the Firebase console ASAP. +/// +/// To use `AppCheckCoreDebugProvider` on a local simulator: +/// 1. Launch the app. A local debug token will be logged when the `AppCheckCoreDebugProvider` is +/// instantiated. For example: +/// "[AppCheckCore][I-GAC004001] App Check debug token: 'AB12C3D4-56EF-789G-01H2-IJ234567K8L9'." +/// 2. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered in the Firebase console, the debug provider will be able to +/// provide a valid App Check token. +/// +/// To use `AppCheckCoreDebugProvider` in a Continuous Integration (CI) environment: +/// 1. Create a new App Check debug token in the Firebase console. +/// 2. Add the debug token to the secure storage of your build environment. E.g., see +/// [Encrypted secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for +/// GitHub Actions. +/// 4. Add an environment variable to the scheme with a name `AppCheckDebugToken` and a value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as in environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +NS_SWIFT_NAME(AppCheckCoreDebugProvider) +@interface GACAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDebugProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +/// Returns the locally generated token. +- (NSString *)localDebugToken; + +/// Returns the currently used App Check debug token. +/// +/// The priority of the token used is: +/// 1. The `AppCheckDebugToken` environment variable value +/// 2. The `FIRAAppCheckDebugToken` environment variable value +/// 3. A previously generated token, stored locally on the device +/// 4. A newly generated random token. The generated token will be stored locally for future use +/// +/// @return The currently used App Check debug token. +- (NSString *)currentDebugToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckErrors.h new file mode 100644 index 00000000000..c6d4576aa4d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckErrors.h @@ -0,0 +1,59 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const GACAppCheckErrorDomain NS_SWIFT_NAME(AppCheckCoreErrorDomain); + +typedef NS_ERROR_ENUM(GACAppCheckErrorDomain, GACAppCheckErrorCode){ + /// An unknown or non-actionable error. + GACAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + GACAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + GACAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + GACAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + GACAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckCoreErrorCode); + +#pragma mark - Error Message Codes + +typedef NS_ENUM(NSInteger, GACAppCheckMessageCode) { + GACLoggerAppCheckMessageCodeUnknown = 1001, + + // App Check + GACLoggerAppCheckMessageCodeProviderIsMissing = 2002, + GACLoggerAppCheckMessageCodeUnexpectedHTTPCode = 3001, + + // Debug Provider + GACLoggerAppCheckMessageLocalDebugToken = 4001, + GACLoggerAppCheckMessageEnvironmentVariableDebugToken = 4002, + GACLoggerAppCheckMessageDebugProviderFirebaseEnvironmentVariable = 4003, + GACLoggerAppCheckMessageDebugProviderFailedExchange = 4004, + + // App Attest Provider + GACLoggerAppCheckMessageCodeAppAttestNotSupported = 7001, + GACLoggerAppCheckMessageCodeAttestationRejected = 7002 +} NS_SWIFT_NAME(AppCheckCoreMessageCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckLogger.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckLogger.h new file mode 100644 index 00000000000..cab60ceeb48 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckLogger.h @@ -0,0 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheckErrors.h" + +/// Constants that specify the level of logging to perform in App Check Core. +typedef NS_ENUM(NSInteger, GACAppCheckLogLevel) { + /// The debug log level; equivalent to `OS_LOG_TYPE_DEBUG`. + GACAppCheckLogLevelDebug = 1, + /// The informational log level; equivalent to `OS_LOG_TYPE_INFO`. + GACAppCheckLogLevelInfo = 2, + /// The warning log level; equivalent to `OS_LOG_TYPE_DEFAULT`. + GACAppCheckLogLevelWarning = 3, + /// The error log level; equivalent to `OS_LOG_TYPE_ERROR`. + GACAppCheckLogLevelError = 4, + /// The fault log level; equivalent to `OS_LOG_TYPE_FAULT`. + GACAppCheckLogLevelFault = 5 +} NS_SWIFT_NAME(AppCheckCoreLogLevel); + +NS_SWIFT_NAME(AppCheckCoreLogger) +@interface GACAppCheckLogger : NSObject + +/// The current logging level. +/// +/// Messages with levels equal to or higher priority than `logLevel` will be printed, where +/// Fault > Error > Warning > Info > Debug. +@property(class, atomic, assign) GACAppCheckLogLevel logLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckProvider.h new file mode 100644 index 00000000000..437c6128470 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckProvider.h @@ -0,0 +1,47 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// A block to be called before sending API requests. +/// @param request The request that is about to be sent. +typedef void (^GACAppCheckAPIRequestHook)(NSMutableURLRequest *request); + +/// Defines the methods required to be implemented by a specific App Check provider. +NS_SWIFT_NAME(AppCheckCoreProvider) +@protocol GACAppCheckProvider + +/// Returns a new App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new App Check token suitable for consumption in a limited-use scenario. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckSettings.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckSettings.h new file mode 100644 index 00000000000..d0092d82bec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckSettings.h @@ -0,0 +1,33 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A collection of App Check-wide settings and parameters. +NS_SWIFT_NAME(AppCheckCoreSettingsProtocol) +@protocol GACAppCheckSettingsProtocol + +/// If App Check token auto-refresh is enabled. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +@end + +@interface GACAppCheckSettings : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckToken.h new file mode 100644 index 00000000000..29f859e8100 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckToken.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing an App Check token. +NS_SWIFT_NAME(AppCheckCoreToken) +@interface GACAppCheckToken : NSObject + +/// The App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +/// The date when the App Check token was received in the device's local time. +@property(nonatomic, readonly) NSDate *receivedAtDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// Convenience initializer that uses the current device local time to set `receivedAtDate`. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +/// The designated initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +/// @param receivedAtDate A date when the Firebase App Check token was received in the device's +/// local time. +- (instancetype)initWithToken:(NSString *)token + expirationDate:(NSDate *)expirationDate + receivedAtDate:(NSDate *)receivedAtDate NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h new file mode 100644 index 00000000000..ab8fddfc6d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h @@ -0,0 +1,35 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreTokenDelegate) +@protocol GACAppCheckTokenDelegate + +/// Called each time an App Check token is refreshed. +/// +/// @param token The updated App Check token. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +- (void)tokenDidUpdate:(GACAppCheckToken *)token serviceName:(NSString *)serviceName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h new file mode 100644 index 00000000000..86733965cf7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class GACAppCheckToken; + +NS_SWIFT_NAME(AppCheckCoreTokenResult) +@interface GACAppCheckTokenResult : NSObject + +/// An App Check token in the case of success or a placeholder token in the case of a failure. +@property(nonatomic, readonly) GACAppCheckToken *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token; + +- (instancetype)initWithError:(NSError *)error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token + error:(nullable NSError *)error NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h new file mode 100644 index 00000000000..930da7867e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckAvailability.h" +#import "GACAppCheckProvider.h" + +@protocol GACDeviceCheckAPIServiceProtocol; +@protocol GACDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreDeviceCheckProvider) +@interface GACDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDeviceCheckProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Info.plist new file mode 100644 index 00000000000..59b2b6f93d7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + AppCheckCore + CFBundleIdentifier + org.cocoapods.AppCheckCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCheckCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.0.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Modules/module.modulemap new file mode 100644 index 00000000000..07e35551ae6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64/AppCheckCore.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module AppCheckCore { +umbrella header "AppCheckCore-umbrella.h" +export * +module * { export * } + link framework "Security" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/AppCheckCore b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/AppCheckCore new file mode 100644 index 00000000000..31ce3320b87 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/AppCheckCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h new file mode 100644 index 00000000000..ebd6c96fb41 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h @@ -0,0 +1,29 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "AppCheckCore.h" +#import "GACAppAttestProvider.h" +#import "GACAppCheck.h" +#import "GACAppCheckAvailability.h" +#import "GACAppCheckDebugProvider.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" +#import "GACDeviceCheckProvider.h" + +FOUNDATION_EXPORT double AppCheckCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char AppCheckCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore.h new file mode 100644 index 00000000000..a0752153244 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore.h @@ -0,0 +1,33 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheck.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" + +// Debug provider +#import "GACAppCheckDebugProvider.h" + +// DeviceCheck provider +#import "GACDeviceCheckProvider.h" + +// App Attest provider. +#import "GACAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppAttestProvider.h new file mode 100644 index 00000000000..39175bd5209 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppAttestProvider.h @@ -0,0 +1,55 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +#import "GACAppCheckAvailability.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreAppAttestProvider) +@interface GACAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key, if needed, or nil. +/// @param accessGroup The Keychain Access Group. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppAttestProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(nullable NSString *)APIKey + keychainAccessGroup:(nullable NSString *)accessGroup + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheck.h new file mode 100644 index 00000000000..0c953ff8e63 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheck.h @@ -0,0 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol GACAppCheckProvider; +@protocol GACAppCheckSettingsProtocol; +@protocol GACAppCheckTokenDelegate; +@class GACAppCheckToken; +@class GACAppCheckTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreProtocol) @protocol GACAppCheckProtocol + +/// Requests an App Check token. +/// +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion:(void (^)(GACAppCheckTokenResult *result))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Retrieve a new limited-use App Check token +/// +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +/// +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)limitedUseTokenWithCompletion:(void (^)(GACAppCheckTokenResult *result))handler; + +@end + +/// A class used to manage App Check tokens for a given resource. +NS_SWIFT_NAME(AppCheckCore) +@interface GACAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns an instance of `AppCheck` for an application. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param appCheckProvider An object that provides App Check tokens. +/// @param settings An object that provides App Check settings. +/// @param tokenDelegate A delegate that receives token update notifications. +/// @param accessGroup The identifier for a keychain group that the app shares items with; if +/// provided, requires the Keychain Access Groups Entitlement. +/// @return An instance of `AppCheckCore` with the specified token provider. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + appCheckProvider:(id)appCheckProvider + settings:(id)settings + tokenDelegate:(nullable id)tokenDelegate + keychainAccessGroup:(nullable NSString *)accessGroup; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckAvailability.h new file mode 100644 index 00000000000..f64ca430897 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckAvailability.h @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// `DeviceCheckProvider` availability. +#define GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// `AppAttestProvider` availability annotations +#define GAC_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h new file mode 100644 index 00000000000..9a1deceaace --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h @@ -0,0 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An App Check provider that can exchange a debug token registered in the Firebase console for an +/// App Check token. The debug provider is designed to enable testing applications on a simulator or +/// in a test environment. +/// +/// NOTE: Do not use the debug provider in production applications used by real users. +/// +/// WARNING: Keep the App Check debug token secret. If you accidentally share one (e.g., commit it +/// to a public source repository), remove it in the Firebase console ASAP. +/// +/// To use `AppCheckCoreDebugProvider` on a local simulator: +/// 1. Launch the app. A local debug token will be logged when the `AppCheckCoreDebugProvider` is +/// instantiated. For example: +/// "[AppCheckCore][I-GAC004001] App Check debug token: 'AB12C3D4-56EF-789G-01H2-IJ234567K8L9'." +/// 2. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered in the Firebase console, the debug provider will be able to +/// provide a valid App Check token. +/// +/// To use `AppCheckCoreDebugProvider` in a Continuous Integration (CI) environment: +/// 1. Create a new App Check debug token in the Firebase console. +/// 2. Add the debug token to the secure storage of your build environment. E.g., see +/// [Encrypted secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for +/// GitHub Actions. +/// 4. Add an environment variable to the scheme with a name `AppCheckDebugToken` and a value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as in environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +NS_SWIFT_NAME(AppCheckCoreDebugProvider) +@interface GACAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDebugProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +/// Returns the locally generated token. +- (NSString *)localDebugToken; + +/// Returns the currently used App Check debug token. +/// +/// The priority of the token used is: +/// 1. The `AppCheckDebugToken` environment variable value +/// 2. The `FIRAAppCheckDebugToken` environment variable value +/// 3. A previously generated token, stored locally on the device +/// 4. A newly generated random token. The generated token will be stored locally for future use +/// +/// @return The currently used App Check debug token. +- (NSString *)currentDebugToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckErrors.h new file mode 100644 index 00000000000..c6d4576aa4d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckErrors.h @@ -0,0 +1,59 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const GACAppCheckErrorDomain NS_SWIFT_NAME(AppCheckCoreErrorDomain); + +typedef NS_ERROR_ENUM(GACAppCheckErrorDomain, GACAppCheckErrorCode){ + /// An unknown or non-actionable error. + GACAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + GACAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + GACAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + GACAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + GACAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckCoreErrorCode); + +#pragma mark - Error Message Codes + +typedef NS_ENUM(NSInteger, GACAppCheckMessageCode) { + GACLoggerAppCheckMessageCodeUnknown = 1001, + + // App Check + GACLoggerAppCheckMessageCodeProviderIsMissing = 2002, + GACLoggerAppCheckMessageCodeUnexpectedHTTPCode = 3001, + + // Debug Provider + GACLoggerAppCheckMessageLocalDebugToken = 4001, + GACLoggerAppCheckMessageEnvironmentVariableDebugToken = 4002, + GACLoggerAppCheckMessageDebugProviderFirebaseEnvironmentVariable = 4003, + GACLoggerAppCheckMessageDebugProviderFailedExchange = 4004, + + // App Attest Provider + GACLoggerAppCheckMessageCodeAppAttestNotSupported = 7001, + GACLoggerAppCheckMessageCodeAttestationRejected = 7002 +} NS_SWIFT_NAME(AppCheckCoreMessageCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckLogger.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckLogger.h new file mode 100644 index 00000000000..cab60ceeb48 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckLogger.h @@ -0,0 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheckErrors.h" + +/// Constants that specify the level of logging to perform in App Check Core. +typedef NS_ENUM(NSInteger, GACAppCheckLogLevel) { + /// The debug log level; equivalent to `OS_LOG_TYPE_DEBUG`. + GACAppCheckLogLevelDebug = 1, + /// The informational log level; equivalent to `OS_LOG_TYPE_INFO`. + GACAppCheckLogLevelInfo = 2, + /// The warning log level; equivalent to `OS_LOG_TYPE_DEFAULT`. + GACAppCheckLogLevelWarning = 3, + /// The error log level; equivalent to `OS_LOG_TYPE_ERROR`. + GACAppCheckLogLevelError = 4, + /// The fault log level; equivalent to `OS_LOG_TYPE_FAULT`. + GACAppCheckLogLevelFault = 5 +} NS_SWIFT_NAME(AppCheckCoreLogLevel); + +NS_SWIFT_NAME(AppCheckCoreLogger) +@interface GACAppCheckLogger : NSObject + +/// The current logging level. +/// +/// Messages with levels equal to or higher priority than `logLevel` will be printed, where +/// Fault > Error > Warning > Info > Debug. +@property(class, atomic, assign) GACAppCheckLogLevel logLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckProvider.h new file mode 100644 index 00000000000..437c6128470 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckProvider.h @@ -0,0 +1,47 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// A block to be called before sending API requests. +/// @param request The request that is about to be sent. +typedef void (^GACAppCheckAPIRequestHook)(NSMutableURLRequest *request); + +/// Defines the methods required to be implemented by a specific App Check provider. +NS_SWIFT_NAME(AppCheckCoreProvider) +@protocol GACAppCheckProvider + +/// Returns a new App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new App Check token suitable for consumption in a limited-use scenario. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckSettings.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckSettings.h new file mode 100644 index 00000000000..d0092d82bec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckSettings.h @@ -0,0 +1,33 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A collection of App Check-wide settings and parameters. +NS_SWIFT_NAME(AppCheckCoreSettingsProtocol) +@protocol GACAppCheckSettingsProtocol + +/// If App Check token auto-refresh is enabled. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +@end + +@interface GACAppCheckSettings : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckToken.h new file mode 100644 index 00000000000..29f859e8100 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckToken.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing an App Check token. +NS_SWIFT_NAME(AppCheckCoreToken) +@interface GACAppCheckToken : NSObject + +/// The App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +/// The date when the App Check token was received in the device's local time. +@property(nonatomic, readonly) NSDate *receivedAtDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// Convenience initializer that uses the current device local time to set `receivedAtDate`. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +/// The designated initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +/// @param receivedAtDate A date when the Firebase App Check token was received in the device's +/// local time. +- (instancetype)initWithToken:(NSString *)token + expirationDate:(NSDate *)expirationDate + receivedAtDate:(NSDate *)receivedAtDate NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h new file mode 100644 index 00000000000..ab8fddfc6d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h @@ -0,0 +1,35 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreTokenDelegate) +@protocol GACAppCheckTokenDelegate + +/// Called each time an App Check token is refreshed. +/// +/// @param token The updated App Check token. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +- (void)tokenDidUpdate:(GACAppCheckToken *)token serviceName:(NSString *)serviceName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h new file mode 100644 index 00000000000..86733965cf7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class GACAppCheckToken; + +NS_SWIFT_NAME(AppCheckCoreTokenResult) +@interface GACAppCheckTokenResult : NSObject + +/// An App Check token in the case of success or a placeholder token in the case of a failure. +@property(nonatomic, readonly) GACAppCheckToken *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token; + +- (instancetype)initWithError:(NSError *)error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token + error:(nullable NSError *)error NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h new file mode 100644 index 00000000000..930da7867e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckAvailability.h" +#import "GACAppCheckProvider.h" + +@protocol GACDeviceCheckAPIServiceProtocol; +@protocol GACDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreDeviceCheckProvider) +@interface GACDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDeviceCheckProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Info.plist new file mode 100644 index 00000000000..6c0fdde717c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + AppCheckCore + CFBundleIdentifier + org.cocoapods.AppCheckCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCheckCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.0.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Modules/module.modulemap new file mode 100644 index 00000000000..07e35551ae6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/tvos-arm64_x86_64-simulator/AppCheckCore.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module AppCheckCore { +umbrella header "AppCheckCore-umbrella.h" +export * +module * { export * } + link framework "Security" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/AppCheckCore b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/AppCheckCore new file mode 100644 index 00000000000..e8e9a321f52 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/AppCheckCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h new file mode 100644 index 00000000000..4339b763292 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h @@ -0,0 +1,29 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "AppCheckCore.h" +#import "GACAppAttestProvider.h" +#import "GACAppCheck.h" +#import "GACAppCheckAvailability.h" +#import "GACAppCheckDebugProvider.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" +#import "GACDeviceCheckProvider.h" + +FOUNDATION_EXPORT double AppCheckCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char AppCheckCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/AppCheckCore.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/AppCheckCore.h new file mode 100644 index 00000000000..a0752153244 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/AppCheckCore.h @@ -0,0 +1,33 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheck.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" + +// Debug provider +#import "GACAppCheckDebugProvider.h" + +// DeviceCheck provider +#import "GACDeviceCheckProvider.h" + +// App Attest provider. +#import "GACAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppAttestProvider.h new file mode 100644 index 00000000000..39175bd5209 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppAttestProvider.h @@ -0,0 +1,55 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +#import "GACAppCheckAvailability.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreAppAttestProvider) +@interface GACAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key, if needed, or nil. +/// @param accessGroup The Keychain Access Group. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppAttestProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(nullable NSString *)APIKey + keychainAccessGroup:(nullable NSString *)accessGroup + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheck.h new file mode 100644 index 00000000000..0c953ff8e63 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheck.h @@ -0,0 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol GACAppCheckProvider; +@protocol GACAppCheckSettingsProtocol; +@protocol GACAppCheckTokenDelegate; +@class GACAppCheckToken; +@class GACAppCheckTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreProtocol) @protocol GACAppCheckProtocol + +/// Requests an App Check token. +/// +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion:(void (^)(GACAppCheckTokenResult *result))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Retrieve a new limited-use App Check token +/// +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +/// +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)limitedUseTokenWithCompletion:(void (^)(GACAppCheckTokenResult *result))handler; + +@end + +/// A class used to manage App Check tokens for a given resource. +NS_SWIFT_NAME(AppCheckCore) +@interface GACAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns an instance of `AppCheck` for an application. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param appCheckProvider An object that provides App Check tokens. +/// @param settings An object that provides App Check settings. +/// @param tokenDelegate A delegate that receives token update notifications. +/// @param accessGroup The identifier for a keychain group that the app shares items with; if +/// provided, requires the Keychain Access Groups Entitlement. +/// @return An instance of `AppCheckCore` with the specified token provider. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + appCheckProvider:(id)appCheckProvider + settings:(id)settings + tokenDelegate:(nullable id)tokenDelegate + keychainAccessGroup:(nullable NSString *)accessGroup; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckAvailability.h new file mode 100644 index 00000000000..f64ca430897 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckAvailability.h @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// `DeviceCheckProvider` availability. +#define GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// `AppAttestProvider` availability annotations +#define GAC_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h new file mode 100644 index 00000000000..9a1deceaace --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h @@ -0,0 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An App Check provider that can exchange a debug token registered in the Firebase console for an +/// App Check token. The debug provider is designed to enable testing applications on a simulator or +/// in a test environment. +/// +/// NOTE: Do not use the debug provider in production applications used by real users. +/// +/// WARNING: Keep the App Check debug token secret. If you accidentally share one (e.g., commit it +/// to a public source repository), remove it in the Firebase console ASAP. +/// +/// To use `AppCheckCoreDebugProvider` on a local simulator: +/// 1. Launch the app. A local debug token will be logged when the `AppCheckCoreDebugProvider` is +/// instantiated. For example: +/// "[AppCheckCore][I-GAC004001] App Check debug token: 'AB12C3D4-56EF-789G-01H2-IJ234567K8L9'." +/// 2. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered in the Firebase console, the debug provider will be able to +/// provide a valid App Check token. +/// +/// To use `AppCheckCoreDebugProvider` in a Continuous Integration (CI) environment: +/// 1. Create a new App Check debug token in the Firebase console. +/// 2. Add the debug token to the secure storage of your build environment. E.g., see +/// [Encrypted secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for +/// GitHub Actions. +/// 4. Add an environment variable to the scheme with a name `AppCheckDebugToken` and a value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as in environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +NS_SWIFT_NAME(AppCheckCoreDebugProvider) +@interface GACAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDebugProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +/// Returns the locally generated token. +- (NSString *)localDebugToken; + +/// Returns the currently used App Check debug token. +/// +/// The priority of the token used is: +/// 1. The `AppCheckDebugToken` environment variable value +/// 2. The `FIRAAppCheckDebugToken` environment variable value +/// 3. A previously generated token, stored locally on the device +/// 4. A newly generated random token. The generated token will be stored locally for future use +/// +/// @return The currently used App Check debug token. +- (NSString *)currentDebugToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckErrors.h new file mode 100644 index 00000000000..c6d4576aa4d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckErrors.h @@ -0,0 +1,59 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const GACAppCheckErrorDomain NS_SWIFT_NAME(AppCheckCoreErrorDomain); + +typedef NS_ERROR_ENUM(GACAppCheckErrorDomain, GACAppCheckErrorCode){ + /// An unknown or non-actionable error. + GACAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + GACAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + GACAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + GACAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + GACAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckCoreErrorCode); + +#pragma mark - Error Message Codes + +typedef NS_ENUM(NSInteger, GACAppCheckMessageCode) { + GACLoggerAppCheckMessageCodeUnknown = 1001, + + // App Check + GACLoggerAppCheckMessageCodeProviderIsMissing = 2002, + GACLoggerAppCheckMessageCodeUnexpectedHTTPCode = 3001, + + // Debug Provider + GACLoggerAppCheckMessageLocalDebugToken = 4001, + GACLoggerAppCheckMessageEnvironmentVariableDebugToken = 4002, + GACLoggerAppCheckMessageDebugProviderFirebaseEnvironmentVariable = 4003, + GACLoggerAppCheckMessageDebugProviderFailedExchange = 4004, + + // App Attest Provider + GACLoggerAppCheckMessageCodeAppAttestNotSupported = 7001, + GACLoggerAppCheckMessageCodeAttestationRejected = 7002 +} NS_SWIFT_NAME(AppCheckCoreMessageCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckLogger.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckLogger.h new file mode 100644 index 00000000000..cab60ceeb48 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckLogger.h @@ -0,0 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheckErrors.h" + +/// Constants that specify the level of logging to perform in App Check Core. +typedef NS_ENUM(NSInteger, GACAppCheckLogLevel) { + /// The debug log level; equivalent to `OS_LOG_TYPE_DEBUG`. + GACAppCheckLogLevelDebug = 1, + /// The informational log level; equivalent to `OS_LOG_TYPE_INFO`. + GACAppCheckLogLevelInfo = 2, + /// The warning log level; equivalent to `OS_LOG_TYPE_DEFAULT`. + GACAppCheckLogLevelWarning = 3, + /// The error log level; equivalent to `OS_LOG_TYPE_ERROR`. + GACAppCheckLogLevelError = 4, + /// The fault log level; equivalent to `OS_LOG_TYPE_FAULT`. + GACAppCheckLogLevelFault = 5 +} NS_SWIFT_NAME(AppCheckCoreLogLevel); + +NS_SWIFT_NAME(AppCheckCoreLogger) +@interface GACAppCheckLogger : NSObject + +/// The current logging level. +/// +/// Messages with levels equal to or higher priority than `logLevel` will be printed, where +/// Fault > Error > Warning > Info > Debug. +@property(class, atomic, assign) GACAppCheckLogLevel logLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckProvider.h new file mode 100644 index 00000000000..437c6128470 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckProvider.h @@ -0,0 +1,47 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// A block to be called before sending API requests. +/// @param request The request that is about to be sent. +typedef void (^GACAppCheckAPIRequestHook)(NSMutableURLRequest *request); + +/// Defines the methods required to be implemented by a specific App Check provider. +NS_SWIFT_NAME(AppCheckCoreProvider) +@protocol GACAppCheckProvider + +/// Returns a new App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new App Check token suitable for consumption in a limited-use scenario. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckSettings.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckSettings.h new file mode 100644 index 00000000000..d0092d82bec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckSettings.h @@ -0,0 +1,33 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A collection of App Check-wide settings and parameters. +NS_SWIFT_NAME(AppCheckCoreSettingsProtocol) +@protocol GACAppCheckSettingsProtocol + +/// If App Check token auto-refresh is enabled. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +@end + +@interface GACAppCheckSettings : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckToken.h new file mode 100644 index 00000000000..29f859e8100 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckToken.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing an App Check token. +NS_SWIFT_NAME(AppCheckCoreToken) +@interface GACAppCheckToken : NSObject + +/// The App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +/// The date when the App Check token was received in the device's local time. +@property(nonatomic, readonly) NSDate *receivedAtDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// Convenience initializer that uses the current device local time to set `receivedAtDate`. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +/// The designated initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +/// @param receivedAtDate A date when the Firebase App Check token was received in the device's +/// local time. +- (instancetype)initWithToken:(NSString *)token + expirationDate:(NSDate *)expirationDate + receivedAtDate:(NSDate *)receivedAtDate NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h new file mode 100644 index 00000000000..ab8fddfc6d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h @@ -0,0 +1,35 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreTokenDelegate) +@protocol GACAppCheckTokenDelegate + +/// Called each time an App Check token is refreshed. +/// +/// @param token The updated App Check token. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +- (void)tokenDidUpdate:(GACAppCheckToken *)token serviceName:(NSString *)serviceName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h new file mode 100644 index 00000000000..86733965cf7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class GACAppCheckToken; + +NS_SWIFT_NAME(AppCheckCoreTokenResult) +@interface GACAppCheckTokenResult : NSObject + +/// An App Check token in the case of success or a placeholder token in the case of a failure. +@property(nonatomic, readonly) GACAppCheckToken *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token; + +- (instancetype)initWithError:(NSError *)error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token + error:(nullable NSError *)error NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h new file mode 100644 index 00000000000..930da7867e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckAvailability.h" +#import "GACAppCheckProvider.h" + +@protocol GACDeviceCheckAPIServiceProtocol; +@protocol GACDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreDeviceCheckProvider) +@interface GACDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDeviceCheckProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Info.plist new file mode 100644 index 00000000000..21dbe7d5e40 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + AppCheckCore + CFBundleIdentifier + org.cocoapods.AppCheckCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCheckCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.0.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchos + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchos10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Modules/module.modulemap new file mode 100644 index 00000000000..07e35551ae6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_arm64_32/AppCheckCore.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module AppCheckCore { +umbrella header "AppCheckCore-umbrella.h" +export * +module * { export * } + link framework "Security" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/AppCheckCore b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/AppCheckCore new file mode 100644 index 00000000000..62a60088678 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/AppCheckCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h new file mode 100644 index 00000000000..4339b763292 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore-umbrella.h @@ -0,0 +1,29 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "AppCheckCore.h" +#import "GACAppAttestProvider.h" +#import "GACAppCheck.h" +#import "GACAppCheckAvailability.h" +#import "GACAppCheckDebugProvider.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" +#import "GACDeviceCheckProvider.h" + +FOUNDATION_EXPORT double AppCheckCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char AppCheckCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore.h new file mode 100644 index 00000000000..a0752153244 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/AppCheckCore.h @@ -0,0 +1,33 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheck.h" +#import "GACAppCheckErrors.h" +#import "GACAppCheckLogger.h" +#import "GACAppCheckProvider.h" +#import "GACAppCheckSettings.h" +#import "GACAppCheckToken.h" +#import "GACAppCheckTokenDelegate.h" +#import "GACAppCheckTokenResult.h" + +// Debug provider +#import "GACAppCheckDebugProvider.h" + +// DeviceCheck provider +#import "GACDeviceCheckProvider.h" + +// App Attest provider. +#import "GACAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppAttestProvider.h new file mode 100644 index 00000000000..39175bd5209 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppAttestProvider.h @@ -0,0 +1,55 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +#import "GACAppCheckAvailability.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreAppAttestProvider) +@interface GACAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key, if needed, or nil. +/// @param accessGroup The Keychain Access Group. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppAttestProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(nullable NSString *)APIKey + keychainAccessGroup:(nullable NSString *)accessGroup + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheck.h new file mode 100644 index 00000000000..0c953ff8e63 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheck.h @@ -0,0 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol GACAppCheckProvider; +@protocol GACAppCheckSettingsProtocol; +@protocol GACAppCheckTokenDelegate; +@class GACAppCheckToken; +@class GACAppCheckTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreProtocol) @protocol GACAppCheckProtocol + +/// Requests an App Check token. +/// +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion:(void (^)(GACAppCheckTokenResult *result))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Retrieve a new limited-use App Check token +/// +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +/// +/// @param handler The completion handler to call when the token fetch request completes. The +/// `result` parameter includes the App Check token if the request succeeds, or a placeholder token +/// and an error if the request fails. +- (void)limitedUseTokenWithCompletion:(void (^)(GACAppCheckTokenResult *result))handler; + +@end + +/// A class used to manage App Check tokens for a given resource. +NS_SWIFT_NAME(AppCheckCore) +@interface GACAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns an instance of `AppCheck` for an application. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param appCheckProvider An object that provides App Check tokens. +/// @param settings An object that provides App Check settings. +/// @param tokenDelegate A delegate that receives token update notifications. +/// @param accessGroup The identifier for a keychain group that the app shares items with; if +/// provided, requires the Keychain Access Groups Entitlement. +/// @return An instance of `AppCheckCore` with the specified token provider. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + appCheckProvider:(id)appCheckProvider + settings:(id)settings + tokenDelegate:(nullable id)tokenDelegate + keychainAccessGroup:(nullable NSString *)accessGroup; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckAvailability.h new file mode 100644 index 00000000000..f64ca430897 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckAvailability.h @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// `DeviceCheckProvider` availability. +#define GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// `AppAttestProvider` availability annotations +#define GAC_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h new file mode 100644 index 00000000000..9a1deceaace --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckDebugProvider.h @@ -0,0 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckProvider.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An App Check provider that can exchange a debug token registered in the Firebase console for an +/// App Check token. The debug provider is designed to enable testing applications on a simulator or +/// in a test environment. +/// +/// NOTE: Do not use the debug provider in production applications used by real users. +/// +/// WARNING: Keep the App Check debug token secret. If you accidentally share one (e.g., commit it +/// to a public source repository), remove it in the Firebase console ASAP. +/// +/// To use `AppCheckCoreDebugProvider` on a local simulator: +/// 1. Launch the app. A local debug token will be logged when the `AppCheckCoreDebugProvider` is +/// instantiated. For example: +/// "[AppCheckCore][I-GAC004001] App Check debug token: 'AB12C3D4-56EF-789G-01H2-IJ234567K8L9'." +/// 2. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered in the Firebase console, the debug provider will be able to +/// provide a valid App Check token. +/// +/// To use `AppCheckCoreDebugProvider` in a Continuous Integration (CI) environment: +/// 1. Create a new App Check debug token in the Firebase console. +/// 2. Add the debug token to the secure storage of your build environment. E.g., see +/// [Encrypted secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for +/// GitHub Actions. +/// 4. Add an environment variable to the scheme with a name `AppCheckDebugToken` and a value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as in environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +NS_SWIFT_NAME(AppCheckCoreDebugProvider) +@interface GACAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param baseURL The base URL for the App Check service; defaults to +/// `https://firebaseappcheck.googleapis.com/v1` if nil. +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDebugProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + baseURL:(nullable NSString *)baseURL + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +/// Returns the locally generated token. +- (NSString *)localDebugToken; + +/// Returns the currently used App Check debug token. +/// +/// The priority of the token used is: +/// 1. The `AppCheckDebugToken` environment variable value +/// 2. The `FIRAAppCheckDebugToken` environment variable value +/// 3. A previously generated token, stored locally on the device +/// 4. A newly generated random token. The generated token will be stored locally for future use +/// +/// @return The currently used App Check debug token. +- (NSString *)currentDebugToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckErrors.h new file mode 100644 index 00000000000..c6d4576aa4d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckErrors.h @@ -0,0 +1,59 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const GACAppCheckErrorDomain NS_SWIFT_NAME(AppCheckCoreErrorDomain); + +typedef NS_ERROR_ENUM(GACAppCheckErrorDomain, GACAppCheckErrorCode){ + /// An unknown or non-actionable error. + GACAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + GACAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + GACAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + GACAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + GACAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckCoreErrorCode); + +#pragma mark - Error Message Codes + +typedef NS_ENUM(NSInteger, GACAppCheckMessageCode) { + GACLoggerAppCheckMessageCodeUnknown = 1001, + + // App Check + GACLoggerAppCheckMessageCodeProviderIsMissing = 2002, + GACLoggerAppCheckMessageCodeUnexpectedHTTPCode = 3001, + + // Debug Provider + GACLoggerAppCheckMessageLocalDebugToken = 4001, + GACLoggerAppCheckMessageEnvironmentVariableDebugToken = 4002, + GACLoggerAppCheckMessageDebugProviderFirebaseEnvironmentVariable = 4003, + GACLoggerAppCheckMessageDebugProviderFailedExchange = 4004, + + // App Attest Provider + GACLoggerAppCheckMessageCodeAppAttestNotSupported = 7001, + GACLoggerAppCheckMessageCodeAttestationRejected = 7002 +} NS_SWIFT_NAME(AppCheckCoreMessageCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckLogger.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckLogger.h new file mode 100644 index 00000000000..cab60ceeb48 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckLogger.h @@ -0,0 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "GACAppCheckErrors.h" + +/// Constants that specify the level of logging to perform in App Check Core. +typedef NS_ENUM(NSInteger, GACAppCheckLogLevel) { + /// The debug log level; equivalent to `OS_LOG_TYPE_DEBUG`. + GACAppCheckLogLevelDebug = 1, + /// The informational log level; equivalent to `OS_LOG_TYPE_INFO`. + GACAppCheckLogLevelInfo = 2, + /// The warning log level; equivalent to `OS_LOG_TYPE_DEFAULT`. + GACAppCheckLogLevelWarning = 3, + /// The error log level; equivalent to `OS_LOG_TYPE_ERROR`. + GACAppCheckLogLevelError = 4, + /// The fault log level; equivalent to `OS_LOG_TYPE_FAULT`. + GACAppCheckLogLevelFault = 5 +} NS_SWIFT_NAME(AppCheckCoreLogLevel); + +NS_SWIFT_NAME(AppCheckCoreLogger) +@interface GACAppCheckLogger : NSObject + +/// The current logging level. +/// +/// Messages with levels equal to or higher priority than `logLevel` will be printed, where +/// Fault > Error > Warning > Info > Debug. +@property(class, atomic, assign) GACAppCheckLogLevel logLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckProvider.h new file mode 100644 index 00000000000..437c6128470 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckProvider.h @@ -0,0 +1,47 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// A block to be called before sending API requests. +/// @param request The request that is about to be sent. +typedef void (^GACAppCheckAPIRequestHook)(NSMutableURLRequest *request); + +/// Defines the methods required to be implemented by a specific App Check provider. +NS_SWIFT_NAME(AppCheckCoreProvider) +@protocol GACAppCheckProvider + +/// Returns a new App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new App Check token suitable for consumption in a limited-use scenario. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(GACAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckSettings.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckSettings.h new file mode 100644 index 00000000000..d0092d82bec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckSettings.h @@ -0,0 +1,33 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A collection of App Check-wide settings and parameters. +NS_SWIFT_NAME(AppCheckCoreSettingsProtocol) +@protocol GACAppCheckSettingsProtocol + +/// If App Check token auto-refresh is enabled. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +@end + +@interface GACAppCheckSettings : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckToken.h new file mode 100644 index 00000000000..29f859e8100 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckToken.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing an App Check token. +NS_SWIFT_NAME(AppCheckCoreToken) +@interface GACAppCheckToken : NSObject + +/// The App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +/// The date when the App Check token was received in the device's local time. +@property(nonatomic, readonly) NSDate *receivedAtDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// Convenience initializer that uses the current device local time to set `receivedAtDate`. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +/// The designated initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +/// @param receivedAtDate A date when the Firebase App Check token was received in the device's +/// local time. +- (instancetype)initWithToken:(NSString *)token + expirationDate:(NSDate *)expirationDate + receivedAtDate:(NSDate *)receivedAtDate NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h new file mode 100644 index 00000000000..ab8fddfc6d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenDelegate.h @@ -0,0 +1,35 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class GACAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckCoreTokenDelegate) +@protocol GACAppCheckTokenDelegate + +/// Called each time an App Check token is refreshed. +/// +/// @param token The updated App Check token. +/// @param serviceName A unique identifier for the App Check instance, may be a Firebase App Name +/// or an SDK name. +- (void)tokenDidUpdate:(GACAppCheckToken *)token serviceName:(NSString *)serviceName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h new file mode 100644 index 00000000000..86733965cf7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACAppCheckTokenResult.h @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class GACAppCheckToken; + +NS_SWIFT_NAME(AppCheckCoreTokenResult) +@interface GACAppCheckTokenResult : NSObject + +/// An App Check token in the case of success or a placeholder token in the case of a failure. +@property(nonatomic, readonly) GACAppCheckToken *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token; + +- (instancetype)initWithError:(NSError *)error; + +- (instancetype)initWithToken:(GACAppCheckToken *)token + error:(nullable NSError *)error NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h new file mode 100644 index 00000000000..930da7867e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Headers/GACDeviceCheckProvider.h @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GACAppCheckAvailability.h" +#import "GACAppCheckProvider.h" + +@protocol GACDeviceCheckAPIServiceProtocol; +@protocol GACDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppCheckCoreDeviceCheckProvider) +@interface GACDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param serviceName A unique identifier to differentiate storage keys corresponding to the same +/// `resourceName`; may be a Firebase App Name or an SDK name. +/// @param resourceName The name of the resource protected by App Check; for a Firebase App this is +/// "projects/{project_id}/apps/{app_id}". +/// @param APIKey The Google Cloud Platform API key. +/// @param requestHooks Hooks that will be invoked on requests through this service. +/// @return An instance of `AppCheckCoreDeviceCheckProvider`. +- (instancetype)initWithServiceName:(NSString *)serviceName + resourceName:(NSString *)resourceName + APIKey:(NSString *)APIKey + requestHooks:(nullable NSArray *)requestHooks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Info.plist new file mode 100644 index 00000000000..6024519ef86 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + AppCheckCore + CFBundleIdentifier + org.cocoapods.AppCheckCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCheckCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.0.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchsimulator + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchsimulator10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Modules/module.modulemap new file mode 100644 index 00000000000..07e35551ae6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/AppCheckCore.xcframework/watchos-arm64_x86_64-simulator/AppCheckCore.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module AppCheckCore { +umbrella header "AppCheckCore-umbrella.h" +export * +module * { export * } + link framework "Security" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/Info.plist new file mode 100644 index 00000000000..3125e2fbc79 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/Info.plist @@ -0,0 +1,139 @@ + + + + + AvailableLibraries + + + BinaryPath + FBLPromises.framework/FBLPromises + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FBLPromises.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + FBLPromises.framework/FBLPromises + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FBLPromises.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + FBLPromises.framework/FBLPromises + LibraryIdentifier + watchos-arm64_arm64_32 + LibraryPath + FBLPromises.framework + SupportedArchitectures + + arm64 + arm64_32 + + SupportedPlatform + watchos + + + BinaryPath + FBLPromises.framework/FBLPromises + LibraryIdentifier + watchos-arm64_x86_64-simulator + LibraryPath + FBLPromises.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + watchos + SupportedPlatformVariant + simulator + + + BinaryPath + FBLPromises.framework/Versions/A/FBLPromises + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + FBLPromises.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + BinaryPath + FBLPromises.framework/FBLPromises + LibraryIdentifier + tvos-arm64 + LibraryPath + FBLPromises.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + FBLPromises.framework/FBLPromises + LibraryIdentifier + ios-arm64 + LibraryPath + FBLPromises.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + FBLPromises.framework/Versions/A/FBLPromises + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FBLPromises.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/FBLPromises b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/FBLPromises new file mode 100644 index 00000000000..756168014ad Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/FBLPromises differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..e0e0ce0d83c Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..5397adcb7b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+All.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+All.h new file mode 100644 index 00000000000..9c0090e2426 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+All.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AllAdditions) + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)all:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected FBLPromise correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + all:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `all` operators. + Usage: FBLPromise.all(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AllAdditions) + ++ (FBLPromise * (^)(NSArray *))all FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))allOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Always.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Always.h new file mode 100644 index 00000000000..13000f5b459 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Always.h @@ -0,0 +1,54 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AlwaysAdditions) + +typedef void (^FBLPromiseAlwaysWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)always:(FBLPromiseAlwaysWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to dispatch on. + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + always:(FBLPromiseAlwaysWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `always` operators. + Usage: promise.always(^{...}) + */ +@interface FBLPromise(DotSyntax_AlwaysAdditions) + +- (FBLPromise* (^)(FBLPromiseAlwaysWorkBlock))always FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAlwaysWorkBlock))alwaysOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Any.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Any.h new file mode 100644 index 00000000000..82875bf77ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Any.h @@ -0,0 +1,69 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AnyAdditions) + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSErrors`, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)any:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSError`s, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + any:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `any` operators. + Usage: FBLPromise.any(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AnyAdditions) + ++ (FBLPromise * (^)(NSArray *))any FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))anyOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Async.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Async.h new file mode 100644 index 00000000000..0588a9eafa6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Async.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AsyncAdditions) + +typedef void (^FBLPromiseFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseAsyncWorkBlock)(FBLPromiseFulfillBlock fulfill, + FBLPromiseRejectBlock reject) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)async:(FBLPromiseAsyncWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + async:(FBLPromiseAsyncWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `async` operators. + Usage: FBLPromise.async(^(FBLPromiseFulfillBlock fulfill, FBLPromiseRejectBlock reject) { ... }) + */ +@interface FBLPromise(DotSyntax_AsyncAdditions) + ++ (FBLPromise* (^)(FBLPromiseAsyncWorkBlock))async FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAsyncWorkBlock))asyncOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Await.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Await.h new file mode 100644 index 00000000000..c97a1baf41c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Await.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for promise resolution. The current thread blocks until the promise is resolved. + + @param promise Promise to wait for. + @param error Error the promise was rejected with, or `nil` if the promise was fulfilled. + @return Value the promise was fulfilled with. If the promise was rejected, the return value + is always `nil`, but the error out arg is not. + */ +FOUNDATION_EXTERN id __nullable FBLPromiseAwait(FBLPromise *promise, + NSError **error) NS_REFINED_FOR_SWIFT; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Catch.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Catch.h new file mode 100644 index 00000000000..a9ff170fc51 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Catch.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(CatchAdditions) + +typedef void (^FBLPromiseCatchWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously. + + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)catch:(FBLPromiseCatchWorkBlock)reject NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously on the given queue. + + @param queue A queue to invoke the `reject` block on. + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + catch:(FBLPromiseCatchWorkBlock)reject NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `catch` operators. + Usage: promise.catch(^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_CatchAdditions) + +- (FBLPromise* (^)(FBLPromiseCatchWorkBlock))catch FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseCatchWorkBlock))catchOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Delay.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Delay.h new file mode 100644 index 00000000000..557df4850fb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Delay.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DelayAdditions) + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)delay:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + delay:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `delay` operators. + Usage: promise.delay(...) + */ +@interface FBLPromise(DotSyntax_DelayAdditions) + +- (FBLPromise * (^)(NSTimeInterval))delay FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSTimeInterval))delayOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Do.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Do.h new file mode 100644 index 00000000000..6838e0adf0b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Do.h @@ -0,0 +1,55 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DoAdditions) + +typedef id __nullable (^FBLPromiseDoWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)do:(FBLPromiseDoWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue do:(FBLPromiseDoWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `do` operators. + Usage: FBLPromise.doOn(queue, ^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_DoAdditions) + ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseDoWorkBlock))doOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Race.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Race.h new file mode 100644 index 00000000000..2f67258deac --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Race.h @@ -0,0 +1,62 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RaceAdditions) + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)race:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue race:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `race` operators. + Usage: FBLPromise.race(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_RaceAdditions) + ++ (FBLPromise * (^)(NSArray *))race FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))raceOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Recover.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Recover.h new file mode 100644 index 00000000000..bb7df7ecfa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Recover.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RecoverAdditions) + +typedef id __nullable (^FBLPromiseRecoverWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)recover:(FBLPromiseRecoverWorkBlock)recovery NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param queue A queue to dispatch on. + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + recover:(FBLPromiseRecoverWorkBlock)recovery NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `recover` operators. + Usage: promise.recover(^id(NSError *error) {...}) + */ +@interface FBLPromise(DotSyntax_RecoverAdditions) + +- (FBLPromise * (^)(FBLPromiseRecoverWorkBlock))recover FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRecoverWorkBlock))recoverOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Reduce.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Reduce.h new file mode 100644 index 00000000000..5bb1eeee47d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Reduce.h @@ -0,0 +1,71 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ReduceAdditions) + +typedef id __nullable (^FBLPromiseReducerBlock)(Value __nullable partial, id next) + NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param queue A queue to dispatch on. + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `reduce` operators. + Usage: promise.reduce(values, ^id(id partial, id next) { ... }) + */ +@interface FBLPromise(DotSyntax_ReduceAdditions) + +- (FBLPromise * (^)(NSArray *, FBLPromiseReducerBlock))reduce FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSArray *, FBLPromiseReducerBlock))reduceOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Retry.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Retry.h new file mode 100644 index 00000000000..414a17a29ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Retry.h @@ -0,0 +1,165 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** The default number of retry attempts is 1. */ +FOUNDATION_EXTERN NSInteger const FBLPromiseRetryDefaultAttemptsCount NS_REFINED_FOR_SWIFT; + +/** The default delay interval before making a retry attempt is 1.0 second. */ +FOUNDATION_EXTERN NSTimeInterval const FBLPromiseRetryDefaultDelayInterval NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(RetryAdditions) + +typedef id __nullable (^FBLPromiseRetryWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); +typedef BOOL (^FBLPromiseRetryPredicateBlock)(NSInteger, NSError *) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on rejection where the + `work` block is retried after a delay of `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on + rejection where the `work` block is retried on the given `queue` after a delay of + `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param queue A queue to invoke the `work` block on. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. On rejection, the `work` block is retried after the given delay `interval` and will + continue to retry until the number of specified attempts have been exhausted or will bail early if + the given condition is not met. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. On rejection, the `work` block is retried after the given + delay `interval` and will continue to retry until the number of specified attempts have been + exhausted or will bail early if the given condition is not met. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise+Retry` operators. + Usage: FBLPromise.retry(^id { ... }) + */ +@interface FBLPromise(DotSyntax_RetryAdditions) + ++ (FBLPromise * (^)(FBLPromiseRetryWorkBlock))retry FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRetryWorkBlock))retryOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(NSInteger, NSTimeInterval, FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgain FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSInteger, NSTimeInterval, + FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgainOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Testing.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Testing.h new file mode 100644 index 00000000000..8478ae22933 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Testing.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for all scheduled promises blocks. + + @param timeout Maximum time to wait. + @return YES if all promises blocks have completed before the timeout and NO otherwise. + */ +FOUNDATION_EXTERN BOOL FBLWaitForPromisesWithTimeout(NSTimeInterval timeout) NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(TestingAdditions) + +/** + Dispatch group for promises that is typically used to wait for all scheduled blocks. + */ +@property(class, nonatomic, readonly) dispatch_group_t dispatchGroup NS_REFINED_FOR_SWIFT; + +/** + Properties to get the current state of the promise. + */ +@property(nonatomic, readonly) BOOL isPending NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isFulfilled NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isRejected NS_REFINED_FOR_SWIFT; + +/** + Value the promise was fulfilled with. + Can be nil if the promise is still pending, was resolved with nil or after it has been rejected. + */ +@property(nonatomic, readonly, nullable) Value value NS_REFINED_FOR_SWIFT; + +/** + Error the promise was rejected with. + Can be nil if the promise is still pending or after it has been fulfilled. + */ +@property(nonatomic, readonly, nullable) NSError *error NS_REFINED_FOR_SWIFT; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Then.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Then.h new file mode 100644 index 00000000000..32027e69738 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Then.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ThenAdditions) + +typedef id __nullable (^FBLPromiseThenWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously only + when the receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with + the same error. + + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)then:(FBLPromiseThenWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously when the + receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with the same + error. + + @param queue A queue to invoke the `work` block on. + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + then:(FBLPromiseThenWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `then` operators. + Usage: promise.then(^id(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ThenAdditions) + +- (FBLPromise* (^)(FBLPromiseThenWorkBlock))then FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseThenWorkBlock))thenOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Timeout.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Timeout.h new file mode 100644 index 00000000000..184ba166fa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Timeout.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(TimeoutAdditions) + +/** + Waits for a promise with the specified `timeout`. + + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)timeout:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Waits for a promise with the specified `timeout`. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + timeout:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `timeout` operators. + Usage: promise.timeout(...) + */ +@interface FBLPromise(DotSyntax_TimeoutAdditions) + +- (FBLPromise* (^)(NSTimeInterval))timeout FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, NSTimeInterval))timeoutOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Validate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Validate.h new file mode 100644 index 00000000000..9dfa2f16ae4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Validate.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ValidateAdditions) + +typedef BOOL (^FBLPromiseValidateWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)validate:(FBLPromiseValidateWorkBlock)predicate NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param queue A queue to dispatch on. + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + validate:(FBLPromiseValidateWorkBlock)predicate NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `validate` operators. + Usage: promise.validate(^BOOL(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ValidateAdditions) + +- (FBLPromise * (^)(FBLPromiseValidateWorkBlock))validate FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseValidateWorkBlock))validateOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Wrap.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Wrap.h new file mode 100644 index 00000000000..664e1bbffbf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise+Wrap.h @@ -0,0 +1,316 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Different types of completion handlers available to be wrapped with promise. + */ +typedef void (^FBLPromiseCompletion)(void) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectCompletion)(id __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorCompletion)(NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectOrErrorCompletion)(id __nullable, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorOrObjectCompletion)(NSError* __nullable, id __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromise2ObjectsOrErrorCompletion)(id __nullable, id __nullable, + NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolCompletion)(BOOL) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolOrErrorCompletion)(BOOL, NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerCompletion)(NSInteger) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerOrErrorCompletion)(NSInteger, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleCompletion)(double) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleOrErrorCompletion)(double, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); + +/** + Provides an easy way to convert methods that use common callback patterns into promises. + */ +@interface FBLPromise(WrapAdditions) + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)wrapCompletion:(void (^)(FBLPromiseCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapCompletion:(void (^)(FBLPromiseCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)wrapObjectOrErrorCompletion: + (void (^)(FBLPromiseObjectOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectOrErrorCompletion:(void (^)(FBLPromiseObjectOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)wrapErrorOrObjectCompletion: + (void (^)(FBLPromiseErrorOrObjectCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorOrObjectCompletion:(void (^)(FBLPromiseErrorOrObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)wrap2ObjectsOrErrorCompletion: + (void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrap2ObjectsOrErrorCompletion:(void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapBoolOrErrorCompletion: + (void (^)(FBLPromiseBoolOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolOrErrorCompletion:(void (^)(FBLPromiseBoolOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapIntegerOrErrorCompletion: + (void (^)(FBLPromiseIntegerOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerOrErrorCompletion:(void (^)(FBLPromiseIntegerOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapDoubleOrErrorCompletion: + (void (^)(FBLPromiseDoubleOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleOrErrorCompletion:(void (^)(FBLPromiseDoubleOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `wrap` operators. + Usage: FBLPromise.wrapCompletion(^(FBLPromiseCompletion handler) {...}) + */ +@interface FBLPromise(DotSyntax_WrapAdditions) + ++ (FBLPromise* (^)(void (^)(FBLPromiseCompletion)))wrapCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseCompletion)))wrapCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise.h new file mode 100644 index 00000000000..98c813b79d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromise.h @@ -0,0 +1,93 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromiseError.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Promises synchronization construct in Objective-C. + */ +@interface FBLPromise<__covariant Value> : NSObject + +/** + Default dispatch queue used for `FBLPromise`, which is `main` if a queue is not specified. + */ +@property(class) dispatch_queue_t defaultDispatchQueue NS_REFINED_FOR_SWIFT; + +/** + Creates a pending promise. + */ ++ (instancetype)pendingPromise NS_REFINED_FOR_SWIFT; + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ ++ (instancetype)resolvedWith:(nullable id)resolution NS_REFINED_FOR_SWIFT; + +/** + Synchronously fulfills the promise with a value. + + @param value An arbitrary value to fulfill the promise with, including `nil`. + */ +- (void)fulfill:(nullable Value)value NS_REFINED_FOR_SWIFT; + +/** + Synchronously rejects the promise with an error. + + @param error An error to reject the promise with. + */ +- (void)reject:(NSError *)error NS_REFINED_FOR_SWIFT; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; +@end + +@interface FBLPromise() + +/** + Adds an object to the set of pending objects to keep strongly while the promise is pending. + Used by the Swift wrappers to keep them alive until the underlying ObjC promise is resolved. + + @param object An object to add. + */ +- (void)addPendingObject:(id)object NS_REFINED_FOR_SWIFT; + +@end + +#ifdef FBL_PROMISES_DOT_SYNTAX_IS_DEPRECATED +#define FBL_PROMISES_DOT_SYNTAX __attribute__((deprecated)) +#else +#define FBL_PROMISES_DOT_SYNTAX +#endif + +@interface FBLPromise(DotSyntaxAdditions) + +/** + Convenience dot-syntax wrappers for FBLPromise. + Usage: FBLPromise.pending() + FBLPromise.resolved(value) + + */ ++ (FBLPromise * (^)(void))pending FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(id __nullable))resolved FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromiseError.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromiseError.h new file mode 100644 index 00000000000..d37af536c60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromiseError.h @@ -0,0 +1,43 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXTERN NSErrorDomain const FBLPromiseErrorDomain NS_REFINED_FOR_SWIFT; + +/** + Possible error codes in `FBLPromiseErrorDomain`. + */ +typedef NS_ENUM(NSInteger, FBLPromiseErrorCode) { + /** Promise failed to resolve in time. */ + FBLPromiseErrorCodeTimedOut = 1, + /** Validation predicate returned false. */ + FBLPromiseErrorCodeValidationFailure = 2, +} NS_REFINED_FOR_SWIFT; + +NS_INLINE BOOL FBLPromiseErrorIsTimedOut(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeTimedOut; +} + +NS_INLINE BOOL FBLPromiseErrorIsValidationFailure(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeValidationFailure; +} + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromises.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromises.h new file mode 100644 index 00000000000..2d90badb17b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/FBLPromises.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/PromisesObjC-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/PromisesObjC-umbrella.h new file mode 100644 index 00000000000..5b014a8b3f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Headers/PromisesObjC-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Testing.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" +#import "FBLPromise.h" +#import "FBLPromiseError.h" +#import "FBLPromises.h" + +FOUNDATION_EXPORT double FBLPromisesVersionNumber; +FOUNDATION_EXPORT const unsigned char FBLPromisesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Info.plist new file mode 100644 index 00000000000..ad2beb7e3f5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBLPromises + CFBundleIdentifier + org.cocoapods.FBLPromises + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBLPromises + CFBundlePackageType + FMWK + CFBundleShortVersionString + 2.4.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Modules/module.modulemap new file mode 100644 index 00000000000..bd7b48e165d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module PromisesObjC { +umbrella header "PromisesObjC-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h new file mode 100644 index 00000000000..7a132f2030f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h @@ -0,0 +1,66 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+Testing.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Miscellaneous low-level private interfaces available to extend standard FBLPromise functionality. + */ +@interface FBLPromise() + +typedef void (^FBLPromiseOnFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseOnRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedFulfillBlock)(Value __nullable value) + NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedRejectBlock)(NSError *error) + NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise. + */ +- (instancetype)initPending NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ +- (instancetype)initWithResolution:(nullable id)resolution NS_SWIFT_UNAVAILABLE(""); + +/** + Invokes `fulfill` and `reject` blocks on `queue` when the receiver gets either fulfilled or + rejected respectively. + */ +- (void)observeOnQueue:(dispatch_queue_t)queue + fulfill:(FBLPromiseOnFulfillBlock)onFulfill + reject:(FBLPromiseOnRejectBlock)onReject NS_SWIFT_UNAVAILABLE(""); + +/** + Returns a new promise which gets resolved with the return value of `chainedFulfill` or + `chainedReject` blocks respectively. The blocks are invoked when the receiver gets either + fulfilled or rejected. If `nil` is passed to either block arg, the returned promise is resolved + with the same resolution as the receiver. + */ +- (FBLPromise *)chainOnQueue:(dispatch_queue_t)queue + chainedFulfill:(FBLPromiseChainedFulfillBlock)chainedFulfill + chainedReject:(FBLPromiseChainedRejectBlock)chainedReject NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/FBLPromises b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/FBLPromises new file mode 120000 index 00000000000..c2fcede2c8b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/FBLPromises @@ -0,0 +1 @@ +Versions/Current/FBLPromises \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/PrivateHeaders b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/PrivateHeaders new file mode 120000 index 00000000000..d8e56452691 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/PrivateHeaders @@ -0,0 +1 @@ +Versions/Current/PrivateHeaders \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/FBLPromises b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/FBLPromises new file mode 100644 index 00000000000..9e5be419201 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/FBLPromises differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+All.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+All.h new file mode 100644 index 00000000000..9c0090e2426 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+All.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AllAdditions) + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)all:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected FBLPromise correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + all:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `all` operators. + Usage: FBLPromise.all(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AllAdditions) + ++ (FBLPromise * (^)(NSArray *))all FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))allOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Always.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Always.h new file mode 100644 index 00000000000..13000f5b459 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Always.h @@ -0,0 +1,54 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AlwaysAdditions) + +typedef void (^FBLPromiseAlwaysWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)always:(FBLPromiseAlwaysWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to dispatch on. + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + always:(FBLPromiseAlwaysWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `always` operators. + Usage: promise.always(^{...}) + */ +@interface FBLPromise(DotSyntax_AlwaysAdditions) + +- (FBLPromise* (^)(FBLPromiseAlwaysWorkBlock))always FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAlwaysWorkBlock))alwaysOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Any.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Any.h new file mode 100644 index 00000000000..82875bf77ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Any.h @@ -0,0 +1,69 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AnyAdditions) + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSErrors`, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)any:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSError`s, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + any:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `any` operators. + Usage: FBLPromise.any(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AnyAdditions) + ++ (FBLPromise * (^)(NSArray *))any FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))anyOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Async.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Async.h new file mode 100644 index 00000000000..0588a9eafa6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Async.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AsyncAdditions) + +typedef void (^FBLPromiseFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseAsyncWorkBlock)(FBLPromiseFulfillBlock fulfill, + FBLPromiseRejectBlock reject) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)async:(FBLPromiseAsyncWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + async:(FBLPromiseAsyncWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `async` operators. + Usage: FBLPromise.async(^(FBLPromiseFulfillBlock fulfill, FBLPromiseRejectBlock reject) { ... }) + */ +@interface FBLPromise(DotSyntax_AsyncAdditions) + ++ (FBLPromise* (^)(FBLPromiseAsyncWorkBlock))async FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAsyncWorkBlock))asyncOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Await.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Await.h new file mode 100644 index 00000000000..c97a1baf41c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Await.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for promise resolution. The current thread blocks until the promise is resolved. + + @param promise Promise to wait for. + @param error Error the promise was rejected with, or `nil` if the promise was fulfilled. + @return Value the promise was fulfilled with. If the promise was rejected, the return value + is always `nil`, but the error out arg is not. + */ +FOUNDATION_EXTERN id __nullable FBLPromiseAwait(FBLPromise *promise, + NSError **error) NS_REFINED_FOR_SWIFT; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Catch.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Catch.h new file mode 100644 index 00000000000..a9ff170fc51 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Catch.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(CatchAdditions) + +typedef void (^FBLPromiseCatchWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously. + + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)catch:(FBLPromiseCatchWorkBlock)reject NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously on the given queue. + + @param queue A queue to invoke the `reject` block on. + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + catch:(FBLPromiseCatchWorkBlock)reject NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `catch` operators. + Usage: promise.catch(^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_CatchAdditions) + +- (FBLPromise* (^)(FBLPromiseCatchWorkBlock))catch FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseCatchWorkBlock))catchOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Delay.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Delay.h new file mode 100644 index 00000000000..557df4850fb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Delay.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DelayAdditions) + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)delay:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + delay:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `delay` operators. + Usage: promise.delay(...) + */ +@interface FBLPromise(DotSyntax_DelayAdditions) + +- (FBLPromise * (^)(NSTimeInterval))delay FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSTimeInterval))delayOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Do.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Do.h new file mode 100644 index 00000000000..6838e0adf0b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Do.h @@ -0,0 +1,55 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DoAdditions) + +typedef id __nullable (^FBLPromiseDoWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)do:(FBLPromiseDoWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue do:(FBLPromiseDoWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `do` operators. + Usage: FBLPromise.doOn(queue, ^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_DoAdditions) + ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseDoWorkBlock))doOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Race.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Race.h new file mode 100644 index 00000000000..2f67258deac --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Race.h @@ -0,0 +1,62 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RaceAdditions) + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)race:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue race:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `race` operators. + Usage: FBLPromise.race(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_RaceAdditions) + ++ (FBLPromise * (^)(NSArray *))race FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))raceOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Recover.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Recover.h new file mode 100644 index 00000000000..bb7df7ecfa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Recover.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RecoverAdditions) + +typedef id __nullable (^FBLPromiseRecoverWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)recover:(FBLPromiseRecoverWorkBlock)recovery NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param queue A queue to dispatch on. + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + recover:(FBLPromiseRecoverWorkBlock)recovery NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `recover` operators. + Usage: promise.recover(^id(NSError *error) {...}) + */ +@interface FBLPromise(DotSyntax_RecoverAdditions) + +- (FBLPromise * (^)(FBLPromiseRecoverWorkBlock))recover FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRecoverWorkBlock))recoverOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Reduce.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Reduce.h new file mode 100644 index 00000000000..5bb1eeee47d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Reduce.h @@ -0,0 +1,71 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ReduceAdditions) + +typedef id __nullable (^FBLPromiseReducerBlock)(Value __nullable partial, id next) + NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param queue A queue to dispatch on. + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `reduce` operators. + Usage: promise.reduce(values, ^id(id partial, id next) { ... }) + */ +@interface FBLPromise(DotSyntax_ReduceAdditions) + +- (FBLPromise * (^)(NSArray *, FBLPromiseReducerBlock))reduce FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSArray *, FBLPromiseReducerBlock))reduceOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Retry.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Retry.h new file mode 100644 index 00000000000..414a17a29ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Retry.h @@ -0,0 +1,165 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** The default number of retry attempts is 1. */ +FOUNDATION_EXTERN NSInteger const FBLPromiseRetryDefaultAttemptsCount NS_REFINED_FOR_SWIFT; + +/** The default delay interval before making a retry attempt is 1.0 second. */ +FOUNDATION_EXTERN NSTimeInterval const FBLPromiseRetryDefaultDelayInterval NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(RetryAdditions) + +typedef id __nullable (^FBLPromiseRetryWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); +typedef BOOL (^FBLPromiseRetryPredicateBlock)(NSInteger, NSError *) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on rejection where the + `work` block is retried after a delay of `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on + rejection where the `work` block is retried on the given `queue` after a delay of + `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param queue A queue to invoke the `work` block on. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. On rejection, the `work` block is retried after the given delay `interval` and will + continue to retry until the number of specified attempts have been exhausted or will bail early if + the given condition is not met. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. On rejection, the `work` block is retried after the given + delay `interval` and will continue to retry until the number of specified attempts have been + exhausted or will bail early if the given condition is not met. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise+Retry` operators. + Usage: FBLPromise.retry(^id { ... }) + */ +@interface FBLPromise(DotSyntax_RetryAdditions) + ++ (FBLPromise * (^)(FBLPromiseRetryWorkBlock))retry FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRetryWorkBlock))retryOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(NSInteger, NSTimeInterval, FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgain FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSInteger, NSTimeInterval, + FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgainOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Testing.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Testing.h new file mode 100644 index 00000000000..8478ae22933 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Testing.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for all scheduled promises blocks. + + @param timeout Maximum time to wait. + @return YES if all promises blocks have completed before the timeout and NO otherwise. + */ +FOUNDATION_EXTERN BOOL FBLWaitForPromisesWithTimeout(NSTimeInterval timeout) NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(TestingAdditions) + +/** + Dispatch group for promises that is typically used to wait for all scheduled blocks. + */ +@property(class, nonatomic, readonly) dispatch_group_t dispatchGroup NS_REFINED_FOR_SWIFT; + +/** + Properties to get the current state of the promise. + */ +@property(nonatomic, readonly) BOOL isPending NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isFulfilled NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isRejected NS_REFINED_FOR_SWIFT; + +/** + Value the promise was fulfilled with. + Can be nil if the promise is still pending, was resolved with nil or after it has been rejected. + */ +@property(nonatomic, readonly, nullable) Value value NS_REFINED_FOR_SWIFT; + +/** + Error the promise was rejected with. + Can be nil if the promise is still pending or after it has been fulfilled. + */ +@property(nonatomic, readonly, nullable) NSError *error NS_REFINED_FOR_SWIFT; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Then.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Then.h new file mode 100644 index 00000000000..32027e69738 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Then.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ThenAdditions) + +typedef id __nullable (^FBLPromiseThenWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously only + when the receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with + the same error. + + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)then:(FBLPromiseThenWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously when the + receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with the same + error. + + @param queue A queue to invoke the `work` block on. + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + then:(FBLPromiseThenWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `then` operators. + Usage: promise.then(^id(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ThenAdditions) + +- (FBLPromise* (^)(FBLPromiseThenWorkBlock))then FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseThenWorkBlock))thenOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Timeout.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Timeout.h new file mode 100644 index 00000000000..184ba166fa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Timeout.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(TimeoutAdditions) + +/** + Waits for a promise with the specified `timeout`. + + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)timeout:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Waits for a promise with the specified `timeout`. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + timeout:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `timeout` operators. + Usage: promise.timeout(...) + */ +@interface FBLPromise(DotSyntax_TimeoutAdditions) + +- (FBLPromise* (^)(NSTimeInterval))timeout FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, NSTimeInterval))timeoutOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Validate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Validate.h new file mode 100644 index 00000000000..9dfa2f16ae4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Validate.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ValidateAdditions) + +typedef BOOL (^FBLPromiseValidateWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)validate:(FBLPromiseValidateWorkBlock)predicate NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param queue A queue to dispatch on. + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + validate:(FBLPromiseValidateWorkBlock)predicate NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `validate` operators. + Usage: promise.validate(^BOOL(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ValidateAdditions) + +- (FBLPromise * (^)(FBLPromiseValidateWorkBlock))validate FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseValidateWorkBlock))validateOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Wrap.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Wrap.h new file mode 100644 index 00000000000..664e1bbffbf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise+Wrap.h @@ -0,0 +1,316 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Different types of completion handlers available to be wrapped with promise. + */ +typedef void (^FBLPromiseCompletion)(void) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectCompletion)(id __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorCompletion)(NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectOrErrorCompletion)(id __nullable, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorOrObjectCompletion)(NSError* __nullable, id __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromise2ObjectsOrErrorCompletion)(id __nullable, id __nullable, + NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolCompletion)(BOOL) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolOrErrorCompletion)(BOOL, NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerCompletion)(NSInteger) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerOrErrorCompletion)(NSInteger, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleCompletion)(double) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleOrErrorCompletion)(double, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); + +/** + Provides an easy way to convert methods that use common callback patterns into promises. + */ +@interface FBLPromise(WrapAdditions) + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)wrapCompletion:(void (^)(FBLPromiseCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapCompletion:(void (^)(FBLPromiseCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)wrapObjectOrErrorCompletion: + (void (^)(FBLPromiseObjectOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectOrErrorCompletion:(void (^)(FBLPromiseObjectOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)wrapErrorOrObjectCompletion: + (void (^)(FBLPromiseErrorOrObjectCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorOrObjectCompletion:(void (^)(FBLPromiseErrorOrObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)wrap2ObjectsOrErrorCompletion: + (void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrap2ObjectsOrErrorCompletion:(void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapBoolOrErrorCompletion: + (void (^)(FBLPromiseBoolOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolOrErrorCompletion:(void (^)(FBLPromiseBoolOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapIntegerOrErrorCompletion: + (void (^)(FBLPromiseIntegerOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerOrErrorCompletion:(void (^)(FBLPromiseIntegerOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapDoubleOrErrorCompletion: + (void (^)(FBLPromiseDoubleOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleOrErrorCompletion:(void (^)(FBLPromiseDoubleOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `wrap` operators. + Usage: FBLPromise.wrapCompletion(^(FBLPromiseCompletion handler) {...}) + */ +@interface FBLPromise(DotSyntax_WrapAdditions) + ++ (FBLPromise* (^)(void (^)(FBLPromiseCompletion)))wrapCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseCompletion)))wrapCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise.h new file mode 100644 index 00000000000..98c813b79d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromise.h @@ -0,0 +1,93 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromiseError.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Promises synchronization construct in Objective-C. + */ +@interface FBLPromise<__covariant Value> : NSObject + +/** + Default dispatch queue used for `FBLPromise`, which is `main` if a queue is not specified. + */ +@property(class) dispatch_queue_t defaultDispatchQueue NS_REFINED_FOR_SWIFT; + +/** + Creates a pending promise. + */ ++ (instancetype)pendingPromise NS_REFINED_FOR_SWIFT; + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ ++ (instancetype)resolvedWith:(nullable id)resolution NS_REFINED_FOR_SWIFT; + +/** + Synchronously fulfills the promise with a value. + + @param value An arbitrary value to fulfill the promise with, including `nil`. + */ +- (void)fulfill:(nullable Value)value NS_REFINED_FOR_SWIFT; + +/** + Synchronously rejects the promise with an error. + + @param error An error to reject the promise with. + */ +- (void)reject:(NSError *)error NS_REFINED_FOR_SWIFT; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; +@end + +@interface FBLPromise() + +/** + Adds an object to the set of pending objects to keep strongly while the promise is pending. + Used by the Swift wrappers to keep them alive until the underlying ObjC promise is resolved. + + @param object An object to add. + */ +- (void)addPendingObject:(id)object NS_REFINED_FOR_SWIFT; + +@end + +#ifdef FBL_PROMISES_DOT_SYNTAX_IS_DEPRECATED +#define FBL_PROMISES_DOT_SYNTAX __attribute__((deprecated)) +#else +#define FBL_PROMISES_DOT_SYNTAX +#endif + +@interface FBLPromise(DotSyntaxAdditions) + +/** + Convenience dot-syntax wrappers for FBLPromise. + Usage: FBLPromise.pending() + FBLPromise.resolved(value) + + */ ++ (FBLPromise * (^)(void))pending FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(id __nullable))resolved FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromiseError.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromiseError.h new file mode 100644 index 00000000000..d37af536c60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromiseError.h @@ -0,0 +1,43 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXTERN NSErrorDomain const FBLPromiseErrorDomain NS_REFINED_FOR_SWIFT; + +/** + Possible error codes in `FBLPromiseErrorDomain`. + */ +typedef NS_ENUM(NSInteger, FBLPromiseErrorCode) { + /** Promise failed to resolve in time. */ + FBLPromiseErrorCodeTimedOut = 1, + /** Validation predicate returned false. */ + FBLPromiseErrorCodeValidationFailure = 2, +} NS_REFINED_FOR_SWIFT; + +NS_INLINE BOOL FBLPromiseErrorIsTimedOut(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeTimedOut; +} + +NS_INLINE BOOL FBLPromiseErrorIsValidationFailure(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeValidationFailure; +} + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromises.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromises.h new file mode 100644 index 00000000000..2d90badb17b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/FBLPromises.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/PromisesObjC-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/PromisesObjC-umbrella.h new file mode 100644 index 00000000000..5b014a8b3f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Headers/PromisesObjC-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Testing.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" +#import "FBLPromise.h" +#import "FBLPromiseError.h" +#import "FBLPromises.h" + +FOUNDATION_EXPORT double FBLPromisesVersionNumber; +FOUNDATION_EXPORT const unsigned char FBLPromisesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..bd7b48e165d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module PromisesObjC { +umbrella header "PromisesObjC-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/PrivateHeaders/FBLPromisePrivate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/PrivateHeaders/FBLPromisePrivate.h new file mode 100644 index 00000000000..7a132f2030f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/PrivateHeaders/FBLPromisePrivate.h @@ -0,0 +1,66 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+Testing.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Miscellaneous low-level private interfaces available to extend standard FBLPromise functionality. + */ +@interface FBLPromise() + +typedef void (^FBLPromiseOnFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseOnRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedFulfillBlock)(Value __nullable value) + NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedRejectBlock)(NSError *error) + NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise. + */ +- (instancetype)initPending NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ +- (instancetype)initWithResolution:(nullable id)resolution NS_SWIFT_UNAVAILABLE(""); + +/** + Invokes `fulfill` and `reject` blocks on `queue` when the receiver gets either fulfilled or + rejected respectively. + */ +- (void)observeOnQueue:(dispatch_queue_t)queue + fulfill:(FBLPromiseOnFulfillBlock)onFulfill + reject:(FBLPromiseOnRejectBlock)onReject NS_SWIFT_UNAVAILABLE(""); + +/** + Returns a new promise which gets resolved with the return value of `chainedFulfill` or + `chainedReject` blocks respectively. The blocks are invoked when the receiver gets either + fulfilled or rejected. If `nil` is passed to either block arg, the returned promise is resolved + with the same resolution as the receiver. + */ +- (FBLPromise *)chainOnQueue:(dispatch_queue_t)queue + chainedFulfill:(FBLPromiseChainedFulfillBlock)chainedFulfill + chainedReject:(FBLPromiseChainedRejectBlock)chainedReject NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Resources/FBLPromises_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Resources/FBLPromises_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..da48e45f380 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Resources/FBLPromises_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.FBLPromises-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBLPromises_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 2.4.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Resources/FBLPromises_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Resources/FBLPromises_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..5397adcb7b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Resources/FBLPromises_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..98973f2f5cf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBLPromises + CFBundleIdentifier + org.cocoapods.FBLPromises + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBLPromises + CFBundlePackageType + FMWK + CFBundleShortVersionString + 2.4.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-maccatalyst/FBLPromises.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises new file mode 100644 index 00000000000..d4cf43cbd90 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..6ec57cc2a51 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..5397adcb7b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+All.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+All.h new file mode 100644 index 00000000000..9c0090e2426 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+All.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AllAdditions) + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)all:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected FBLPromise correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + all:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `all` operators. + Usage: FBLPromise.all(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AllAdditions) + ++ (FBLPromise * (^)(NSArray *))all FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))allOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Always.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Always.h new file mode 100644 index 00000000000..13000f5b459 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Always.h @@ -0,0 +1,54 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AlwaysAdditions) + +typedef void (^FBLPromiseAlwaysWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)always:(FBLPromiseAlwaysWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to dispatch on. + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + always:(FBLPromiseAlwaysWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `always` operators. + Usage: promise.always(^{...}) + */ +@interface FBLPromise(DotSyntax_AlwaysAdditions) + +- (FBLPromise* (^)(FBLPromiseAlwaysWorkBlock))always FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAlwaysWorkBlock))alwaysOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Any.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Any.h new file mode 100644 index 00000000000..82875bf77ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Any.h @@ -0,0 +1,69 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AnyAdditions) + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSErrors`, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)any:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSError`s, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + any:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `any` operators. + Usage: FBLPromise.any(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AnyAdditions) + ++ (FBLPromise * (^)(NSArray *))any FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))anyOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Async.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Async.h new file mode 100644 index 00000000000..0588a9eafa6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Async.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AsyncAdditions) + +typedef void (^FBLPromiseFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseAsyncWorkBlock)(FBLPromiseFulfillBlock fulfill, + FBLPromiseRejectBlock reject) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)async:(FBLPromiseAsyncWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + async:(FBLPromiseAsyncWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `async` operators. + Usage: FBLPromise.async(^(FBLPromiseFulfillBlock fulfill, FBLPromiseRejectBlock reject) { ... }) + */ +@interface FBLPromise(DotSyntax_AsyncAdditions) + ++ (FBLPromise* (^)(FBLPromiseAsyncWorkBlock))async FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAsyncWorkBlock))asyncOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Await.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Await.h new file mode 100644 index 00000000000..c97a1baf41c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Await.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for promise resolution. The current thread blocks until the promise is resolved. + + @param promise Promise to wait for. + @param error Error the promise was rejected with, or `nil` if the promise was fulfilled. + @return Value the promise was fulfilled with. If the promise was rejected, the return value + is always `nil`, but the error out arg is not. + */ +FOUNDATION_EXTERN id __nullable FBLPromiseAwait(FBLPromise *promise, + NSError **error) NS_REFINED_FOR_SWIFT; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Catch.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Catch.h new file mode 100644 index 00000000000..a9ff170fc51 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Catch.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(CatchAdditions) + +typedef void (^FBLPromiseCatchWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously. + + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)catch:(FBLPromiseCatchWorkBlock)reject NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously on the given queue. + + @param queue A queue to invoke the `reject` block on. + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + catch:(FBLPromiseCatchWorkBlock)reject NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `catch` operators. + Usage: promise.catch(^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_CatchAdditions) + +- (FBLPromise* (^)(FBLPromiseCatchWorkBlock))catch FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseCatchWorkBlock))catchOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Delay.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Delay.h new file mode 100644 index 00000000000..557df4850fb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Delay.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DelayAdditions) + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)delay:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + delay:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `delay` operators. + Usage: promise.delay(...) + */ +@interface FBLPromise(DotSyntax_DelayAdditions) + +- (FBLPromise * (^)(NSTimeInterval))delay FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSTimeInterval))delayOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Do.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Do.h new file mode 100644 index 00000000000..6838e0adf0b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Do.h @@ -0,0 +1,55 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DoAdditions) + +typedef id __nullable (^FBLPromiseDoWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)do:(FBLPromiseDoWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue do:(FBLPromiseDoWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `do` operators. + Usage: FBLPromise.doOn(queue, ^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_DoAdditions) + ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseDoWorkBlock))doOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Race.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Race.h new file mode 100644 index 00000000000..2f67258deac --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Race.h @@ -0,0 +1,62 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RaceAdditions) + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)race:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue race:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `race` operators. + Usage: FBLPromise.race(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_RaceAdditions) + ++ (FBLPromise * (^)(NSArray *))race FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))raceOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Recover.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Recover.h new file mode 100644 index 00000000000..bb7df7ecfa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Recover.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RecoverAdditions) + +typedef id __nullable (^FBLPromiseRecoverWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)recover:(FBLPromiseRecoverWorkBlock)recovery NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param queue A queue to dispatch on. + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + recover:(FBLPromiseRecoverWorkBlock)recovery NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `recover` operators. + Usage: promise.recover(^id(NSError *error) {...}) + */ +@interface FBLPromise(DotSyntax_RecoverAdditions) + +- (FBLPromise * (^)(FBLPromiseRecoverWorkBlock))recover FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRecoverWorkBlock))recoverOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Reduce.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Reduce.h new file mode 100644 index 00000000000..5bb1eeee47d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Reduce.h @@ -0,0 +1,71 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ReduceAdditions) + +typedef id __nullable (^FBLPromiseReducerBlock)(Value __nullable partial, id next) + NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param queue A queue to dispatch on. + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `reduce` operators. + Usage: promise.reduce(values, ^id(id partial, id next) { ... }) + */ +@interface FBLPromise(DotSyntax_ReduceAdditions) + +- (FBLPromise * (^)(NSArray *, FBLPromiseReducerBlock))reduce FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSArray *, FBLPromiseReducerBlock))reduceOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Retry.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Retry.h new file mode 100644 index 00000000000..414a17a29ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Retry.h @@ -0,0 +1,165 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** The default number of retry attempts is 1. */ +FOUNDATION_EXTERN NSInteger const FBLPromiseRetryDefaultAttemptsCount NS_REFINED_FOR_SWIFT; + +/** The default delay interval before making a retry attempt is 1.0 second. */ +FOUNDATION_EXTERN NSTimeInterval const FBLPromiseRetryDefaultDelayInterval NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(RetryAdditions) + +typedef id __nullable (^FBLPromiseRetryWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); +typedef BOOL (^FBLPromiseRetryPredicateBlock)(NSInteger, NSError *) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on rejection where the + `work` block is retried after a delay of `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on + rejection where the `work` block is retried on the given `queue` after a delay of + `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param queue A queue to invoke the `work` block on. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. On rejection, the `work` block is retried after the given delay `interval` and will + continue to retry until the number of specified attempts have been exhausted or will bail early if + the given condition is not met. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. On rejection, the `work` block is retried after the given + delay `interval` and will continue to retry until the number of specified attempts have been + exhausted or will bail early if the given condition is not met. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise+Retry` operators. + Usage: FBLPromise.retry(^id { ... }) + */ +@interface FBLPromise(DotSyntax_RetryAdditions) + ++ (FBLPromise * (^)(FBLPromiseRetryWorkBlock))retry FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRetryWorkBlock))retryOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(NSInteger, NSTimeInterval, FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgain FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSInteger, NSTimeInterval, + FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgainOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Testing.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Testing.h new file mode 100644 index 00000000000..8478ae22933 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Testing.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for all scheduled promises blocks. + + @param timeout Maximum time to wait. + @return YES if all promises blocks have completed before the timeout and NO otherwise. + */ +FOUNDATION_EXTERN BOOL FBLWaitForPromisesWithTimeout(NSTimeInterval timeout) NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(TestingAdditions) + +/** + Dispatch group for promises that is typically used to wait for all scheduled blocks. + */ +@property(class, nonatomic, readonly) dispatch_group_t dispatchGroup NS_REFINED_FOR_SWIFT; + +/** + Properties to get the current state of the promise. + */ +@property(nonatomic, readonly) BOOL isPending NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isFulfilled NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isRejected NS_REFINED_FOR_SWIFT; + +/** + Value the promise was fulfilled with. + Can be nil if the promise is still pending, was resolved with nil or after it has been rejected. + */ +@property(nonatomic, readonly, nullable) Value value NS_REFINED_FOR_SWIFT; + +/** + Error the promise was rejected with. + Can be nil if the promise is still pending or after it has been fulfilled. + */ +@property(nonatomic, readonly, nullable) NSError *error NS_REFINED_FOR_SWIFT; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Then.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Then.h new file mode 100644 index 00000000000..32027e69738 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Then.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ThenAdditions) + +typedef id __nullable (^FBLPromiseThenWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously only + when the receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with + the same error. + + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)then:(FBLPromiseThenWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously when the + receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with the same + error. + + @param queue A queue to invoke the `work` block on. + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + then:(FBLPromiseThenWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `then` operators. + Usage: promise.then(^id(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ThenAdditions) + +- (FBLPromise* (^)(FBLPromiseThenWorkBlock))then FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseThenWorkBlock))thenOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Timeout.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Timeout.h new file mode 100644 index 00000000000..184ba166fa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Timeout.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(TimeoutAdditions) + +/** + Waits for a promise with the specified `timeout`. + + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)timeout:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Waits for a promise with the specified `timeout`. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + timeout:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `timeout` operators. + Usage: promise.timeout(...) + */ +@interface FBLPromise(DotSyntax_TimeoutAdditions) + +- (FBLPromise* (^)(NSTimeInterval))timeout FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, NSTimeInterval))timeoutOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Validate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Validate.h new file mode 100644 index 00000000000..9dfa2f16ae4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Validate.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ValidateAdditions) + +typedef BOOL (^FBLPromiseValidateWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)validate:(FBLPromiseValidateWorkBlock)predicate NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param queue A queue to dispatch on. + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + validate:(FBLPromiseValidateWorkBlock)predicate NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `validate` operators. + Usage: promise.validate(^BOOL(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ValidateAdditions) + +- (FBLPromise * (^)(FBLPromiseValidateWorkBlock))validate FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseValidateWorkBlock))validateOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Wrap.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Wrap.h new file mode 100644 index 00000000000..664e1bbffbf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Wrap.h @@ -0,0 +1,316 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Different types of completion handlers available to be wrapped with promise. + */ +typedef void (^FBLPromiseCompletion)(void) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectCompletion)(id __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorCompletion)(NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectOrErrorCompletion)(id __nullable, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorOrObjectCompletion)(NSError* __nullable, id __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromise2ObjectsOrErrorCompletion)(id __nullable, id __nullable, + NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolCompletion)(BOOL) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolOrErrorCompletion)(BOOL, NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerCompletion)(NSInteger) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerOrErrorCompletion)(NSInteger, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleCompletion)(double) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleOrErrorCompletion)(double, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); + +/** + Provides an easy way to convert methods that use common callback patterns into promises. + */ +@interface FBLPromise(WrapAdditions) + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)wrapCompletion:(void (^)(FBLPromiseCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapCompletion:(void (^)(FBLPromiseCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)wrapObjectOrErrorCompletion: + (void (^)(FBLPromiseObjectOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectOrErrorCompletion:(void (^)(FBLPromiseObjectOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)wrapErrorOrObjectCompletion: + (void (^)(FBLPromiseErrorOrObjectCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorOrObjectCompletion:(void (^)(FBLPromiseErrorOrObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)wrap2ObjectsOrErrorCompletion: + (void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrap2ObjectsOrErrorCompletion:(void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapBoolOrErrorCompletion: + (void (^)(FBLPromiseBoolOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolOrErrorCompletion:(void (^)(FBLPromiseBoolOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapIntegerOrErrorCompletion: + (void (^)(FBLPromiseIntegerOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerOrErrorCompletion:(void (^)(FBLPromiseIntegerOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapDoubleOrErrorCompletion: + (void (^)(FBLPromiseDoubleOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleOrErrorCompletion:(void (^)(FBLPromiseDoubleOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `wrap` operators. + Usage: FBLPromise.wrapCompletion(^(FBLPromiseCompletion handler) {...}) + */ +@interface FBLPromise(DotSyntax_WrapAdditions) + ++ (FBLPromise* (^)(void (^)(FBLPromiseCompletion)))wrapCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseCompletion)))wrapCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise.h new file mode 100644 index 00000000000..98c813b79d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise.h @@ -0,0 +1,93 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromiseError.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Promises synchronization construct in Objective-C. + */ +@interface FBLPromise<__covariant Value> : NSObject + +/** + Default dispatch queue used for `FBLPromise`, which is `main` if a queue is not specified. + */ +@property(class) dispatch_queue_t defaultDispatchQueue NS_REFINED_FOR_SWIFT; + +/** + Creates a pending promise. + */ ++ (instancetype)pendingPromise NS_REFINED_FOR_SWIFT; + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ ++ (instancetype)resolvedWith:(nullable id)resolution NS_REFINED_FOR_SWIFT; + +/** + Synchronously fulfills the promise with a value. + + @param value An arbitrary value to fulfill the promise with, including `nil`. + */ +- (void)fulfill:(nullable Value)value NS_REFINED_FOR_SWIFT; + +/** + Synchronously rejects the promise with an error. + + @param error An error to reject the promise with. + */ +- (void)reject:(NSError *)error NS_REFINED_FOR_SWIFT; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; +@end + +@interface FBLPromise() + +/** + Adds an object to the set of pending objects to keep strongly while the promise is pending. + Used by the Swift wrappers to keep them alive until the underlying ObjC promise is resolved. + + @param object An object to add. + */ +- (void)addPendingObject:(id)object NS_REFINED_FOR_SWIFT; + +@end + +#ifdef FBL_PROMISES_DOT_SYNTAX_IS_DEPRECATED +#define FBL_PROMISES_DOT_SYNTAX __attribute__((deprecated)) +#else +#define FBL_PROMISES_DOT_SYNTAX +#endif + +@interface FBLPromise(DotSyntaxAdditions) + +/** + Convenience dot-syntax wrappers for FBLPromise. + Usage: FBLPromise.pending() + FBLPromise.resolved(value) + + */ ++ (FBLPromise * (^)(void))pending FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(id __nullable))resolved FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromiseError.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromiseError.h new file mode 100644 index 00000000000..d37af536c60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromiseError.h @@ -0,0 +1,43 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXTERN NSErrorDomain const FBLPromiseErrorDomain NS_REFINED_FOR_SWIFT; + +/** + Possible error codes in `FBLPromiseErrorDomain`. + */ +typedef NS_ENUM(NSInteger, FBLPromiseErrorCode) { + /** Promise failed to resolve in time. */ + FBLPromiseErrorCodeTimedOut = 1, + /** Validation predicate returned false. */ + FBLPromiseErrorCodeValidationFailure = 2, +} NS_REFINED_FOR_SWIFT; + +NS_INLINE BOOL FBLPromiseErrorIsTimedOut(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeTimedOut; +} + +NS_INLINE BOOL FBLPromiseErrorIsValidationFailure(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeValidationFailure; +} + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromises.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromises.h new file mode 100644 index 00000000000..2d90badb17b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromises.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/PromisesObjC-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/PromisesObjC-umbrella.h new file mode 100644 index 00000000000..5b014a8b3f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Headers/PromisesObjC-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Testing.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" +#import "FBLPromise.h" +#import "FBLPromiseError.h" +#import "FBLPromises.h" + +FOUNDATION_EXPORT double FBLPromisesVersionNumber; +FOUNDATION_EXPORT const unsigned char FBLPromisesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Info.plist new file mode 100644 index 00000000000..65f6973794a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBLPromises + CFBundleIdentifier + org.cocoapods.FBLPromises + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBLPromises + CFBundlePackageType + FMWK + CFBundleShortVersionString + 2.4.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Modules/module.modulemap new file mode 100644 index 00000000000..bd7b48e165d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module PromisesObjC { +umbrella header "PromisesObjC-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h new file mode 100644 index 00000000000..7a132f2030f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/ios-arm64_x86_64-simulator/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h @@ -0,0 +1,66 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+Testing.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Miscellaneous low-level private interfaces available to extend standard FBLPromise functionality. + */ +@interface FBLPromise() + +typedef void (^FBLPromiseOnFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseOnRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedFulfillBlock)(Value __nullable value) + NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedRejectBlock)(NSError *error) + NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise. + */ +- (instancetype)initPending NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ +- (instancetype)initWithResolution:(nullable id)resolution NS_SWIFT_UNAVAILABLE(""); + +/** + Invokes `fulfill` and `reject` blocks on `queue` when the receiver gets either fulfilled or + rejected respectively. + */ +- (void)observeOnQueue:(dispatch_queue_t)queue + fulfill:(FBLPromiseOnFulfillBlock)onFulfill + reject:(FBLPromiseOnRejectBlock)onReject NS_SWIFT_UNAVAILABLE(""); + +/** + Returns a new promise which gets resolved with the return value of `chainedFulfill` or + `chainedReject` blocks respectively. The blocks are invoked when the receiver gets either + fulfilled or rejected. If `nil` is passed to either block arg, the returned promise is resolved + with the same resolution as the receiver. + */ +- (FBLPromise *)chainOnQueue:(dispatch_queue_t)queue + chainedFulfill:(FBLPromiseChainedFulfillBlock)chainedFulfill + chainedReject:(FBLPromiseChainedRejectBlock)chainedReject NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/FBLPromises b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/FBLPromises new file mode 120000 index 00000000000..c2fcede2c8b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/FBLPromises @@ -0,0 +1 @@ +Versions/Current/FBLPromises \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/PrivateHeaders b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/PrivateHeaders new file mode 120000 index 00000000000..d8e56452691 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/PrivateHeaders @@ -0,0 +1 @@ +Versions/Current/PrivateHeaders \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/FBLPromises b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/FBLPromises new file mode 100644 index 00000000000..18b96bfac39 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/FBLPromises differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+All.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+All.h new file mode 100644 index 00000000000..9c0090e2426 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+All.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AllAdditions) + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)all:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected FBLPromise correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + all:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `all` operators. + Usage: FBLPromise.all(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AllAdditions) + ++ (FBLPromise * (^)(NSArray *))all FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))allOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Always.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Always.h new file mode 100644 index 00000000000..13000f5b459 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Always.h @@ -0,0 +1,54 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AlwaysAdditions) + +typedef void (^FBLPromiseAlwaysWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)always:(FBLPromiseAlwaysWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to dispatch on. + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + always:(FBLPromiseAlwaysWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `always` operators. + Usage: promise.always(^{...}) + */ +@interface FBLPromise(DotSyntax_AlwaysAdditions) + +- (FBLPromise* (^)(FBLPromiseAlwaysWorkBlock))always FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAlwaysWorkBlock))alwaysOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Any.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Any.h new file mode 100644 index 00000000000..82875bf77ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Any.h @@ -0,0 +1,69 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AnyAdditions) + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSErrors`, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)any:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSError`s, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + any:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `any` operators. + Usage: FBLPromise.any(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AnyAdditions) + ++ (FBLPromise * (^)(NSArray *))any FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))anyOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Async.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Async.h new file mode 100644 index 00000000000..0588a9eafa6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Async.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AsyncAdditions) + +typedef void (^FBLPromiseFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseAsyncWorkBlock)(FBLPromiseFulfillBlock fulfill, + FBLPromiseRejectBlock reject) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)async:(FBLPromiseAsyncWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + async:(FBLPromiseAsyncWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `async` operators. + Usage: FBLPromise.async(^(FBLPromiseFulfillBlock fulfill, FBLPromiseRejectBlock reject) { ... }) + */ +@interface FBLPromise(DotSyntax_AsyncAdditions) + ++ (FBLPromise* (^)(FBLPromiseAsyncWorkBlock))async FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAsyncWorkBlock))asyncOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Await.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Await.h new file mode 100644 index 00000000000..c97a1baf41c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Await.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for promise resolution. The current thread blocks until the promise is resolved. + + @param promise Promise to wait for. + @param error Error the promise was rejected with, or `nil` if the promise was fulfilled. + @return Value the promise was fulfilled with. If the promise was rejected, the return value + is always `nil`, but the error out arg is not. + */ +FOUNDATION_EXTERN id __nullable FBLPromiseAwait(FBLPromise *promise, + NSError **error) NS_REFINED_FOR_SWIFT; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Catch.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Catch.h new file mode 100644 index 00000000000..a9ff170fc51 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Catch.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(CatchAdditions) + +typedef void (^FBLPromiseCatchWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously. + + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)catch:(FBLPromiseCatchWorkBlock)reject NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously on the given queue. + + @param queue A queue to invoke the `reject` block on. + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + catch:(FBLPromiseCatchWorkBlock)reject NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `catch` operators. + Usage: promise.catch(^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_CatchAdditions) + +- (FBLPromise* (^)(FBLPromiseCatchWorkBlock))catch FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseCatchWorkBlock))catchOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Delay.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Delay.h new file mode 100644 index 00000000000..557df4850fb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Delay.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DelayAdditions) + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)delay:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + delay:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `delay` operators. + Usage: promise.delay(...) + */ +@interface FBLPromise(DotSyntax_DelayAdditions) + +- (FBLPromise * (^)(NSTimeInterval))delay FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSTimeInterval))delayOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Do.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Do.h new file mode 100644 index 00000000000..6838e0adf0b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Do.h @@ -0,0 +1,55 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DoAdditions) + +typedef id __nullable (^FBLPromiseDoWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)do:(FBLPromiseDoWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue do:(FBLPromiseDoWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `do` operators. + Usage: FBLPromise.doOn(queue, ^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_DoAdditions) + ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseDoWorkBlock))doOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Race.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Race.h new file mode 100644 index 00000000000..2f67258deac --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Race.h @@ -0,0 +1,62 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RaceAdditions) + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)race:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue race:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `race` operators. + Usage: FBLPromise.race(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_RaceAdditions) + ++ (FBLPromise * (^)(NSArray *))race FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))raceOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Recover.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Recover.h new file mode 100644 index 00000000000..bb7df7ecfa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Recover.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RecoverAdditions) + +typedef id __nullable (^FBLPromiseRecoverWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)recover:(FBLPromiseRecoverWorkBlock)recovery NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param queue A queue to dispatch on. + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + recover:(FBLPromiseRecoverWorkBlock)recovery NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `recover` operators. + Usage: promise.recover(^id(NSError *error) {...}) + */ +@interface FBLPromise(DotSyntax_RecoverAdditions) + +- (FBLPromise * (^)(FBLPromiseRecoverWorkBlock))recover FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRecoverWorkBlock))recoverOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Reduce.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Reduce.h new file mode 100644 index 00000000000..5bb1eeee47d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Reduce.h @@ -0,0 +1,71 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ReduceAdditions) + +typedef id __nullable (^FBLPromiseReducerBlock)(Value __nullable partial, id next) + NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param queue A queue to dispatch on. + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `reduce` operators. + Usage: promise.reduce(values, ^id(id partial, id next) { ... }) + */ +@interface FBLPromise(DotSyntax_ReduceAdditions) + +- (FBLPromise * (^)(NSArray *, FBLPromiseReducerBlock))reduce FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSArray *, FBLPromiseReducerBlock))reduceOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Retry.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Retry.h new file mode 100644 index 00000000000..414a17a29ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Retry.h @@ -0,0 +1,165 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** The default number of retry attempts is 1. */ +FOUNDATION_EXTERN NSInteger const FBLPromiseRetryDefaultAttemptsCount NS_REFINED_FOR_SWIFT; + +/** The default delay interval before making a retry attempt is 1.0 second. */ +FOUNDATION_EXTERN NSTimeInterval const FBLPromiseRetryDefaultDelayInterval NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(RetryAdditions) + +typedef id __nullable (^FBLPromiseRetryWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); +typedef BOOL (^FBLPromiseRetryPredicateBlock)(NSInteger, NSError *) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on rejection where the + `work` block is retried after a delay of `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on + rejection where the `work` block is retried on the given `queue` after a delay of + `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param queue A queue to invoke the `work` block on. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. On rejection, the `work` block is retried after the given delay `interval` and will + continue to retry until the number of specified attempts have been exhausted or will bail early if + the given condition is not met. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. On rejection, the `work` block is retried after the given + delay `interval` and will continue to retry until the number of specified attempts have been + exhausted or will bail early if the given condition is not met. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise+Retry` operators. + Usage: FBLPromise.retry(^id { ... }) + */ +@interface FBLPromise(DotSyntax_RetryAdditions) + ++ (FBLPromise * (^)(FBLPromiseRetryWorkBlock))retry FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRetryWorkBlock))retryOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(NSInteger, NSTimeInterval, FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgain FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSInteger, NSTimeInterval, + FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgainOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Testing.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Testing.h new file mode 100644 index 00000000000..8478ae22933 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Testing.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for all scheduled promises blocks. + + @param timeout Maximum time to wait. + @return YES if all promises blocks have completed before the timeout and NO otherwise. + */ +FOUNDATION_EXTERN BOOL FBLWaitForPromisesWithTimeout(NSTimeInterval timeout) NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(TestingAdditions) + +/** + Dispatch group for promises that is typically used to wait for all scheduled blocks. + */ +@property(class, nonatomic, readonly) dispatch_group_t dispatchGroup NS_REFINED_FOR_SWIFT; + +/** + Properties to get the current state of the promise. + */ +@property(nonatomic, readonly) BOOL isPending NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isFulfilled NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isRejected NS_REFINED_FOR_SWIFT; + +/** + Value the promise was fulfilled with. + Can be nil if the promise is still pending, was resolved with nil or after it has been rejected. + */ +@property(nonatomic, readonly, nullable) Value value NS_REFINED_FOR_SWIFT; + +/** + Error the promise was rejected with. + Can be nil if the promise is still pending or after it has been fulfilled. + */ +@property(nonatomic, readonly, nullable) NSError *error NS_REFINED_FOR_SWIFT; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Then.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Then.h new file mode 100644 index 00000000000..32027e69738 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Then.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ThenAdditions) + +typedef id __nullable (^FBLPromiseThenWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously only + when the receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with + the same error. + + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)then:(FBLPromiseThenWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously when the + receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with the same + error. + + @param queue A queue to invoke the `work` block on. + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + then:(FBLPromiseThenWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `then` operators. + Usage: promise.then(^id(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ThenAdditions) + +- (FBLPromise* (^)(FBLPromiseThenWorkBlock))then FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseThenWorkBlock))thenOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Timeout.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Timeout.h new file mode 100644 index 00000000000..184ba166fa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Timeout.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(TimeoutAdditions) + +/** + Waits for a promise with the specified `timeout`. + + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)timeout:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Waits for a promise with the specified `timeout`. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + timeout:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `timeout` operators. + Usage: promise.timeout(...) + */ +@interface FBLPromise(DotSyntax_TimeoutAdditions) + +- (FBLPromise* (^)(NSTimeInterval))timeout FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, NSTimeInterval))timeoutOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Validate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Validate.h new file mode 100644 index 00000000000..9dfa2f16ae4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Validate.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ValidateAdditions) + +typedef BOOL (^FBLPromiseValidateWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)validate:(FBLPromiseValidateWorkBlock)predicate NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param queue A queue to dispatch on. + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + validate:(FBLPromiseValidateWorkBlock)predicate NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `validate` operators. + Usage: promise.validate(^BOOL(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ValidateAdditions) + +- (FBLPromise * (^)(FBLPromiseValidateWorkBlock))validate FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseValidateWorkBlock))validateOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Wrap.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Wrap.h new file mode 100644 index 00000000000..664e1bbffbf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise+Wrap.h @@ -0,0 +1,316 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Different types of completion handlers available to be wrapped with promise. + */ +typedef void (^FBLPromiseCompletion)(void) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectCompletion)(id __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorCompletion)(NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectOrErrorCompletion)(id __nullable, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorOrObjectCompletion)(NSError* __nullable, id __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromise2ObjectsOrErrorCompletion)(id __nullable, id __nullable, + NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolCompletion)(BOOL) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolOrErrorCompletion)(BOOL, NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerCompletion)(NSInteger) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerOrErrorCompletion)(NSInteger, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleCompletion)(double) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleOrErrorCompletion)(double, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); + +/** + Provides an easy way to convert methods that use common callback patterns into promises. + */ +@interface FBLPromise(WrapAdditions) + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)wrapCompletion:(void (^)(FBLPromiseCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapCompletion:(void (^)(FBLPromiseCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)wrapObjectOrErrorCompletion: + (void (^)(FBLPromiseObjectOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectOrErrorCompletion:(void (^)(FBLPromiseObjectOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)wrapErrorOrObjectCompletion: + (void (^)(FBLPromiseErrorOrObjectCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorOrObjectCompletion:(void (^)(FBLPromiseErrorOrObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)wrap2ObjectsOrErrorCompletion: + (void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrap2ObjectsOrErrorCompletion:(void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapBoolOrErrorCompletion: + (void (^)(FBLPromiseBoolOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolOrErrorCompletion:(void (^)(FBLPromiseBoolOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapIntegerOrErrorCompletion: + (void (^)(FBLPromiseIntegerOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerOrErrorCompletion:(void (^)(FBLPromiseIntegerOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapDoubleOrErrorCompletion: + (void (^)(FBLPromiseDoubleOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleOrErrorCompletion:(void (^)(FBLPromiseDoubleOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `wrap` operators. + Usage: FBLPromise.wrapCompletion(^(FBLPromiseCompletion handler) {...}) + */ +@interface FBLPromise(DotSyntax_WrapAdditions) + ++ (FBLPromise* (^)(void (^)(FBLPromiseCompletion)))wrapCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseCompletion)))wrapCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise.h new file mode 100644 index 00000000000..98c813b79d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromise.h @@ -0,0 +1,93 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromiseError.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Promises synchronization construct in Objective-C. + */ +@interface FBLPromise<__covariant Value> : NSObject + +/** + Default dispatch queue used for `FBLPromise`, which is `main` if a queue is not specified. + */ +@property(class) dispatch_queue_t defaultDispatchQueue NS_REFINED_FOR_SWIFT; + +/** + Creates a pending promise. + */ ++ (instancetype)pendingPromise NS_REFINED_FOR_SWIFT; + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ ++ (instancetype)resolvedWith:(nullable id)resolution NS_REFINED_FOR_SWIFT; + +/** + Synchronously fulfills the promise with a value. + + @param value An arbitrary value to fulfill the promise with, including `nil`. + */ +- (void)fulfill:(nullable Value)value NS_REFINED_FOR_SWIFT; + +/** + Synchronously rejects the promise with an error. + + @param error An error to reject the promise with. + */ +- (void)reject:(NSError *)error NS_REFINED_FOR_SWIFT; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; +@end + +@interface FBLPromise() + +/** + Adds an object to the set of pending objects to keep strongly while the promise is pending. + Used by the Swift wrappers to keep them alive until the underlying ObjC promise is resolved. + + @param object An object to add. + */ +- (void)addPendingObject:(id)object NS_REFINED_FOR_SWIFT; + +@end + +#ifdef FBL_PROMISES_DOT_SYNTAX_IS_DEPRECATED +#define FBL_PROMISES_DOT_SYNTAX __attribute__((deprecated)) +#else +#define FBL_PROMISES_DOT_SYNTAX +#endif + +@interface FBLPromise(DotSyntaxAdditions) + +/** + Convenience dot-syntax wrappers for FBLPromise. + Usage: FBLPromise.pending() + FBLPromise.resolved(value) + + */ ++ (FBLPromise * (^)(void))pending FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(id __nullable))resolved FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromiseError.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromiseError.h new file mode 100644 index 00000000000..d37af536c60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromiseError.h @@ -0,0 +1,43 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXTERN NSErrorDomain const FBLPromiseErrorDomain NS_REFINED_FOR_SWIFT; + +/** + Possible error codes in `FBLPromiseErrorDomain`. + */ +typedef NS_ENUM(NSInteger, FBLPromiseErrorCode) { + /** Promise failed to resolve in time. */ + FBLPromiseErrorCodeTimedOut = 1, + /** Validation predicate returned false. */ + FBLPromiseErrorCodeValidationFailure = 2, +} NS_REFINED_FOR_SWIFT; + +NS_INLINE BOOL FBLPromiseErrorIsTimedOut(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeTimedOut; +} + +NS_INLINE BOOL FBLPromiseErrorIsValidationFailure(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeValidationFailure; +} + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromises.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromises.h new file mode 100644 index 00000000000..2d90badb17b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/FBLPromises.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/PromisesObjC-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/PromisesObjC-umbrella.h new file mode 100644 index 00000000000..7447f7c9022 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Headers/PromisesObjC-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Testing.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" +#import "FBLPromise.h" +#import "FBLPromiseError.h" +#import "FBLPromises.h" + +FOUNDATION_EXPORT double FBLPromisesVersionNumber; +FOUNDATION_EXPORT const unsigned char FBLPromisesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..bd7b48e165d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module PromisesObjC { +umbrella header "PromisesObjC-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/PrivateHeaders/FBLPromisePrivate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/PrivateHeaders/FBLPromisePrivate.h new file mode 100644 index 00000000000..7a132f2030f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/PrivateHeaders/FBLPromisePrivate.h @@ -0,0 +1,66 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+Testing.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Miscellaneous low-level private interfaces available to extend standard FBLPromise functionality. + */ +@interface FBLPromise() + +typedef void (^FBLPromiseOnFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseOnRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedFulfillBlock)(Value __nullable value) + NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedRejectBlock)(NSError *error) + NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise. + */ +- (instancetype)initPending NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ +- (instancetype)initWithResolution:(nullable id)resolution NS_SWIFT_UNAVAILABLE(""); + +/** + Invokes `fulfill` and `reject` blocks on `queue` when the receiver gets either fulfilled or + rejected respectively. + */ +- (void)observeOnQueue:(dispatch_queue_t)queue + fulfill:(FBLPromiseOnFulfillBlock)onFulfill + reject:(FBLPromiseOnRejectBlock)onReject NS_SWIFT_UNAVAILABLE(""); + +/** + Returns a new promise which gets resolved with the return value of `chainedFulfill` or + `chainedReject` blocks respectively. The blocks are invoked when the receiver gets either + fulfilled or rejected. If `nil` is passed to either block arg, the returned promise is resolved + with the same resolution as the receiver. + */ +- (FBLPromise *)chainOnQueue:(dispatch_queue_t)queue + chainedFulfill:(FBLPromiseChainedFulfillBlock)chainedFulfill + chainedReject:(FBLPromiseChainedRejectBlock)chainedReject NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Resources/FBLPromises_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Resources/FBLPromises_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..cb875c3c4c6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Resources/FBLPromises_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,46 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.FBLPromises-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBLPromises_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 2.4.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.11 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Resources/FBLPromises_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Resources/FBLPromises_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..5397adcb7b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Resources/FBLPromises_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..f3c330277af --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBLPromises + CFBundleIdentifier + org.cocoapods.FBLPromises + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBLPromises + CFBundlePackageType + FMWK + CFBundleShortVersionString + 2.4.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.11 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/macos-arm64_x86_64/FBLPromises.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/FBLPromises b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/FBLPromises new file mode 100644 index 00000000000..f3459fdc74f Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/FBLPromises differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..0589f192f71 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..5397adcb7b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+All.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+All.h new file mode 100644 index 00000000000..9c0090e2426 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+All.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AllAdditions) + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)all:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected FBLPromise correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + all:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `all` operators. + Usage: FBLPromise.all(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AllAdditions) + ++ (FBLPromise * (^)(NSArray *))all FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))allOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Always.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Always.h new file mode 100644 index 00000000000..13000f5b459 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Always.h @@ -0,0 +1,54 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AlwaysAdditions) + +typedef void (^FBLPromiseAlwaysWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)always:(FBLPromiseAlwaysWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to dispatch on. + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + always:(FBLPromiseAlwaysWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `always` operators. + Usage: promise.always(^{...}) + */ +@interface FBLPromise(DotSyntax_AlwaysAdditions) + +- (FBLPromise* (^)(FBLPromiseAlwaysWorkBlock))always FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAlwaysWorkBlock))alwaysOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Any.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Any.h new file mode 100644 index 00000000000..82875bf77ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Any.h @@ -0,0 +1,69 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AnyAdditions) + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSErrors`, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)any:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSError`s, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + any:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `any` operators. + Usage: FBLPromise.any(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AnyAdditions) + ++ (FBLPromise * (^)(NSArray *))any FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))anyOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Async.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Async.h new file mode 100644 index 00000000000..0588a9eafa6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Async.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AsyncAdditions) + +typedef void (^FBLPromiseFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseAsyncWorkBlock)(FBLPromiseFulfillBlock fulfill, + FBLPromiseRejectBlock reject) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)async:(FBLPromiseAsyncWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + async:(FBLPromiseAsyncWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `async` operators. + Usage: FBLPromise.async(^(FBLPromiseFulfillBlock fulfill, FBLPromiseRejectBlock reject) { ... }) + */ +@interface FBLPromise(DotSyntax_AsyncAdditions) + ++ (FBLPromise* (^)(FBLPromiseAsyncWorkBlock))async FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAsyncWorkBlock))asyncOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Await.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Await.h new file mode 100644 index 00000000000..c97a1baf41c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Await.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for promise resolution. The current thread blocks until the promise is resolved. + + @param promise Promise to wait for. + @param error Error the promise was rejected with, or `nil` if the promise was fulfilled. + @return Value the promise was fulfilled with. If the promise was rejected, the return value + is always `nil`, but the error out arg is not. + */ +FOUNDATION_EXTERN id __nullable FBLPromiseAwait(FBLPromise *promise, + NSError **error) NS_REFINED_FOR_SWIFT; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Catch.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Catch.h new file mode 100644 index 00000000000..a9ff170fc51 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Catch.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(CatchAdditions) + +typedef void (^FBLPromiseCatchWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously. + + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)catch:(FBLPromiseCatchWorkBlock)reject NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously on the given queue. + + @param queue A queue to invoke the `reject` block on. + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + catch:(FBLPromiseCatchWorkBlock)reject NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `catch` operators. + Usage: promise.catch(^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_CatchAdditions) + +- (FBLPromise* (^)(FBLPromiseCatchWorkBlock))catch FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseCatchWorkBlock))catchOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Delay.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Delay.h new file mode 100644 index 00000000000..557df4850fb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Delay.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DelayAdditions) + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)delay:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + delay:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `delay` operators. + Usage: promise.delay(...) + */ +@interface FBLPromise(DotSyntax_DelayAdditions) + +- (FBLPromise * (^)(NSTimeInterval))delay FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSTimeInterval))delayOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Do.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Do.h new file mode 100644 index 00000000000..6838e0adf0b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Do.h @@ -0,0 +1,55 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DoAdditions) + +typedef id __nullable (^FBLPromiseDoWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)do:(FBLPromiseDoWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue do:(FBLPromiseDoWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `do` operators. + Usage: FBLPromise.doOn(queue, ^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_DoAdditions) + ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseDoWorkBlock))doOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Race.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Race.h new file mode 100644 index 00000000000..2f67258deac --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Race.h @@ -0,0 +1,62 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RaceAdditions) + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)race:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue race:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `race` operators. + Usage: FBLPromise.race(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_RaceAdditions) + ++ (FBLPromise * (^)(NSArray *))race FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))raceOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Recover.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Recover.h new file mode 100644 index 00000000000..bb7df7ecfa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Recover.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RecoverAdditions) + +typedef id __nullable (^FBLPromiseRecoverWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)recover:(FBLPromiseRecoverWorkBlock)recovery NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param queue A queue to dispatch on. + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + recover:(FBLPromiseRecoverWorkBlock)recovery NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `recover` operators. + Usage: promise.recover(^id(NSError *error) {...}) + */ +@interface FBLPromise(DotSyntax_RecoverAdditions) + +- (FBLPromise * (^)(FBLPromiseRecoverWorkBlock))recover FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRecoverWorkBlock))recoverOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Reduce.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Reduce.h new file mode 100644 index 00000000000..5bb1eeee47d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Reduce.h @@ -0,0 +1,71 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ReduceAdditions) + +typedef id __nullable (^FBLPromiseReducerBlock)(Value __nullable partial, id next) + NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param queue A queue to dispatch on. + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `reduce` operators. + Usage: promise.reduce(values, ^id(id partial, id next) { ... }) + */ +@interface FBLPromise(DotSyntax_ReduceAdditions) + +- (FBLPromise * (^)(NSArray *, FBLPromiseReducerBlock))reduce FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSArray *, FBLPromiseReducerBlock))reduceOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Retry.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Retry.h new file mode 100644 index 00000000000..414a17a29ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Retry.h @@ -0,0 +1,165 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** The default number of retry attempts is 1. */ +FOUNDATION_EXTERN NSInteger const FBLPromiseRetryDefaultAttemptsCount NS_REFINED_FOR_SWIFT; + +/** The default delay interval before making a retry attempt is 1.0 second. */ +FOUNDATION_EXTERN NSTimeInterval const FBLPromiseRetryDefaultDelayInterval NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(RetryAdditions) + +typedef id __nullable (^FBLPromiseRetryWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); +typedef BOOL (^FBLPromiseRetryPredicateBlock)(NSInteger, NSError *) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on rejection where the + `work` block is retried after a delay of `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on + rejection where the `work` block is retried on the given `queue` after a delay of + `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param queue A queue to invoke the `work` block on. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. On rejection, the `work` block is retried after the given delay `interval` and will + continue to retry until the number of specified attempts have been exhausted or will bail early if + the given condition is not met. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. On rejection, the `work` block is retried after the given + delay `interval` and will continue to retry until the number of specified attempts have been + exhausted or will bail early if the given condition is not met. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise+Retry` operators. + Usage: FBLPromise.retry(^id { ... }) + */ +@interface FBLPromise(DotSyntax_RetryAdditions) + ++ (FBLPromise * (^)(FBLPromiseRetryWorkBlock))retry FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRetryWorkBlock))retryOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(NSInteger, NSTimeInterval, FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgain FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSInteger, NSTimeInterval, + FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgainOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Testing.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Testing.h new file mode 100644 index 00000000000..8478ae22933 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Testing.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for all scheduled promises blocks. + + @param timeout Maximum time to wait. + @return YES if all promises blocks have completed before the timeout and NO otherwise. + */ +FOUNDATION_EXTERN BOOL FBLWaitForPromisesWithTimeout(NSTimeInterval timeout) NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(TestingAdditions) + +/** + Dispatch group for promises that is typically used to wait for all scheduled blocks. + */ +@property(class, nonatomic, readonly) dispatch_group_t dispatchGroup NS_REFINED_FOR_SWIFT; + +/** + Properties to get the current state of the promise. + */ +@property(nonatomic, readonly) BOOL isPending NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isFulfilled NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isRejected NS_REFINED_FOR_SWIFT; + +/** + Value the promise was fulfilled with. + Can be nil if the promise is still pending, was resolved with nil or after it has been rejected. + */ +@property(nonatomic, readonly, nullable) Value value NS_REFINED_FOR_SWIFT; + +/** + Error the promise was rejected with. + Can be nil if the promise is still pending or after it has been fulfilled. + */ +@property(nonatomic, readonly, nullable) NSError *error NS_REFINED_FOR_SWIFT; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Then.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Then.h new file mode 100644 index 00000000000..32027e69738 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Then.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ThenAdditions) + +typedef id __nullable (^FBLPromiseThenWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously only + when the receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with + the same error. + + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)then:(FBLPromiseThenWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously when the + receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with the same + error. + + @param queue A queue to invoke the `work` block on. + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + then:(FBLPromiseThenWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `then` operators. + Usage: promise.then(^id(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ThenAdditions) + +- (FBLPromise* (^)(FBLPromiseThenWorkBlock))then FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseThenWorkBlock))thenOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Timeout.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Timeout.h new file mode 100644 index 00000000000..184ba166fa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Timeout.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(TimeoutAdditions) + +/** + Waits for a promise with the specified `timeout`. + + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)timeout:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Waits for a promise with the specified `timeout`. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + timeout:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `timeout` operators. + Usage: promise.timeout(...) + */ +@interface FBLPromise(DotSyntax_TimeoutAdditions) + +- (FBLPromise* (^)(NSTimeInterval))timeout FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, NSTimeInterval))timeoutOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Validate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Validate.h new file mode 100644 index 00000000000..9dfa2f16ae4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Validate.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ValidateAdditions) + +typedef BOOL (^FBLPromiseValidateWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)validate:(FBLPromiseValidateWorkBlock)predicate NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param queue A queue to dispatch on. + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + validate:(FBLPromiseValidateWorkBlock)predicate NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `validate` operators. + Usage: promise.validate(^BOOL(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ValidateAdditions) + +- (FBLPromise * (^)(FBLPromiseValidateWorkBlock))validate FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseValidateWorkBlock))validateOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Wrap.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Wrap.h new file mode 100644 index 00000000000..664e1bbffbf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise+Wrap.h @@ -0,0 +1,316 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Different types of completion handlers available to be wrapped with promise. + */ +typedef void (^FBLPromiseCompletion)(void) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectCompletion)(id __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorCompletion)(NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectOrErrorCompletion)(id __nullable, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorOrObjectCompletion)(NSError* __nullable, id __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromise2ObjectsOrErrorCompletion)(id __nullable, id __nullable, + NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolCompletion)(BOOL) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolOrErrorCompletion)(BOOL, NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerCompletion)(NSInteger) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerOrErrorCompletion)(NSInteger, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleCompletion)(double) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleOrErrorCompletion)(double, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); + +/** + Provides an easy way to convert methods that use common callback patterns into promises. + */ +@interface FBLPromise(WrapAdditions) + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)wrapCompletion:(void (^)(FBLPromiseCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapCompletion:(void (^)(FBLPromiseCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)wrapObjectOrErrorCompletion: + (void (^)(FBLPromiseObjectOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectOrErrorCompletion:(void (^)(FBLPromiseObjectOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)wrapErrorOrObjectCompletion: + (void (^)(FBLPromiseErrorOrObjectCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorOrObjectCompletion:(void (^)(FBLPromiseErrorOrObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)wrap2ObjectsOrErrorCompletion: + (void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrap2ObjectsOrErrorCompletion:(void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapBoolOrErrorCompletion: + (void (^)(FBLPromiseBoolOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolOrErrorCompletion:(void (^)(FBLPromiseBoolOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapIntegerOrErrorCompletion: + (void (^)(FBLPromiseIntegerOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerOrErrorCompletion:(void (^)(FBLPromiseIntegerOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapDoubleOrErrorCompletion: + (void (^)(FBLPromiseDoubleOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleOrErrorCompletion:(void (^)(FBLPromiseDoubleOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `wrap` operators. + Usage: FBLPromise.wrapCompletion(^(FBLPromiseCompletion handler) {...}) + */ +@interface FBLPromise(DotSyntax_WrapAdditions) + ++ (FBLPromise* (^)(void (^)(FBLPromiseCompletion)))wrapCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseCompletion)))wrapCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise.h new file mode 100644 index 00000000000..98c813b79d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromise.h @@ -0,0 +1,93 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromiseError.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Promises synchronization construct in Objective-C. + */ +@interface FBLPromise<__covariant Value> : NSObject + +/** + Default dispatch queue used for `FBLPromise`, which is `main` if a queue is not specified. + */ +@property(class) dispatch_queue_t defaultDispatchQueue NS_REFINED_FOR_SWIFT; + +/** + Creates a pending promise. + */ ++ (instancetype)pendingPromise NS_REFINED_FOR_SWIFT; + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ ++ (instancetype)resolvedWith:(nullable id)resolution NS_REFINED_FOR_SWIFT; + +/** + Synchronously fulfills the promise with a value. + + @param value An arbitrary value to fulfill the promise with, including `nil`. + */ +- (void)fulfill:(nullable Value)value NS_REFINED_FOR_SWIFT; + +/** + Synchronously rejects the promise with an error. + + @param error An error to reject the promise with. + */ +- (void)reject:(NSError *)error NS_REFINED_FOR_SWIFT; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; +@end + +@interface FBLPromise() + +/** + Adds an object to the set of pending objects to keep strongly while the promise is pending. + Used by the Swift wrappers to keep them alive until the underlying ObjC promise is resolved. + + @param object An object to add. + */ +- (void)addPendingObject:(id)object NS_REFINED_FOR_SWIFT; + +@end + +#ifdef FBL_PROMISES_DOT_SYNTAX_IS_DEPRECATED +#define FBL_PROMISES_DOT_SYNTAX __attribute__((deprecated)) +#else +#define FBL_PROMISES_DOT_SYNTAX +#endif + +@interface FBLPromise(DotSyntaxAdditions) + +/** + Convenience dot-syntax wrappers for FBLPromise. + Usage: FBLPromise.pending() + FBLPromise.resolved(value) + + */ ++ (FBLPromise * (^)(void))pending FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(id __nullable))resolved FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromiseError.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromiseError.h new file mode 100644 index 00000000000..d37af536c60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromiseError.h @@ -0,0 +1,43 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXTERN NSErrorDomain const FBLPromiseErrorDomain NS_REFINED_FOR_SWIFT; + +/** + Possible error codes in `FBLPromiseErrorDomain`. + */ +typedef NS_ENUM(NSInteger, FBLPromiseErrorCode) { + /** Promise failed to resolve in time. */ + FBLPromiseErrorCodeTimedOut = 1, + /** Validation predicate returned false. */ + FBLPromiseErrorCodeValidationFailure = 2, +} NS_REFINED_FOR_SWIFT; + +NS_INLINE BOOL FBLPromiseErrorIsTimedOut(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeTimedOut; +} + +NS_INLINE BOOL FBLPromiseErrorIsValidationFailure(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeValidationFailure; +} + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromises.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromises.h new file mode 100644 index 00000000000..2d90badb17b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/FBLPromises.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/PromisesObjC-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/PromisesObjC-umbrella.h new file mode 100644 index 00000000000..5b014a8b3f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Headers/PromisesObjC-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Testing.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" +#import "FBLPromise.h" +#import "FBLPromiseError.h" +#import "FBLPromises.h" + +FOUNDATION_EXPORT double FBLPromisesVersionNumber; +FOUNDATION_EXPORT const unsigned char FBLPromisesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Info.plist new file mode 100644 index 00000000000..63977dace76 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBLPromises + CFBundleIdentifier + org.cocoapods.FBLPromises + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBLPromises + CFBundlePackageType + FMWK + CFBundleShortVersionString + 2.4.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Modules/module.modulemap new file mode 100644 index 00000000000..bd7b48e165d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module PromisesObjC { +umbrella header "PromisesObjC-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h new file mode 100644 index 00000000000..7a132f2030f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h @@ -0,0 +1,66 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+Testing.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Miscellaneous low-level private interfaces available to extend standard FBLPromise functionality. + */ +@interface FBLPromise() + +typedef void (^FBLPromiseOnFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseOnRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedFulfillBlock)(Value __nullable value) + NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedRejectBlock)(NSError *error) + NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise. + */ +- (instancetype)initPending NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ +- (instancetype)initWithResolution:(nullable id)resolution NS_SWIFT_UNAVAILABLE(""); + +/** + Invokes `fulfill` and `reject` blocks on `queue` when the receiver gets either fulfilled or + rejected respectively. + */ +- (void)observeOnQueue:(dispatch_queue_t)queue + fulfill:(FBLPromiseOnFulfillBlock)onFulfill + reject:(FBLPromiseOnRejectBlock)onReject NS_SWIFT_UNAVAILABLE(""); + +/** + Returns a new promise which gets resolved with the return value of `chainedFulfill` or + `chainedReject` blocks respectively. The blocks are invoked when the receiver gets either + fulfilled or rejected. If `nil` is passed to either block arg, the returned promise is resolved + with the same resolution as the receiver. + */ +- (FBLPromise *)chainOnQueue:(dispatch_queue_t)queue + chainedFulfill:(FBLPromiseChainedFulfillBlock)chainedFulfill + chainedReject:(FBLPromiseChainedRejectBlock)chainedReject NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises new file mode 100644 index 00000000000..e037b6ef6e4 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..70c4da3eb2e Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..5397adcb7b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+All.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+All.h new file mode 100644 index 00000000000..9c0090e2426 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+All.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AllAdditions) + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)all:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected FBLPromise correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + all:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `all` operators. + Usage: FBLPromise.all(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AllAdditions) + ++ (FBLPromise * (^)(NSArray *))all FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))allOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Always.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Always.h new file mode 100644 index 00000000000..13000f5b459 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Always.h @@ -0,0 +1,54 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AlwaysAdditions) + +typedef void (^FBLPromiseAlwaysWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)always:(FBLPromiseAlwaysWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to dispatch on. + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + always:(FBLPromiseAlwaysWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `always` operators. + Usage: promise.always(^{...}) + */ +@interface FBLPromise(DotSyntax_AlwaysAdditions) + +- (FBLPromise* (^)(FBLPromiseAlwaysWorkBlock))always FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAlwaysWorkBlock))alwaysOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Any.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Any.h new file mode 100644 index 00000000000..82875bf77ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Any.h @@ -0,0 +1,69 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AnyAdditions) + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSErrors`, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)any:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSError`s, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + any:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `any` operators. + Usage: FBLPromise.any(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AnyAdditions) + ++ (FBLPromise * (^)(NSArray *))any FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))anyOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Async.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Async.h new file mode 100644 index 00000000000..0588a9eafa6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Async.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AsyncAdditions) + +typedef void (^FBLPromiseFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseAsyncWorkBlock)(FBLPromiseFulfillBlock fulfill, + FBLPromiseRejectBlock reject) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)async:(FBLPromiseAsyncWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + async:(FBLPromiseAsyncWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `async` operators. + Usage: FBLPromise.async(^(FBLPromiseFulfillBlock fulfill, FBLPromiseRejectBlock reject) { ... }) + */ +@interface FBLPromise(DotSyntax_AsyncAdditions) + ++ (FBLPromise* (^)(FBLPromiseAsyncWorkBlock))async FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAsyncWorkBlock))asyncOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Await.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Await.h new file mode 100644 index 00000000000..c97a1baf41c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Await.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for promise resolution. The current thread blocks until the promise is resolved. + + @param promise Promise to wait for. + @param error Error the promise was rejected with, or `nil` if the promise was fulfilled. + @return Value the promise was fulfilled with. If the promise was rejected, the return value + is always `nil`, but the error out arg is not. + */ +FOUNDATION_EXTERN id __nullable FBLPromiseAwait(FBLPromise *promise, + NSError **error) NS_REFINED_FOR_SWIFT; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Catch.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Catch.h new file mode 100644 index 00000000000..a9ff170fc51 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Catch.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(CatchAdditions) + +typedef void (^FBLPromiseCatchWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously. + + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)catch:(FBLPromiseCatchWorkBlock)reject NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously on the given queue. + + @param queue A queue to invoke the `reject` block on. + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + catch:(FBLPromiseCatchWorkBlock)reject NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `catch` operators. + Usage: promise.catch(^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_CatchAdditions) + +- (FBLPromise* (^)(FBLPromiseCatchWorkBlock))catch FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseCatchWorkBlock))catchOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Delay.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Delay.h new file mode 100644 index 00000000000..557df4850fb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Delay.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DelayAdditions) + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)delay:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + delay:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `delay` operators. + Usage: promise.delay(...) + */ +@interface FBLPromise(DotSyntax_DelayAdditions) + +- (FBLPromise * (^)(NSTimeInterval))delay FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSTimeInterval))delayOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Do.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Do.h new file mode 100644 index 00000000000..6838e0adf0b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Do.h @@ -0,0 +1,55 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DoAdditions) + +typedef id __nullable (^FBLPromiseDoWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)do:(FBLPromiseDoWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue do:(FBLPromiseDoWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `do` operators. + Usage: FBLPromise.doOn(queue, ^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_DoAdditions) + ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseDoWorkBlock))doOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Race.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Race.h new file mode 100644 index 00000000000..2f67258deac --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Race.h @@ -0,0 +1,62 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RaceAdditions) + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)race:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue race:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `race` operators. + Usage: FBLPromise.race(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_RaceAdditions) + ++ (FBLPromise * (^)(NSArray *))race FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))raceOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Recover.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Recover.h new file mode 100644 index 00000000000..bb7df7ecfa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Recover.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RecoverAdditions) + +typedef id __nullable (^FBLPromiseRecoverWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)recover:(FBLPromiseRecoverWorkBlock)recovery NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param queue A queue to dispatch on. + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + recover:(FBLPromiseRecoverWorkBlock)recovery NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `recover` operators. + Usage: promise.recover(^id(NSError *error) {...}) + */ +@interface FBLPromise(DotSyntax_RecoverAdditions) + +- (FBLPromise * (^)(FBLPromiseRecoverWorkBlock))recover FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRecoverWorkBlock))recoverOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Reduce.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Reduce.h new file mode 100644 index 00000000000..5bb1eeee47d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Reduce.h @@ -0,0 +1,71 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ReduceAdditions) + +typedef id __nullable (^FBLPromiseReducerBlock)(Value __nullable partial, id next) + NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param queue A queue to dispatch on. + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `reduce` operators. + Usage: promise.reduce(values, ^id(id partial, id next) { ... }) + */ +@interface FBLPromise(DotSyntax_ReduceAdditions) + +- (FBLPromise * (^)(NSArray *, FBLPromiseReducerBlock))reduce FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSArray *, FBLPromiseReducerBlock))reduceOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Retry.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Retry.h new file mode 100644 index 00000000000..414a17a29ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Retry.h @@ -0,0 +1,165 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** The default number of retry attempts is 1. */ +FOUNDATION_EXTERN NSInteger const FBLPromiseRetryDefaultAttemptsCount NS_REFINED_FOR_SWIFT; + +/** The default delay interval before making a retry attempt is 1.0 second. */ +FOUNDATION_EXTERN NSTimeInterval const FBLPromiseRetryDefaultDelayInterval NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(RetryAdditions) + +typedef id __nullable (^FBLPromiseRetryWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); +typedef BOOL (^FBLPromiseRetryPredicateBlock)(NSInteger, NSError *) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on rejection where the + `work` block is retried after a delay of `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on + rejection where the `work` block is retried on the given `queue` after a delay of + `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param queue A queue to invoke the `work` block on. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. On rejection, the `work` block is retried after the given delay `interval` and will + continue to retry until the number of specified attempts have been exhausted or will bail early if + the given condition is not met. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. On rejection, the `work` block is retried after the given + delay `interval` and will continue to retry until the number of specified attempts have been + exhausted or will bail early if the given condition is not met. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise+Retry` operators. + Usage: FBLPromise.retry(^id { ... }) + */ +@interface FBLPromise(DotSyntax_RetryAdditions) + ++ (FBLPromise * (^)(FBLPromiseRetryWorkBlock))retry FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRetryWorkBlock))retryOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(NSInteger, NSTimeInterval, FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgain FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSInteger, NSTimeInterval, + FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgainOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Testing.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Testing.h new file mode 100644 index 00000000000..8478ae22933 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Testing.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for all scheduled promises blocks. + + @param timeout Maximum time to wait. + @return YES if all promises blocks have completed before the timeout and NO otherwise. + */ +FOUNDATION_EXTERN BOOL FBLWaitForPromisesWithTimeout(NSTimeInterval timeout) NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(TestingAdditions) + +/** + Dispatch group for promises that is typically used to wait for all scheduled blocks. + */ +@property(class, nonatomic, readonly) dispatch_group_t dispatchGroup NS_REFINED_FOR_SWIFT; + +/** + Properties to get the current state of the promise. + */ +@property(nonatomic, readonly) BOOL isPending NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isFulfilled NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isRejected NS_REFINED_FOR_SWIFT; + +/** + Value the promise was fulfilled with. + Can be nil if the promise is still pending, was resolved with nil or after it has been rejected. + */ +@property(nonatomic, readonly, nullable) Value value NS_REFINED_FOR_SWIFT; + +/** + Error the promise was rejected with. + Can be nil if the promise is still pending or after it has been fulfilled. + */ +@property(nonatomic, readonly, nullable) NSError *error NS_REFINED_FOR_SWIFT; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Then.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Then.h new file mode 100644 index 00000000000..32027e69738 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Then.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ThenAdditions) + +typedef id __nullable (^FBLPromiseThenWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously only + when the receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with + the same error. + + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)then:(FBLPromiseThenWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously when the + receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with the same + error. + + @param queue A queue to invoke the `work` block on. + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + then:(FBLPromiseThenWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `then` operators. + Usage: promise.then(^id(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ThenAdditions) + +- (FBLPromise* (^)(FBLPromiseThenWorkBlock))then FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseThenWorkBlock))thenOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Timeout.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Timeout.h new file mode 100644 index 00000000000..184ba166fa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Timeout.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(TimeoutAdditions) + +/** + Waits for a promise with the specified `timeout`. + + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)timeout:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Waits for a promise with the specified `timeout`. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + timeout:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `timeout` operators. + Usage: promise.timeout(...) + */ +@interface FBLPromise(DotSyntax_TimeoutAdditions) + +- (FBLPromise* (^)(NSTimeInterval))timeout FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, NSTimeInterval))timeoutOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Validate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Validate.h new file mode 100644 index 00000000000..9dfa2f16ae4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Validate.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ValidateAdditions) + +typedef BOOL (^FBLPromiseValidateWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)validate:(FBLPromiseValidateWorkBlock)predicate NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param queue A queue to dispatch on. + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + validate:(FBLPromiseValidateWorkBlock)predicate NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `validate` operators. + Usage: promise.validate(^BOOL(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ValidateAdditions) + +- (FBLPromise * (^)(FBLPromiseValidateWorkBlock))validate FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseValidateWorkBlock))validateOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Wrap.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Wrap.h new file mode 100644 index 00000000000..664e1bbffbf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Wrap.h @@ -0,0 +1,316 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Different types of completion handlers available to be wrapped with promise. + */ +typedef void (^FBLPromiseCompletion)(void) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectCompletion)(id __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorCompletion)(NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectOrErrorCompletion)(id __nullable, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorOrObjectCompletion)(NSError* __nullable, id __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromise2ObjectsOrErrorCompletion)(id __nullable, id __nullable, + NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolCompletion)(BOOL) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolOrErrorCompletion)(BOOL, NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerCompletion)(NSInteger) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerOrErrorCompletion)(NSInteger, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleCompletion)(double) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleOrErrorCompletion)(double, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); + +/** + Provides an easy way to convert methods that use common callback patterns into promises. + */ +@interface FBLPromise(WrapAdditions) + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)wrapCompletion:(void (^)(FBLPromiseCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapCompletion:(void (^)(FBLPromiseCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)wrapObjectOrErrorCompletion: + (void (^)(FBLPromiseObjectOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectOrErrorCompletion:(void (^)(FBLPromiseObjectOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)wrapErrorOrObjectCompletion: + (void (^)(FBLPromiseErrorOrObjectCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorOrObjectCompletion:(void (^)(FBLPromiseErrorOrObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)wrap2ObjectsOrErrorCompletion: + (void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrap2ObjectsOrErrorCompletion:(void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapBoolOrErrorCompletion: + (void (^)(FBLPromiseBoolOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolOrErrorCompletion:(void (^)(FBLPromiseBoolOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapIntegerOrErrorCompletion: + (void (^)(FBLPromiseIntegerOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerOrErrorCompletion:(void (^)(FBLPromiseIntegerOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapDoubleOrErrorCompletion: + (void (^)(FBLPromiseDoubleOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleOrErrorCompletion:(void (^)(FBLPromiseDoubleOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `wrap` operators. + Usage: FBLPromise.wrapCompletion(^(FBLPromiseCompletion handler) {...}) + */ +@interface FBLPromise(DotSyntax_WrapAdditions) + ++ (FBLPromise* (^)(void (^)(FBLPromiseCompletion)))wrapCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseCompletion)))wrapCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise.h new file mode 100644 index 00000000000..98c813b79d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise.h @@ -0,0 +1,93 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromiseError.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Promises synchronization construct in Objective-C. + */ +@interface FBLPromise<__covariant Value> : NSObject + +/** + Default dispatch queue used for `FBLPromise`, which is `main` if a queue is not specified. + */ +@property(class) dispatch_queue_t defaultDispatchQueue NS_REFINED_FOR_SWIFT; + +/** + Creates a pending promise. + */ ++ (instancetype)pendingPromise NS_REFINED_FOR_SWIFT; + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ ++ (instancetype)resolvedWith:(nullable id)resolution NS_REFINED_FOR_SWIFT; + +/** + Synchronously fulfills the promise with a value. + + @param value An arbitrary value to fulfill the promise with, including `nil`. + */ +- (void)fulfill:(nullable Value)value NS_REFINED_FOR_SWIFT; + +/** + Synchronously rejects the promise with an error. + + @param error An error to reject the promise with. + */ +- (void)reject:(NSError *)error NS_REFINED_FOR_SWIFT; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; +@end + +@interface FBLPromise() + +/** + Adds an object to the set of pending objects to keep strongly while the promise is pending. + Used by the Swift wrappers to keep them alive until the underlying ObjC promise is resolved. + + @param object An object to add. + */ +- (void)addPendingObject:(id)object NS_REFINED_FOR_SWIFT; + +@end + +#ifdef FBL_PROMISES_DOT_SYNTAX_IS_DEPRECATED +#define FBL_PROMISES_DOT_SYNTAX __attribute__((deprecated)) +#else +#define FBL_PROMISES_DOT_SYNTAX +#endif + +@interface FBLPromise(DotSyntaxAdditions) + +/** + Convenience dot-syntax wrappers for FBLPromise. + Usage: FBLPromise.pending() + FBLPromise.resolved(value) + + */ ++ (FBLPromise * (^)(void))pending FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(id __nullable))resolved FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromiseError.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromiseError.h new file mode 100644 index 00000000000..d37af536c60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromiseError.h @@ -0,0 +1,43 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXTERN NSErrorDomain const FBLPromiseErrorDomain NS_REFINED_FOR_SWIFT; + +/** + Possible error codes in `FBLPromiseErrorDomain`. + */ +typedef NS_ENUM(NSInteger, FBLPromiseErrorCode) { + /** Promise failed to resolve in time. */ + FBLPromiseErrorCodeTimedOut = 1, + /** Validation predicate returned false. */ + FBLPromiseErrorCodeValidationFailure = 2, +} NS_REFINED_FOR_SWIFT; + +NS_INLINE BOOL FBLPromiseErrorIsTimedOut(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeTimedOut; +} + +NS_INLINE BOOL FBLPromiseErrorIsValidationFailure(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeValidationFailure; +} + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromises.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromises.h new file mode 100644 index 00000000000..2d90badb17b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromises.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/PromisesObjC-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/PromisesObjC-umbrella.h new file mode 100644 index 00000000000..5b014a8b3f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Headers/PromisesObjC-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Testing.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" +#import "FBLPromise.h" +#import "FBLPromiseError.h" +#import "FBLPromises.h" + +FOUNDATION_EXPORT double FBLPromisesVersionNumber; +FOUNDATION_EXPORT const unsigned char FBLPromisesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Info.plist new file mode 100644 index 00000000000..241509de092 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBLPromises + CFBundleIdentifier + org.cocoapods.FBLPromises + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBLPromises + CFBundlePackageType + FMWK + CFBundleShortVersionString + 2.4.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Modules/module.modulemap new file mode 100644 index 00000000000..bd7b48e165d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module PromisesObjC { +umbrella header "PromisesObjC-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h new file mode 100644 index 00000000000..7a132f2030f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/tvos-arm64_x86_64-simulator/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h @@ -0,0 +1,66 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+Testing.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Miscellaneous low-level private interfaces available to extend standard FBLPromise functionality. + */ +@interface FBLPromise() + +typedef void (^FBLPromiseOnFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseOnRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedFulfillBlock)(Value __nullable value) + NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedRejectBlock)(NSError *error) + NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise. + */ +- (instancetype)initPending NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ +- (instancetype)initWithResolution:(nullable id)resolution NS_SWIFT_UNAVAILABLE(""); + +/** + Invokes `fulfill` and `reject` blocks on `queue` when the receiver gets either fulfilled or + rejected respectively. + */ +- (void)observeOnQueue:(dispatch_queue_t)queue + fulfill:(FBLPromiseOnFulfillBlock)onFulfill + reject:(FBLPromiseOnRejectBlock)onReject NS_SWIFT_UNAVAILABLE(""); + +/** + Returns a new promise which gets resolved with the return value of `chainedFulfill` or + `chainedReject` blocks respectively. The blocks are invoked when the receiver gets either + fulfilled or rejected. If `nil` is passed to either block arg, the returned promise is resolved + with the same resolution as the receiver. + */ +- (FBLPromise *)chainOnQueue:(dispatch_queue_t)queue + chainedFulfill:(FBLPromiseChainedFulfillBlock)chainedFulfill + chainedReject:(FBLPromiseChainedRejectBlock)chainedReject NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/FBLPromises b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/FBLPromises new file mode 100644 index 00000000000..d652e99b52e Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/FBLPromises differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..55ab5d955be Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..5397adcb7b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+All.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+All.h new file mode 100644 index 00000000000..9c0090e2426 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+All.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AllAdditions) + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)all:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected FBLPromise correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + all:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `all` operators. + Usage: FBLPromise.all(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AllAdditions) + ++ (FBLPromise * (^)(NSArray *))all FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))allOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Always.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Always.h new file mode 100644 index 00000000000..13000f5b459 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Always.h @@ -0,0 +1,54 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AlwaysAdditions) + +typedef void (^FBLPromiseAlwaysWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)always:(FBLPromiseAlwaysWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to dispatch on. + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + always:(FBLPromiseAlwaysWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `always` operators. + Usage: promise.always(^{...}) + */ +@interface FBLPromise(DotSyntax_AlwaysAdditions) + +- (FBLPromise* (^)(FBLPromiseAlwaysWorkBlock))always FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAlwaysWorkBlock))alwaysOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Any.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Any.h new file mode 100644 index 00000000000..82875bf77ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Any.h @@ -0,0 +1,69 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AnyAdditions) + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSErrors`, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)any:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSError`s, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + any:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `any` operators. + Usage: FBLPromise.any(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AnyAdditions) + ++ (FBLPromise * (^)(NSArray *))any FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))anyOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Async.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Async.h new file mode 100644 index 00000000000..0588a9eafa6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Async.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AsyncAdditions) + +typedef void (^FBLPromiseFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseAsyncWorkBlock)(FBLPromiseFulfillBlock fulfill, + FBLPromiseRejectBlock reject) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)async:(FBLPromiseAsyncWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + async:(FBLPromiseAsyncWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `async` operators. + Usage: FBLPromise.async(^(FBLPromiseFulfillBlock fulfill, FBLPromiseRejectBlock reject) { ... }) + */ +@interface FBLPromise(DotSyntax_AsyncAdditions) + ++ (FBLPromise* (^)(FBLPromiseAsyncWorkBlock))async FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAsyncWorkBlock))asyncOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Await.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Await.h new file mode 100644 index 00000000000..c97a1baf41c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Await.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for promise resolution. The current thread blocks until the promise is resolved. + + @param promise Promise to wait for. + @param error Error the promise was rejected with, or `nil` if the promise was fulfilled. + @return Value the promise was fulfilled with. If the promise was rejected, the return value + is always `nil`, but the error out arg is not. + */ +FOUNDATION_EXTERN id __nullable FBLPromiseAwait(FBLPromise *promise, + NSError **error) NS_REFINED_FOR_SWIFT; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Catch.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Catch.h new file mode 100644 index 00000000000..a9ff170fc51 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Catch.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(CatchAdditions) + +typedef void (^FBLPromiseCatchWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously. + + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)catch:(FBLPromiseCatchWorkBlock)reject NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously on the given queue. + + @param queue A queue to invoke the `reject` block on. + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + catch:(FBLPromiseCatchWorkBlock)reject NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `catch` operators. + Usage: promise.catch(^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_CatchAdditions) + +- (FBLPromise* (^)(FBLPromiseCatchWorkBlock))catch FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseCatchWorkBlock))catchOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Delay.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Delay.h new file mode 100644 index 00000000000..557df4850fb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Delay.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DelayAdditions) + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)delay:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + delay:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `delay` operators. + Usage: promise.delay(...) + */ +@interface FBLPromise(DotSyntax_DelayAdditions) + +- (FBLPromise * (^)(NSTimeInterval))delay FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSTimeInterval))delayOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Do.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Do.h new file mode 100644 index 00000000000..6838e0adf0b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Do.h @@ -0,0 +1,55 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DoAdditions) + +typedef id __nullable (^FBLPromiseDoWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)do:(FBLPromiseDoWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue do:(FBLPromiseDoWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `do` operators. + Usage: FBLPromise.doOn(queue, ^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_DoAdditions) + ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseDoWorkBlock))doOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Race.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Race.h new file mode 100644 index 00000000000..2f67258deac --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Race.h @@ -0,0 +1,62 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RaceAdditions) + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)race:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue race:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `race` operators. + Usage: FBLPromise.race(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_RaceAdditions) + ++ (FBLPromise * (^)(NSArray *))race FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))raceOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Recover.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Recover.h new file mode 100644 index 00000000000..bb7df7ecfa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Recover.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RecoverAdditions) + +typedef id __nullable (^FBLPromiseRecoverWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)recover:(FBLPromiseRecoverWorkBlock)recovery NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param queue A queue to dispatch on. + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + recover:(FBLPromiseRecoverWorkBlock)recovery NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `recover` operators. + Usage: promise.recover(^id(NSError *error) {...}) + */ +@interface FBLPromise(DotSyntax_RecoverAdditions) + +- (FBLPromise * (^)(FBLPromiseRecoverWorkBlock))recover FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRecoverWorkBlock))recoverOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Reduce.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Reduce.h new file mode 100644 index 00000000000..5bb1eeee47d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Reduce.h @@ -0,0 +1,71 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ReduceAdditions) + +typedef id __nullable (^FBLPromiseReducerBlock)(Value __nullable partial, id next) + NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param queue A queue to dispatch on. + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `reduce` operators. + Usage: promise.reduce(values, ^id(id partial, id next) { ... }) + */ +@interface FBLPromise(DotSyntax_ReduceAdditions) + +- (FBLPromise * (^)(NSArray *, FBLPromiseReducerBlock))reduce FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSArray *, FBLPromiseReducerBlock))reduceOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Retry.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Retry.h new file mode 100644 index 00000000000..414a17a29ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Retry.h @@ -0,0 +1,165 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** The default number of retry attempts is 1. */ +FOUNDATION_EXTERN NSInteger const FBLPromiseRetryDefaultAttemptsCount NS_REFINED_FOR_SWIFT; + +/** The default delay interval before making a retry attempt is 1.0 second. */ +FOUNDATION_EXTERN NSTimeInterval const FBLPromiseRetryDefaultDelayInterval NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(RetryAdditions) + +typedef id __nullable (^FBLPromiseRetryWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); +typedef BOOL (^FBLPromiseRetryPredicateBlock)(NSInteger, NSError *) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on rejection where the + `work` block is retried after a delay of `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on + rejection where the `work` block is retried on the given `queue` after a delay of + `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param queue A queue to invoke the `work` block on. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. On rejection, the `work` block is retried after the given delay `interval` and will + continue to retry until the number of specified attempts have been exhausted or will bail early if + the given condition is not met. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. On rejection, the `work` block is retried after the given + delay `interval` and will continue to retry until the number of specified attempts have been + exhausted or will bail early if the given condition is not met. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise+Retry` operators. + Usage: FBLPromise.retry(^id { ... }) + */ +@interface FBLPromise(DotSyntax_RetryAdditions) + ++ (FBLPromise * (^)(FBLPromiseRetryWorkBlock))retry FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRetryWorkBlock))retryOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(NSInteger, NSTimeInterval, FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgain FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSInteger, NSTimeInterval, + FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgainOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Testing.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Testing.h new file mode 100644 index 00000000000..8478ae22933 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Testing.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for all scheduled promises blocks. + + @param timeout Maximum time to wait. + @return YES if all promises blocks have completed before the timeout and NO otherwise. + */ +FOUNDATION_EXTERN BOOL FBLWaitForPromisesWithTimeout(NSTimeInterval timeout) NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(TestingAdditions) + +/** + Dispatch group for promises that is typically used to wait for all scheduled blocks. + */ +@property(class, nonatomic, readonly) dispatch_group_t dispatchGroup NS_REFINED_FOR_SWIFT; + +/** + Properties to get the current state of the promise. + */ +@property(nonatomic, readonly) BOOL isPending NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isFulfilled NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isRejected NS_REFINED_FOR_SWIFT; + +/** + Value the promise was fulfilled with. + Can be nil if the promise is still pending, was resolved with nil or after it has been rejected. + */ +@property(nonatomic, readonly, nullable) Value value NS_REFINED_FOR_SWIFT; + +/** + Error the promise was rejected with. + Can be nil if the promise is still pending or after it has been fulfilled. + */ +@property(nonatomic, readonly, nullable) NSError *error NS_REFINED_FOR_SWIFT; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Then.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Then.h new file mode 100644 index 00000000000..32027e69738 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Then.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ThenAdditions) + +typedef id __nullable (^FBLPromiseThenWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously only + when the receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with + the same error. + + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)then:(FBLPromiseThenWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously when the + receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with the same + error. + + @param queue A queue to invoke the `work` block on. + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + then:(FBLPromiseThenWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `then` operators. + Usage: promise.then(^id(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ThenAdditions) + +- (FBLPromise* (^)(FBLPromiseThenWorkBlock))then FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseThenWorkBlock))thenOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Timeout.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Timeout.h new file mode 100644 index 00000000000..184ba166fa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Timeout.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(TimeoutAdditions) + +/** + Waits for a promise with the specified `timeout`. + + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)timeout:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Waits for a promise with the specified `timeout`. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + timeout:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `timeout` operators. + Usage: promise.timeout(...) + */ +@interface FBLPromise(DotSyntax_TimeoutAdditions) + +- (FBLPromise* (^)(NSTimeInterval))timeout FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, NSTimeInterval))timeoutOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Validate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Validate.h new file mode 100644 index 00000000000..9dfa2f16ae4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Validate.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ValidateAdditions) + +typedef BOOL (^FBLPromiseValidateWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)validate:(FBLPromiseValidateWorkBlock)predicate NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param queue A queue to dispatch on. + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + validate:(FBLPromiseValidateWorkBlock)predicate NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `validate` operators. + Usage: promise.validate(^BOOL(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ValidateAdditions) + +- (FBLPromise * (^)(FBLPromiseValidateWorkBlock))validate FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseValidateWorkBlock))validateOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Wrap.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Wrap.h new file mode 100644 index 00000000000..664e1bbffbf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise+Wrap.h @@ -0,0 +1,316 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Different types of completion handlers available to be wrapped with promise. + */ +typedef void (^FBLPromiseCompletion)(void) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectCompletion)(id __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorCompletion)(NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectOrErrorCompletion)(id __nullable, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorOrObjectCompletion)(NSError* __nullable, id __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromise2ObjectsOrErrorCompletion)(id __nullable, id __nullable, + NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolCompletion)(BOOL) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolOrErrorCompletion)(BOOL, NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerCompletion)(NSInteger) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerOrErrorCompletion)(NSInteger, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleCompletion)(double) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleOrErrorCompletion)(double, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); + +/** + Provides an easy way to convert methods that use common callback patterns into promises. + */ +@interface FBLPromise(WrapAdditions) + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)wrapCompletion:(void (^)(FBLPromiseCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapCompletion:(void (^)(FBLPromiseCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)wrapObjectOrErrorCompletion: + (void (^)(FBLPromiseObjectOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectOrErrorCompletion:(void (^)(FBLPromiseObjectOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)wrapErrorOrObjectCompletion: + (void (^)(FBLPromiseErrorOrObjectCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorOrObjectCompletion:(void (^)(FBLPromiseErrorOrObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)wrap2ObjectsOrErrorCompletion: + (void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrap2ObjectsOrErrorCompletion:(void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapBoolOrErrorCompletion: + (void (^)(FBLPromiseBoolOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolOrErrorCompletion:(void (^)(FBLPromiseBoolOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapIntegerOrErrorCompletion: + (void (^)(FBLPromiseIntegerOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerOrErrorCompletion:(void (^)(FBLPromiseIntegerOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapDoubleOrErrorCompletion: + (void (^)(FBLPromiseDoubleOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleOrErrorCompletion:(void (^)(FBLPromiseDoubleOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `wrap` operators. + Usage: FBLPromise.wrapCompletion(^(FBLPromiseCompletion handler) {...}) + */ +@interface FBLPromise(DotSyntax_WrapAdditions) + ++ (FBLPromise* (^)(void (^)(FBLPromiseCompletion)))wrapCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseCompletion)))wrapCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise.h new file mode 100644 index 00000000000..98c813b79d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromise.h @@ -0,0 +1,93 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromiseError.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Promises synchronization construct in Objective-C. + */ +@interface FBLPromise<__covariant Value> : NSObject + +/** + Default dispatch queue used for `FBLPromise`, which is `main` if a queue is not specified. + */ +@property(class) dispatch_queue_t defaultDispatchQueue NS_REFINED_FOR_SWIFT; + +/** + Creates a pending promise. + */ ++ (instancetype)pendingPromise NS_REFINED_FOR_SWIFT; + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ ++ (instancetype)resolvedWith:(nullable id)resolution NS_REFINED_FOR_SWIFT; + +/** + Synchronously fulfills the promise with a value. + + @param value An arbitrary value to fulfill the promise with, including `nil`. + */ +- (void)fulfill:(nullable Value)value NS_REFINED_FOR_SWIFT; + +/** + Synchronously rejects the promise with an error. + + @param error An error to reject the promise with. + */ +- (void)reject:(NSError *)error NS_REFINED_FOR_SWIFT; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; +@end + +@interface FBLPromise() + +/** + Adds an object to the set of pending objects to keep strongly while the promise is pending. + Used by the Swift wrappers to keep them alive until the underlying ObjC promise is resolved. + + @param object An object to add. + */ +- (void)addPendingObject:(id)object NS_REFINED_FOR_SWIFT; + +@end + +#ifdef FBL_PROMISES_DOT_SYNTAX_IS_DEPRECATED +#define FBL_PROMISES_DOT_SYNTAX __attribute__((deprecated)) +#else +#define FBL_PROMISES_DOT_SYNTAX +#endif + +@interface FBLPromise(DotSyntaxAdditions) + +/** + Convenience dot-syntax wrappers for FBLPromise. + Usage: FBLPromise.pending() + FBLPromise.resolved(value) + + */ ++ (FBLPromise * (^)(void))pending FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(id __nullable))resolved FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromiseError.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromiseError.h new file mode 100644 index 00000000000..d37af536c60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromiseError.h @@ -0,0 +1,43 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXTERN NSErrorDomain const FBLPromiseErrorDomain NS_REFINED_FOR_SWIFT; + +/** + Possible error codes in `FBLPromiseErrorDomain`. + */ +typedef NS_ENUM(NSInteger, FBLPromiseErrorCode) { + /** Promise failed to resolve in time. */ + FBLPromiseErrorCodeTimedOut = 1, + /** Validation predicate returned false. */ + FBLPromiseErrorCodeValidationFailure = 2, +} NS_REFINED_FOR_SWIFT; + +NS_INLINE BOOL FBLPromiseErrorIsTimedOut(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeTimedOut; +} + +NS_INLINE BOOL FBLPromiseErrorIsValidationFailure(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeValidationFailure; +} + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromises.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromises.h new file mode 100644 index 00000000000..2d90badb17b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/FBLPromises.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/PromisesObjC-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/PromisesObjC-umbrella.h new file mode 100644 index 00000000000..a1bfd52fe5d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Headers/PromisesObjC-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Testing.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" +#import "FBLPromise.h" +#import "FBLPromiseError.h" +#import "FBLPromises.h" + +FOUNDATION_EXPORT double FBLPromisesVersionNumber; +FOUNDATION_EXPORT const unsigned char FBLPromisesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Info.plist new file mode 100644 index 00000000000..36821d6ccec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBLPromises + CFBundleIdentifier + org.cocoapods.FBLPromises + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBLPromises + CFBundlePackageType + FMWK + CFBundleShortVersionString + 2.4.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchos + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchos10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Modules/module.modulemap new file mode 100644 index 00000000000..bd7b48e165d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module PromisesObjC { +umbrella header "PromisesObjC-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h new file mode 100644 index 00000000000..7a132f2030f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_arm64_32/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h @@ -0,0 +1,66 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+Testing.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Miscellaneous low-level private interfaces available to extend standard FBLPromise functionality. + */ +@interface FBLPromise() + +typedef void (^FBLPromiseOnFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseOnRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedFulfillBlock)(Value __nullable value) + NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedRejectBlock)(NSError *error) + NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise. + */ +- (instancetype)initPending NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ +- (instancetype)initWithResolution:(nullable id)resolution NS_SWIFT_UNAVAILABLE(""); + +/** + Invokes `fulfill` and `reject` blocks on `queue` when the receiver gets either fulfilled or + rejected respectively. + */ +- (void)observeOnQueue:(dispatch_queue_t)queue + fulfill:(FBLPromiseOnFulfillBlock)onFulfill + reject:(FBLPromiseOnRejectBlock)onReject NS_SWIFT_UNAVAILABLE(""); + +/** + Returns a new promise which gets resolved with the return value of `chainedFulfill` or + `chainedReject` blocks respectively. The blocks are invoked when the receiver gets either + fulfilled or rejected. If `nil` is passed to either block arg, the returned promise is resolved + with the same resolution as the receiver. + */ +- (FBLPromise *)chainOnQueue:(dispatch_queue_t)queue + chainedFulfill:(FBLPromiseChainedFulfillBlock)chainedFulfill + chainedReject:(FBLPromiseChainedRejectBlock)chainedReject NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises new file mode 100644 index 00000000000..76a79a10546 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..5dae4fcba19 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..5397adcb7b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/FBLPromises_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+All.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+All.h new file mode 100644 index 00000000000..9c0090e2426 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+All.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AllAdditions) + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)all:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until all of the given promises are fulfilled. + If one of the given promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected FBLPromise correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of an array containing the values of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + all:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `all` operators. + Usage: FBLPromise.all(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AllAdditions) + ++ (FBLPromise * (^)(NSArray *))all FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))allOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Always.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Always.h new file mode 100644 index 00000000000..13000f5b459 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Always.h @@ -0,0 +1,54 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AlwaysAdditions) + +typedef void (^FBLPromiseAlwaysWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)always:(FBLPromiseAlwaysWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to dispatch on. + @param work A block that always executes, no matter if the receiver is rejected or fulfilled. + @return A new pending promise to be resolved with same resolution as the receiver. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + always:(FBLPromiseAlwaysWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `always` operators. + Usage: promise.always(^{...}) + */ +@interface FBLPromise(DotSyntax_AlwaysAdditions) + +- (FBLPromise* (^)(FBLPromiseAlwaysWorkBlock))always FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAlwaysWorkBlock))alwaysOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Any.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Any.h new file mode 100644 index 00000000000..82875bf77ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Any.h @@ -0,0 +1,69 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AnyAdditions) + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSErrors`, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)any:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Waits until all of the given promises are either fulfilled or rejected. + If all promises are rejected, then the returned promise is rejected with same error + as the last one rejected. + If at least one of the promises is fulfilled, the resulting promise is fulfilled with an array of + values or `NSError`s, matching the original order of fulfilled or rejected promises respectively. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + Promises resolved with `nil` become `NSNull` instances in the resulting array. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return Promise of array containing the values or `NSError`s of input promises in the same order. + */ ++ (FBLPromise *)onQueue:(dispatch_queue_t)queue + any:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `any` operators. + Usage: FBLPromise.any(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_AnyAdditions) + ++ (FBLPromise * (^)(NSArray *))any FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))anyOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Async.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Async.h new file mode 100644 index 00000000000..0588a9eafa6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Async.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(AsyncAdditions) + +typedef void (^FBLPromiseFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseAsyncWorkBlock)(FBLPromiseFulfillBlock fulfill, + FBLPromiseRejectBlock reject) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)async:(FBLPromiseAsyncWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + async:(FBLPromiseAsyncWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `async` operators. + Usage: FBLPromise.async(^(FBLPromiseFulfillBlock fulfill, FBLPromiseRejectBlock reject) { ... }) + */ +@interface FBLPromise(DotSyntax_AsyncAdditions) + ++ (FBLPromise* (^)(FBLPromiseAsyncWorkBlock))async FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, FBLPromiseAsyncWorkBlock))asyncOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Await.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Await.h new file mode 100644 index 00000000000..c97a1baf41c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Await.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for promise resolution. The current thread blocks until the promise is resolved. + + @param promise Promise to wait for. + @param error Error the promise was rejected with, or `nil` if the promise was fulfilled. + @return Value the promise was fulfilled with. If the promise was rejected, the return value + is always `nil`, but the error out arg is not. + */ +FOUNDATION_EXTERN id __nullable FBLPromiseAwait(FBLPromise *promise, + NSError **error) NS_REFINED_FOR_SWIFT; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Catch.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Catch.h new file mode 100644 index 00000000000..a9ff170fc51 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Catch.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(CatchAdditions) + +typedef void (^FBLPromiseCatchWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously. + + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)catch:(FBLPromiseCatchWorkBlock)reject NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with same resolution as the receiver. + If receiver is rejected, then `reject` block is executed asynchronously on the given queue. + + @param queue A queue to invoke the `reject` block on. + @param reject A block to handle the error that receiver was rejected with. + @return A new pending promise. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + catch:(FBLPromiseCatchWorkBlock)reject NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `catch` operators. + Usage: promise.catch(^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_CatchAdditions) + +- (FBLPromise* (^)(FBLPromiseCatchWorkBlock))catch FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseCatchWorkBlock))catchOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Delay.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Delay.h new file mode 100644 index 00000000000..557df4850fb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Delay.h @@ -0,0 +1,59 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DelayAdditions) + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)delay:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a new pending promise that fulfills with the same value as `self` after the `delay`, or + rejects with the same error immediately. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that fulfills at least `delay` seconds later than `self`, or rejects + with the same error immediately. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + delay:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `delay` operators. + Usage: promise.delay(...) + */ +@interface FBLPromise(DotSyntax_DelayAdditions) + +- (FBLPromise * (^)(NSTimeInterval))delay FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSTimeInterval))delayOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Do.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Do.h new file mode 100644 index 00000000000..6838e0adf0b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Do.h @@ -0,0 +1,55 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(DoAdditions) + +typedef id __nullable (^FBLPromiseDoWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously. + + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)do:(FBLPromiseDoWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise and executes `work` block asynchronously on the given queue. + + @param queue A queue to invoke the `work` block on. + @param work A block that returns a value or an error used to resolve the promise. + @return A new pending promise. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue do:(FBLPromiseDoWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `do` operators. + Usage: FBLPromise.doOn(queue, ^(NSError *error) { ... }) + */ +@interface FBLPromise(DotSyntax_DoAdditions) + ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseDoWorkBlock))doOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Race.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Race.h new file mode 100644 index 00000000000..2f67258deac --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Race.h @@ -0,0 +1,62 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RaceAdditions) + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)race:(NSArray *)promises NS_SWIFT_UNAVAILABLE(""); + +/** + Wait until any of the given promises are fulfilled. + If one of the promises is rejected, then the returned promise is rejected with same error. + If any other arbitrary value or `NSError` appears in the array instead of `FBLPromise`, + it's implicitly considered a pre-fulfilled or pre-rejected `FBLPromise` correspondingly. + + @param queue A queue to dispatch on. + @param promises Promises to wait for. + @return A new pending promise to be resolved with the same resolution as the first promise, among + the given ones, which was resolved. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue race:(NSArray *)promises NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `race` operators. + Usage: FBLPromise.race(@[ ... ]) + */ +@interface FBLPromise(DotSyntax_RaceAdditions) + ++ (FBLPromise * (^)(NSArray *))race FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSArray *))raceOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Recover.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Recover.h new file mode 100644 index 00000000000..bb7df7ecfa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Recover.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(RecoverAdditions) + +typedef id __nullable (^FBLPromiseRecoverWorkBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)recover:(FBLPromiseRecoverWorkBlock)recovery NS_SWIFT_UNAVAILABLE(""); + +/** + Provides a new promise to recover in case the receiver gets rejected. + + @param queue A queue to dispatch on. + @param recovery A block to handle the error that the receiver was rejected with. + @return A new pending promise to use instead of the rejected one that gets resolved with resolution + returned from `recovery` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + recover:(FBLPromiseRecoverWorkBlock)recovery NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `recover` operators. + Usage: promise.recover(^id(NSError *error) {...}) + */ +@interface FBLPromise(DotSyntax_RecoverAdditions) + +- (FBLPromise * (^)(FBLPromiseRecoverWorkBlock))recover FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRecoverWorkBlock))recoverOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Reduce.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Reduce.h new file mode 100644 index 00000000000..5bb1eeee47d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Reduce.h @@ -0,0 +1,71 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ReduceAdditions) + +typedef id __nullable (^FBLPromiseReducerBlock)(Value __nullable partial, id next) + NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +/** + Sequentially reduces a collection of values to a single promise using a given combining block + and the value `self` resolves with as initial value. + + @param queue A queue to dispatch on. + @param items An array of values to process in order. + @param reducer A block to combine an accumulating value and an element of the sequence into + the new accumulating value or a promise resolved with it, to be used in the next + call of the `reducer` or returned to the caller. + @return A new pending promise returned from the last `reducer` invocation. + Or `self` if `items` is empty. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + reduce:(NSArray *)items + combine:(FBLPromiseReducerBlock)reducer NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `reduce` operators. + Usage: promise.reduce(values, ^id(id partial, id next) { ... }) + */ +@interface FBLPromise(DotSyntax_ReduceAdditions) + +- (FBLPromise * (^)(NSArray *, FBLPromiseReducerBlock))reduce FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, NSArray *, FBLPromiseReducerBlock))reduceOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Retry.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Retry.h new file mode 100644 index 00000000000..414a17a29ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Retry.h @@ -0,0 +1,165 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** The default number of retry attempts is 1. */ +FOUNDATION_EXTERN NSInteger const FBLPromiseRetryDefaultAttemptsCount NS_REFINED_FOR_SWIFT; + +/** The default delay interval before making a retry attempt is 1.0 second. */ +FOUNDATION_EXTERN NSTimeInterval const FBLPromiseRetryDefaultDelayInterval NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(RetryAdditions) + +typedef id __nullable (^FBLPromiseRetryWorkBlock)(void) NS_SWIFT_UNAVAILABLE(""); +typedef BOOL (^FBLPromiseRetryPredicateBlock)(NSInteger, NSError *) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on rejection where the + `work` block is retried after a delay of `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. Defaults to `FBLPromiseRetryDefaultAttemptsCount` attempt(s) on + rejection where the `work` block is retried on the given `queue` after a delay of + `FBLPromiseRetryDefaultDelayInterval` second(s). + + @param queue A queue to invoke the `work` block on. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously, or rejects with the same error after all retry attempts have + been exhausted. On rejection, the `work` block is retried after the given delay `interval` and will + continue to retry until the number of specified attempts have been exhausted or will bail early if + the given condition is not met. + + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the default queue and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise that fulfills with the same value as the promise returned from `work` + block, which executes asynchronously on the given `queue`, or rejects with the same error after all + retry attempts have been exhausted. On rejection, the `work` block is retried after the given + delay `interval` and will continue to retry until the number of specified attempts have been + exhausted or will bail early if the given condition is not met. + + @param queue A queue to invoke the `work` block on. + @param count Max number of retry attempts. The `work` block will be executed once if the specified + count is less than or equal to zero. + @param interval Time to wait before the next retry attempt. + @param predicate Condition to check before the next retry attempt. The predicate block provides the + the number of remaining retry attempts and the error that the promise was rejected + with. + @param work A block that executes asynchronously on the given `queue` and returns a value or an + error used to resolve the promise. + @return A new pending promise that fulfills with the same value as the promise returned from `work` + block, or rejects with the same error after all retry attempts have been exhausted or if + the given condition is not met. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + attempts:(NSInteger)count + delay:(NSTimeInterval)interval + condition:(nullable FBLPromiseRetryPredicateBlock)predicate + retry:(FBLPromiseRetryWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise+Retry` operators. + Usage: FBLPromise.retry(^id { ... }) + */ +@interface FBLPromise(DotSyntax_RetryAdditions) + ++ (FBLPromise * (^)(FBLPromiseRetryWorkBlock))retry FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, FBLPromiseRetryWorkBlock))retryOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(NSInteger, NSTimeInterval, FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgain FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(dispatch_queue_t, NSInteger, NSTimeInterval, + FBLPromiseRetryPredicateBlock __nullable, + FBLPromiseRetryWorkBlock))retryAgainOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Testing.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Testing.h new file mode 100644 index 00000000000..8478ae22933 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Testing.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Waits for all scheduled promises blocks. + + @param timeout Maximum time to wait. + @return YES if all promises blocks have completed before the timeout and NO otherwise. + */ +FOUNDATION_EXTERN BOOL FBLWaitForPromisesWithTimeout(NSTimeInterval timeout) NS_REFINED_FOR_SWIFT; + +@interface FBLPromise(TestingAdditions) + +/** + Dispatch group for promises that is typically used to wait for all scheduled blocks. + */ +@property(class, nonatomic, readonly) dispatch_group_t dispatchGroup NS_REFINED_FOR_SWIFT; + +/** + Properties to get the current state of the promise. + */ +@property(nonatomic, readonly) BOOL isPending NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isFulfilled NS_REFINED_FOR_SWIFT; +@property(nonatomic, readonly) BOOL isRejected NS_REFINED_FOR_SWIFT; + +/** + Value the promise was fulfilled with. + Can be nil if the promise is still pending, was resolved with nil or after it has been rejected. + */ +@property(nonatomic, readonly, nullable) Value value NS_REFINED_FOR_SWIFT; + +/** + Error the promise was rejected with. + Can be nil if the promise is still pending or after it has been fulfilled. + */ +@property(nonatomic, readonly, nullable) NSError *error NS_REFINED_FOR_SWIFT; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Then.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Then.h new file mode 100644 index 00000000000..32027e69738 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Then.h @@ -0,0 +1,63 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ThenAdditions) + +typedef id __nullable (^FBLPromiseThenWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously only + when the receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with + the same error. + + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)then:(FBLPromiseThenWorkBlock)work NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise which eventually gets resolved with resolution returned from `work` + block: either value, error or another promise. The `work` block is executed asynchronously when the + receiver is fulfilled. If receiver is rejected, the returned promise is also rejected with the same + error. + + @param queue A queue to invoke the `work` block on. + @param work A block to handle the value that receiver was fulfilled with. + @return A new pending promise to be resolved with resolution returned from the `work` block. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + then:(FBLPromiseThenWorkBlock)work NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `then` operators. + Usage: promise.then(^id(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ThenAdditions) + +- (FBLPromise* (^)(FBLPromiseThenWorkBlock))then FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, FBLPromiseThenWorkBlock))thenOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Timeout.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Timeout.h new file mode 100644 index 00000000000..184ba166fa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Timeout.h @@ -0,0 +1,57 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(TimeoutAdditions) + +/** + Waits for a promise with the specified `timeout`. + + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)timeout:(NSTimeInterval)interval NS_SWIFT_UNAVAILABLE(""); + +/** + Waits for a promise with the specified `timeout`. + + @param queue A queue to dispatch on. + @param interval Time to wait in seconds. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeTimedOut` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + timeout:(NSTimeInterval)interval NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `timeout` operators. + Usage: promise.timeout(...) + */ +@interface FBLPromise(DotSyntax_TimeoutAdditions) + +- (FBLPromise* (^)(NSTimeInterval))timeout FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise* (^)(dispatch_queue_t, NSTimeInterval))timeoutOn FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Validate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Validate.h new file mode 100644 index 00000000000..9dfa2f16ae4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Validate.h @@ -0,0 +1,60 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface FBLPromise(ValidateAdditions) + +typedef BOOL (^FBLPromiseValidateWorkBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)validate:(FBLPromiseValidateWorkBlock)predicate NS_SWIFT_UNAVAILABLE(""); + +/** + Validates a fulfilled value or rejects the value if it can not be validated. + + @param queue A queue to dispatch on. + @param predicate An expression to validate. + @return A new pending promise that gets either resolved with same resolution as the receiver or + rejected with `FBLPromiseErrorCodeValidationFailure` error code in `FBLPromiseErrorDomain`. + */ +- (FBLPromise *)onQueue:(dispatch_queue_t)queue + validate:(FBLPromiseValidateWorkBlock)predicate NS_REFINED_FOR_SWIFT; + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `validate` operators. + Usage: promise.validate(^BOOL(id value) { ... }) + */ +@interface FBLPromise(DotSyntax_ValidateAdditions) + +- (FBLPromise * (^)(FBLPromiseValidateWorkBlock))validate FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); +- (FBLPromise * (^)(dispatch_queue_t, FBLPromiseValidateWorkBlock))validateOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Wrap.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Wrap.h new file mode 100644 index 00000000000..664e1bbffbf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise+Wrap.h @@ -0,0 +1,316 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Different types of completion handlers available to be wrapped with promise. + */ +typedef void (^FBLPromiseCompletion)(void) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectCompletion)(id __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorCompletion)(NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseObjectOrErrorCompletion)(id __nullable, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseErrorOrObjectCompletion)(NSError* __nullable, id __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromise2ObjectsOrErrorCompletion)(id __nullable, id __nullable, + NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolCompletion)(BOOL) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseBoolOrErrorCompletion)(BOOL, NSError* __nullable) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerCompletion)(NSInteger) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseIntegerOrErrorCompletion)(NSInteger, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleCompletion)(double) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseDoubleOrErrorCompletion)(double, NSError* __nullable) + NS_SWIFT_UNAVAILABLE(""); + +/** + Provides an easy way to convert methods that use common callback patterns into promises. + */ +@interface FBLPromise(WrapAdditions) + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)wrapCompletion:(void (^)(FBLPromiseCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with `nil` when completion handler is invoked. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapCompletion:(void (^)(FBLPromiseCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectCompletion:(void (^)(FBLPromiseObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error provided by completion handler. + If error is `nil`, fulfills with `nil`, otherwise rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorCompletion:(void (^)(FBLPromiseErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)wrapObjectOrErrorCompletion: + (void (^)(FBLPromiseObjectOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an object provided by completion handler if error is `nil`. + Otherwise, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapObjectOrErrorCompletion:(void (^)(FBLPromiseObjectOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)wrapErrorOrObjectCompletion: + (void (^)(FBLPromiseErrorOrObjectCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an error or object provided by completion handler. If error + is not `nil`, rejects with the error. + */ ++ (instancetype)onQueue:(dispatch_queue_t)queue + wrapErrorOrObjectCompletion:(void (^)(FBLPromiseErrorOrObjectCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)wrap2ObjectsOrErrorCompletion: + (void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an array of objects provided by completion handler in order + if error is `nil`. Otherwise, rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrap2ObjectsOrErrorCompletion:(void (^)(FBLPromise2ObjectsOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolCompletion:(void (^)(FBLPromiseBoolCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapBoolOrErrorCompletion: + (void (^)(FBLPromiseBoolOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping YES/NO when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapBoolOrErrorCompletion:(void (^)(FBLPromiseBoolOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerCompletion:(void (^)(FBLPromiseIntegerCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapIntegerOrErrorCompletion: + (void (^)(FBLPromiseIntegerOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping an integer when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapIntegerOrErrorCompletion:(void (^)(FBLPromiseIntegerOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleCompletion:(void (^)(FBLPromiseDoubleCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +/** + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)wrapDoubleOrErrorCompletion: + (void (^)(FBLPromiseDoubleOrErrorCompletion handler))work NS_SWIFT_UNAVAILABLE(""); + +/** + @param queue A queue to invoke the `work` block on. + @param work A block to perform any operations needed to resolve the promise. + @returns A promise that resolves with an `NSNumber` wrapping a double when error is `nil`. + Otherwise rejects with the error. + */ ++ (FBLPromise*)onQueue:(dispatch_queue_t)queue + wrapDoubleOrErrorCompletion:(void (^)(FBLPromiseDoubleOrErrorCompletion handler))work + NS_SWIFT_UNAVAILABLE(""); + +@end + +/** + Convenience dot-syntax wrappers for `FBLPromise` `wrap` operators. + Usage: FBLPromise.wrapCompletion(^(FBLPromiseCompletion handler) {...}) + */ +@interface FBLPromise(DotSyntax_WrapAdditions) + ++ (FBLPromise* (^)(void (^)(FBLPromiseCompletion)))wrapCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseCompletion)))wrapCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseObjectCompletion)))wrapObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletion FBL_PROMISES_DOT_SYNTAX + NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseErrorCompletion)))wrapErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseObjectOrErrorCompletion)))wrapObjectOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseErrorOrObjectCompletion)))wrapErrorOrObjectCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromise2ObjectsOrErrorCompletion))) + wrap2ObjectsOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolCompletion)))wrapBoolCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseBoolOrErrorCompletion)))wrapBoolOrErrorCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseIntegerCompletion)))wrapIntegerCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseIntegerOrErrorCompletion))) + wrapIntegerOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletion + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, + void (^)(FBLPromiseDoubleCompletion)))wrapDoubleCompletionOn + FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletion FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise* (^)(dispatch_queue_t, void (^)(FBLPromiseDoubleOrErrorCompletion))) + wrapDoubleOrErrorCompletionOn FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise.h new file mode 100644 index 00000000000..98c813b79d6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromise.h @@ -0,0 +1,93 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromiseError.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Promises synchronization construct in Objective-C. + */ +@interface FBLPromise<__covariant Value> : NSObject + +/** + Default dispatch queue used for `FBLPromise`, which is `main` if a queue is not specified. + */ +@property(class) dispatch_queue_t defaultDispatchQueue NS_REFINED_FOR_SWIFT; + +/** + Creates a pending promise. + */ ++ (instancetype)pendingPromise NS_REFINED_FOR_SWIFT; + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ ++ (instancetype)resolvedWith:(nullable id)resolution NS_REFINED_FOR_SWIFT; + +/** + Synchronously fulfills the promise with a value. + + @param value An arbitrary value to fulfill the promise with, including `nil`. + */ +- (void)fulfill:(nullable Value)value NS_REFINED_FOR_SWIFT; + +/** + Synchronously rejects the promise with an error. + + @param error An error to reject the promise with. + */ +- (void)reject:(NSError *)error NS_REFINED_FOR_SWIFT; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; +@end + +@interface FBLPromise() + +/** + Adds an object to the set of pending objects to keep strongly while the promise is pending. + Used by the Swift wrappers to keep them alive until the underlying ObjC promise is resolved. + + @param object An object to add. + */ +- (void)addPendingObject:(id)object NS_REFINED_FOR_SWIFT; + +@end + +#ifdef FBL_PROMISES_DOT_SYNTAX_IS_DEPRECATED +#define FBL_PROMISES_DOT_SYNTAX __attribute__((deprecated)) +#else +#define FBL_PROMISES_DOT_SYNTAX +#endif + +@interface FBLPromise(DotSyntaxAdditions) + +/** + Convenience dot-syntax wrappers for FBLPromise. + Usage: FBLPromise.pending() + FBLPromise.resolved(value) + + */ ++ (FBLPromise * (^)(void))pending FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); ++ (FBLPromise * (^)(id __nullable))resolved FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromiseError.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromiseError.h new file mode 100644 index 00000000000..d37af536c60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromiseError.h @@ -0,0 +1,43 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXTERN NSErrorDomain const FBLPromiseErrorDomain NS_REFINED_FOR_SWIFT; + +/** + Possible error codes in `FBLPromiseErrorDomain`. + */ +typedef NS_ENUM(NSInteger, FBLPromiseErrorCode) { + /** Promise failed to resolve in time. */ + FBLPromiseErrorCodeTimedOut = 1, + /** Validation predicate returned false. */ + FBLPromiseErrorCodeValidationFailure = 2, +} NS_REFINED_FOR_SWIFT; + +NS_INLINE BOOL FBLPromiseErrorIsTimedOut(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeTimedOut; +} + +NS_INLINE BOOL FBLPromiseErrorIsValidationFailure(NSError *error) NS_SWIFT_UNAVAILABLE("") { + return error.domain == FBLPromiseErrorDomain && + error.code == FBLPromiseErrorCodeValidationFailure; +} + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromises.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromises.h new file mode 100644 index 00000000000..2d90badb17b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/FBLPromises.h @@ -0,0 +1,32 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/PromisesObjC-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/PromisesObjC-umbrella.h new file mode 100644 index 00000000000..a1bfd52fe5d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Headers/PromisesObjC-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FBLPromise+All.h" +#import "FBLPromise+Always.h" +#import "FBLPromise+Any.h" +#import "FBLPromise+Async.h" +#import "FBLPromise+Await.h" +#import "FBLPromise+Catch.h" +#import "FBLPromise+Delay.h" +#import "FBLPromise+Do.h" +#import "FBLPromise+Race.h" +#import "FBLPromise+Recover.h" +#import "FBLPromise+Reduce.h" +#import "FBLPromise+Retry.h" +#import "FBLPromise+Testing.h" +#import "FBLPromise+Then.h" +#import "FBLPromise+Timeout.h" +#import "FBLPromise+Validate.h" +#import "FBLPromise+Wrap.h" +#import "FBLPromise.h" +#import "FBLPromiseError.h" +#import "FBLPromises.h" + +FOUNDATION_EXPORT double FBLPromisesVersionNumber; +FOUNDATION_EXPORT const unsigned char FBLPromisesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Info.plist new file mode 100644 index 00000000000..8eb43880c84 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBLPromises + CFBundleIdentifier + org.cocoapods.FBLPromises + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBLPromises + CFBundlePackageType + FMWK + CFBundleShortVersionString + 2.4.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchsimulator + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchsimulator10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Modules/module.modulemap new file mode 100644 index 00000000000..bd7b48e165d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module PromisesObjC { +umbrella header "PromisesObjC-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h new file mode 100644 index 00000000000..7a132f2030f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FBLPromises.xcframework/watchos-arm64_x86_64-simulator/FBLPromises.framework/PrivateHeaders/FBLPromisePrivate.h @@ -0,0 +1,66 @@ +/** + Copyright 2018 Google Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#import "FBLPromise+Testing.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + Miscellaneous low-level private interfaces available to extend standard FBLPromise functionality. + */ +@interface FBLPromise() + +typedef void (^FBLPromiseOnFulfillBlock)(Value __nullable value) NS_SWIFT_UNAVAILABLE(""); +typedef void (^FBLPromiseOnRejectBlock)(NSError *error) NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedFulfillBlock)(Value __nullable value) + NS_SWIFT_UNAVAILABLE(""); +typedef id __nullable (^__nullable FBLPromiseChainedRejectBlock)(NSError *error) + NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a pending promise. + */ +- (instancetype)initPending NS_SWIFT_UNAVAILABLE(""); + +/** + Creates a resolved promise. + + @param resolution An object to resolve the promise with: either a value or an error. + @return A new resolved promise. + */ +- (instancetype)initWithResolution:(nullable id)resolution NS_SWIFT_UNAVAILABLE(""); + +/** + Invokes `fulfill` and `reject` blocks on `queue` when the receiver gets either fulfilled or + rejected respectively. + */ +- (void)observeOnQueue:(dispatch_queue_t)queue + fulfill:(FBLPromiseOnFulfillBlock)onFulfill + reject:(FBLPromiseOnRejectBlock)onReject NS_SWIFT_UNAVAILABLE(""); + +/** + Returns a new promise which gets resolved with the return value of `chainedFulfill` or + `chainedReject` blocks respectively. The blocks are invoked when the receiver gets either + fulfilled or rejected. If `nil` is passed to either block arg, the returned promise is resolved + with the same resolution as the receiver. + */ +- (FBLPromise *)chainOnQueue:(dispatch_queue_t)queue + chainedFulfill:(FBLPromiseChainedFulfillBlock)chainedFulfill + chainedReject:(FBLPromiseChainedRejectBlock)chainedReject NS_SWIFT_UNAVAILABLE(""); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/Info.plist new file mode 100644 index 00000000000..4640d506d1f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/Info.plist @@ -0,0 +1,107 @@ + + + + + AvailableLibraries + + + BinaryPath + FirebaseAnalytics.framework/FirebaseAnalytics + LibraryIdentifier + ios-arm64 + LibraryPath + FirebaseAnalytics.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + FirebaseAnalytics.framework/Versions/A/FirebaseAnalytics + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FirebaseAnalytics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + BinaryPath + FirebaseAnalytics.framework/FirebaseAnalytics + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FirebaseAnalytics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseAnalytics.framework/FirebaseAnalytics + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FirebaseAnalytics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseAnalytics.framework/FirebaseAnalytics + LibraryIdentifier + tvos-arm64 + LibraryPath + FirebaseAnalytics.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + FirebaseAnalytics.framework/Versions/A/FirebaseAnalytics + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + FirebaseAnalytics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeDirectory b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeDirectory new file mode 100644 index 00000000000..bcd557aa984 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeDirectory differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeRequirements b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeRequirements new file mode 100644 index 00000000000..665b37e6021 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeRequirements differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeRequirements-1 b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 00000000000..6c10b79f035 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeRequirements-1 differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeResources b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeResources new file mode 100644 index 00000000000..36555eef0b2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeResources @@ -0,0 +1,2068 @@ + + + + + files + + ios-arm64/FirebaseAnalytics.framework/FirebaseAnalytics + + 4TWkcATxuIU+5C+hG4fT+ROVRUs= + + ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h + + JxSy4BVIpZB3s+tbI3EgcIVsvN0= + + ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h + + IN4riVkldIj3MlPpvlUuU1i+I8w= + + ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h + + 58LqQ/Y9jqPGz3JttzK0z7jPLLc= + + ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h + + B+YLaEHhiOu6tTPZaB5wWy4n95U= + + ios-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h + + HrzLufMtB3E5zAfPXZTkYQdGyHI= + + ios-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h + + SztBbCRZ5QE523pdMx4HZt0AYKE= + + ios-arm64/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h + + 33ogzLW88kbc3XVXJp9Opq9Znmc= + + ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h + + 0nWXABx/HRqcUMkqMxRdJuHxqQU= + + ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h + + wE8Bjq1o5wGq1TFJb0gCJUmRelQ= + + ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h + + 6tM+QmAiCFyFHMaFXgWsH/uYosM= + + ios-arm64/FirebaseAnalytics.framework/Info.plist + + WX6aoBMqQwQzsDvLeyE0OgFVPrw= + + ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo + + 3M+pYToQyErPKuPVG6i1Cq45UGg= + + ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.abi.json + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.private.swiftinterface + + NAvpCrv1M1YGI6Vin6eL42cx/3s= + + ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.swiftdoc + + BHIT/FyHupjfAkf+upImM8fRLqU= + + ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.swiftinterface + + NAvpCrv1M1YGI6Vin6eL42cx/3s= + + ios-arm64/FirebaseAnalytics.framework/Modules/module.modulemap + + uLysK0T5K1GSoqJmcXx9AnZ9lqY= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/FirebaseAnalytics + + hLMA9SEHbpnzoKCc9HUHc1uhKak= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+AppDelegate.h + + JxSy4BVIpZB3s+tbI3EgcIVsvN0= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+Consent.h + + IN4riVkldIj3MlPpvlUuU1i+I8w= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+OnDevice.h + + 58LqQ/Y9jqPGz3JttzK0z7jPLLc= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics.h + + B+YLaEHhiOu6tTPZaB5wWy4n95U= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIREventNames.h + + HrzLufMtB3E5zAfPXZTkYQdGyHI= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRParameterNames.h + + SztBbCRZ5QE523pdMx4HZt0AYKE= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRUserPropertyNames.h + + 33ogzLW88kbc3XVXJp9Opq9Znmc= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-Swift.h + + cu0mXcU7RrT9nKAMSamYxQcZ8MA= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-umbrella.h + + wE8Bjq1o5wGq1TFJb0gCJUmRelQ= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics.h + + 6tM+QmAiCFyFHMaFXgWsH/uYosM= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo + + EhtqX7DzKoQW0iSi3IUTGK5b37Q= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo + + JLsXBdIWPoRNn3Kb2eMFEdHVdRA= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.abi.json + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface + + 4gR6vGh9NGCOc8NqbJitBi4PYMc= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.swiftdoc + + qhoelsD3haNmZEE9NM8xvtK9mEY= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.swiftinterface + + 4gR6vGh9NGCOc8NqbJitBi4PYMc= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.abi.json + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface + + R1LVVji18GwfW9nhhjO5aFGB1+k= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.swiftdoc + + /8RdTbctZKCA1/OIwmZLl2oWnCk= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.swiftinterface + + R1LVVji18GwfW9nhhjO5aFGB1+k= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/module.modulemap + + uLysK0T5K1GSoqJmcXx9AnZ9lqY= + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Resources/Info.plist + + svXxv0/OGVjQmF1D+z3z0w5TRm0= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics + + 5lkjmj4xdvZvK3gmirF/U6+EOHk= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h + + JxSy4BVIpZB3s+tbI3EgcIVsvN0= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h + + IN4riVkldIj3MlPpvlUuU1i+I8w= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h + + 58LqQ/Y9jqPGz3JttzK0z7jPLLc= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h + + B+YLaEHhiOu6tTPZaB5wWy4n95U= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h + + HrzLufMtB3E5zAfPXZTkYQdGyHI= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h + + SztBbCRZ5QE523pdMx4HZt0AYKE= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h + + 33ogzLW88kbc3XVXJp9Opq9Znmc= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h + + cu0mXcU7RrT9nKAMSamYxQcZ8MA= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h + + wE8Bjq1o5wGq1TFJb0gCJUmRelQ= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h + + 6tM+QmAiCFyFHMaFXgWsH/uYosM= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist + + etmbf5xWw3wEKGL3IWC/ow/wF+M= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo + + FhnJN0FjXUhPYpTZbg7lfTzY4iM= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo + + G1rPKi+yEapomahwUr5E85athPA= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.abi.json + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + hZUm+6Yon0B4K7L8GD1ScdCY3t0= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + JeXYTVdQMygRSZdbbP8kc/pgjAI= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hZUm+6Yon0B4K7L8GD1ScdCY3t0= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.abi.json + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + eO9rriExhXQgyXhchyORV3h91L4= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + mjATLkNPULjHjLv3ARUXQ7doOSY= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + eO9rriExhXQgyXhchyORV3h91L4= + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap + + uLysK0T5K1GSoqJmcXx9AnZ9lqY= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/FirebaseAnalytics + + k2YgKDybd3CbLlkKKDkufS9bf5M= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+AppDelegate.h + + JxSy4BVIpZB3s+tbI3EgcIVsvN0= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+Consent.h + + IN4riVkldIj3MlPpvlUuU1i+I8w= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+OnDevice.h + + 58LqQ/Y9jqPGz3JttzK0z7jPLLc= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics.h + + B+YLaEHhiOu6tTPZaB5wWy4n95U= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIREventNames.h + + HrzLufMtB3E5zAfPXZTkYQdGyHI= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRParameterNames.h + + SztBbCRZ5QE523pdMx4HZt0AYKE= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRUserPropertyNames.h + + 33ogzLW88kbc3XVXJp9Opq9Znmc= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-Swift.h + + cu0mXcU7RrT9nKAMSamYxQcZ8MA= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-umbrella.h + + sXk7jWhcfsvb8eJb7/NDl2Dy2RQ= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics.h + + 6tM+QmAiCFyFHMaFXgWsH/uYosM= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo + + tDXAvUd1DT/hf+gGhRWBN9f6++k= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo + + yO6TP0ibVAPGnKhw/PP4xRl7xRU= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.abi.json + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.private.swiftinterface + + ZAKuYvVr4sfCX7usXZP7Kk9oW7k= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.swiftdoc + + 1zu68JlIn8zDFnfRoKMDRMs6j5I= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.swiftinterface + + ZAKuYvVr4sfCX7usXZP7Kk9oW7k= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.abi.json + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.private.swiftinterface + + TztLGK3InUf3F4NjuC+lzdaWf50= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.swiftdoc + + ByKNCJ6aB6LHj+qNk+ZX3YQ3LWM= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.swiftinterface + + TztLGK3InUf3F4NjuC+lzdaWf50= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/module.modulemap + + jWZ+azdgXQdH9z56z25NptmWlq4= + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Resources/Info.plist + + oYHe0jq2/d647hnie1kXM5yTzG0= + + tvos-arm64/FirebaseAnalytics.framework/FirebaseAnalytics + + 6KKSHK++Blij52zq9pAdBDlRLbQ= + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h + + JxSy4BVIpZB3s+tbI3EgcIVsvN0= + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h + + IN4riVkldIj3MlPpvlUuU1i+I8w= + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h + + 58LqQ/Y9jqPGz3JttzK0z7jPLLc= + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h + + B+YLaEHhiOu6tTPZaB5wWy4n95U= + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h + + HrzLufMtB3E5zAfPXZTkYQdGyHI= + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h + + SztBbCRZ5QE523pdMx4HZt0AYKE= + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h + + 33ogzLW88kbc3XVXJp9Opq9Znmc= + + tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h + + 0nWXABx/HRqcUMkqMxRdJuHxqQU= + + tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h + + wE8Bjq1o5wGq1TFJb0gCJUmRelQ= + + tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h + + 6tM+QmAiCFyFHMaFXgWsH/uYosM= + + tvos-arm64/FirebaseAnalytics.framework/Info.plist + + QpGj6BfYgPdzaxBNh2oz0+kEaqg= + + tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo + + b0d6xVfiF71u0Dj4E4tbrPn+9wc= + + tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.abi.json + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.private.swiftinterface + + Yg0lxt4eDVJ4zEDgxRvyl2hwR5Q= + + tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.swiftdoc + + ICm3QgbA9GCrU8RrR6izKGRnrLA= + + tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.swiftinterface + + Yg0lxt4eDVJ4zEDgxRvyl2hwR5Q= + + tvos-arm64/FirebaseAnalytics.framework/Modules/module.modulemap + + uLysK0T5K1GSoqJmcXx9AnZ9lqY= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics + + ScPpK9PZ1K2h4MEIEhGdimAqFGg= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h + + JxSy4BVIpZB3s+tbI3EgcIVsvN0= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h + + IN4riVkldIj3MlPpvlUuU1i+I8w= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h + + 58LqQ/Y9jqPGz3JttzK0z7jPLLc= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h + + B+YLaEHhiOu6tTPZaB5wWy4n95U= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h + + HrzLufMtB3E5zAfPXZTkYQdGyHI= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h + + SztBbCRZ5QE523pdMx4HZt0AYKE= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h + + 33ogzLW88kbc3XVXJp9Opq9Znmc= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h + + cu0mXcU7RrT9nKAMSamYxQcZ8MA= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h + + wE8Bjq1o5wGq1TFJb0gCJUmRelQ= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h + + 6tM+QmAiCFyFHMaFXgWsH/uYosM= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist + + q9RykUmARxGpwWkmA+HY/h9DPA0= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo + + WC+E5oT39/Vu6ecgffiaR00kGys= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo + + xw34VmRefYpxywjZs0NQB+4xvz8= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.abi.json + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface + + +EoKjIoaiJH4HuBxFOAR+N6qm/A= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.swiftdoc + + kEpmMJ+EwdoypGxC9M4fHrfAYic= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.swiftinterface + + +EoKjIoaiJH4HuBxFOAR+N6qm/A= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.abi.json + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface + + KthVIak11hjuXvIlm095GJUwL1M= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc + + 65HbWdHXydClg5RHbdZeeWhc8us= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface + + KthVIak11hjuXvIlm095GJUwL1M= + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap + + uLysK0T5K1GSoqJmcXx9AnZ9lqY= + + + files2 + + ios-arm64/FirebaseAnalytics.framework/FirebaseAnalytics + + hash + + 4TWkcATxuIU+5C+hG4fT+ROVRUs= + + hash2 + + 8/9oZKg7xVvmNpY5bHq1YNlySb2+UfgrbO0rakY0aKw= + + + ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h + + hash + + JxSy4BVIpZB3s+tbI3EgcIVsvN0= + + hash2 + + HSPmaeLSu5PqNTtlwUWfRT4cyVX65JmeB/oed8f0pdU= + + + ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h + + hash + + IN4riVkldIj3MlPpvlUuU1i+I8w= + + hash2 + + ebGwpP2JZ0Rp6BdXhKiLUYOq6nJG7la5O0y/wEKfyak= + + + ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h + + hash + + 58LqQ/Y9jqPGz3JttzK0z7jPLLc= + + hash2 + + 67S/czxwflT8GxF7bVp32FLgu2W97zH06W6zv8/VILU= + + + ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h + + hash + + B+YLaEHhiOu6tTPZaB5wWy4n95U= + + hash2 + + wmpxZuP80odiQUX5Ts7GaPkhE7UeuzmDMrvTcOS0vLQ= + + + ios-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h + + hash + + HrzLufMtB3E5zAfPXZTkYQdGyHI= + + hash2 + + mNgPvQJ0O5ZQ/EINmxz+zoQHoxj/O70iH5crkbhGU3g= + + + ios-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h + + hash + + SztBbCRZ5QE523pdMx4HZt0AYKE= + + hash2 + + hwLb6dR4Q5L+j2vYcsXcc8sr2yoS1X9vyl7T/PjcHow= + + + ios-arm64/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h + + hash + + 33ogzLW88kbc3XVXJp9Opq9Znmc= + + hash2 + + z0lD0Agt0NzOZdG+xd6QpXvGS+06dK4A3RYK0Wu1OKw= + + + ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h + + hash + + 0nWXABx/HRqcUMkqMxRdJuHxqQU= + + hash2 + + DmmG7v+JGyWpcKQl1BeGd8rqz4HV3b+PToUt+aM45bY= + + + ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h + + hash + + wE8Bjq1o5wGq1TFJb0gCJUmRelQ= + + hash2 + + LOiywMHEh60MswGEzs9lM8P6m3oohYp+IWaiZtbwVVM= + + + ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h + + hash + + 6tM+QmAiCFyFHMaFXgWsH/uYosM= + + hash2 + + VS1dxfDwCZeRcJYgkkEUhmdXx6ch9X/E8YjKBX367WY= + + + ios-arm64/FirebaseAnalytics.framework/Info.plist + + hash + + WX6aoBMqQwQzsDvLeyE0OgFVPrw= + + hash2 + + 6HZwAdwIcLgdAYbXj2Rdo8hxuIk/yBzbvcA/jwYk7VE= + + + ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo + + hash + + 3M+pYToQyErPKuPVG6i1Cq45UGg= + + hash2 + + gDXpDQ46UaffVyDDJojjT9cq4VI6EG0nsDQq7vP4Osg= + + + ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.abi.json + + hash + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + hash2 + + C4diFGoEyBmGjFO8mP/P4nf/3oZuROOsFMcNqQ/DHE8= + + + ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.private.swiftinterface + + hash + + NAvpCrv1M1YGI6Vin6eL42cx/3s= + + hash2 + + w4kvFgyfxWYtCjCy0BYHS05P0r5XAws8V9Mc4rKyOaQ= + + + ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.swiftdoc + + hash + + BHIT/FyHupjfAkf+upImM8fRLqU= + + hash2 + + VD+vnhQT/tzGLf1nYQU+/onj2SvCzxwQtgst449XRlc= + + + ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.swiftinterface + + hash + + NAvpCrv1M1YGI6Vin6eL42cx/3s= + + hash2 + + w4kvFgyfxWYtCjCy0BYHS05P0r5XAws8V9Mc4rKyOaQ= + + + ios-arm64/FirebaseAnalytics.framework/Modules/module.modulemap + + hash + + uLysK0T5K1GSoqJmcXx9AnZ9lqY= + + hash2 + + vxNgOuI61t45Sed09vILAKePFm9riTp4aZ48hjDRPIQ= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/FirebaseAnalytics + + symlink + Versions/Current/FirebaseAnalytics + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers + + symlink + Versions/Current/Headers + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Modules + + symlink + Versions/Current/Modules + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Resources + + symlink + Versions/Current/Resources + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/FirebaseAnalytics + + hash + + hLMA9SEHbpnzoKCc9HUHc1uhKak= + + hash2 + + 5NXk7T4Y6W/XNKWU0Djgq2+7hF3KSBus3PucXubv7bM= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+AppDelegate.h + + hash + + JxSy4BVIpZB3s+tbI3EgcIVsvN0= + + hash2 + + HSPmaeLSu5PqNTtlwUWfRT4cyVX65JmeB/oed8f0pdU= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+Consent.h + + hash + + IN4riVkldIj3MlPpvlUuU1i+I8w= + + hash2 + + ebGwpP2JZ0Rp6BdXhKiLUYOq6nJG7la5O0y/wEKfyak= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+OnDevice.h + + hash + + 58LqQ/Y9jqPGz3JttzK0z7jPLLc= + + hash2 + + 67S/czxwflT8GxF7bVp32FLgu2W97zH06W6zv8/VILU= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics.h + + hash + + B+YLaEHhiOu6tTPZaB5wWy4n95U= + + hash2 + + wmpxZuP80odiQUX5Ts7GaPkhE7UeuzmDMrvTcOS0vLQ= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIREventNames.h + + hash + + HrzLufMtB3E5zAfPXZTkYQdGyHI= + + hash2 + + mNgPvQJ0O5ZQ/EINmxz+zoQHoxj/O70iH5crkbhGU3g= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRParameterNames.h + + hash + + SztBbCRZ5QE523pdMx4HZt0AYKE= + + hash2 + + hwLb6dR4Q5L+j2vYcsXcc8sr2yoS1X9vyl7T/PjcHow= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRUserPropertyNames.h + + hash + + 33ogzLW88kbc3XVXJp9Opq9Znmc= + + hash2 + + z0lD0Agt0NzOZdG+xd6QpXvGS+06dK4A3RYK0Wu1OKw= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-Swift.h + + hash + + cu0mXcU7RrT9nKAMSamYxQcZ8MA= + + hash2 + + 4mnxjtoRMyo5TIjTieqzJLBQ4m0noIZqWhmI5a2a3QE= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-umbrella.h + + hash + + wE8Bjq1o5wGq1TFJb0gCJUmRelQ= + + hash2 + + LOiywMHEh60MswGEzs9lM8P6m3oohYp+IWaiZtbwVVM= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics.h + + hash + + 6tM+QmAiCFyFHMaFXgWsH/uYosM= + + hash2 + + VS1dxfDwCZeRcJYgkkEUhmdXx6ch9X/E8YjKBX367WY= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo + + hash + + EhtqX7DzKoQW0iSi3IUTGK5b37Q= + + hash2 + + EB/Dw4T1UMGv1jgPZ1eCWm7fdXPIo8yT0CkHETyq3mU= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo + + hash + + JLsXBdIWPoRNn3Kb2eMFEdHVdRA= + + hash2 + + jXBXaBJl9zxQZXHt4XmxiSmutlJNIM/Y2nF+nFirDLQ= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.abi.json + + hash + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + hash2 + + C4diFGoEyBmGjFO8mP/P4nf/3oZuROOsFMcNqQ/DHE8= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface + + hash + + 4gR6vGh9NGCOc8NqbJitBi4PYMc= + + hash2 + + sBsGCsKt/qVMlUX2JkA5hB1ko0klhw7cNGdqgUlwGW4= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.swiftdoc + + hash + + qhoelsD3haNmZEE9NM8xvtK9mEY= + + hash2 + + ORG2lGLtqMk9O/g5fSRsgM0vkRuCeApJ2rKBJUOAyQY= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.swiftinterface + + hash + + 4gR6vGh9NGCOc8NqbJitBi4PYMc= + + hash2 + + sBsGCsKt/qVMlUX2JkA5hB1ko0klhw7cNGdqgUlwGW4= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.abi.json + + hash + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + hash2 + + C4diFGoEyBmGjFO8mP/P4nf/3oZuROOsFMcNqQ/DHE8= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface + + hash + + R1LVVji18GwfW9nhhjO5aFGB1+k= + + hash2 + + 8sleA8PWyFsmq4UfIdcmC5GkHeUcPvp/kAytxpjR9N0= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.swiftdoc + + hash + + /8RdTbctZKCA1/OIwmZLl2oWnCk= + + hash2 + + zgcFlEjAeUx/3gKqZtb0j32k5wK3ScunLgYWrpCZ8YY= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.swiftinterface + + hash + + R1LVVji18GwfW9nhhjO5aFGB1+k= + + hash2 + + 8sleA8PWyFsmq4UfIdcmC5GkHeUcPvp/kAytxpjR9N0= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/module.modulemap + + hash + + uLysK0T5K1GSoqJmcXx9AnZ9lqY= + + hash2 + + vxNgOuI61t45Sed09vILAKePFm9riTp4aZ48hjDRPIQ= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Resources/Info.plist + + hash + + svXxv0/OGVjQmF1D+z3z0w5TRm0= + + hash2 + + Q9LZdmVWVRUP3q3lLdhUHRJR4KHk7xMtSOrKMCdIp+o= + + + ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/Current + + symlink + A + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics + + hash + + 5lkjmj4xdvZvK3gmirF/U6+EOHk= + + hash2 + + ov7GDmKsTwBrxyGJDDKZsskGgKQ/iTjYMmwtXYiLLhg= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h + + hash + + JxSy4BVIpZB3s+tbI3EgcIVsvN0= + + hash2 + + HSPmaeLSu5PqNTtlwUWfRT4cyVX65JmeB/oed8f0pdU= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h + + hash + + IN4riVkldIj3MlPpvlUuU1i+I8w= + + hash2 + + ebGwpP2JZ0Rp6BdXhKiLUYOq6nJG7la5O0y/wEKfyak= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h + + hash + + 58LqQ/Y9jqPGz3JttzK0z7jPLLc= + + hash2 + + 67S/czxwflT8GxF7bVp32FLgu2W97zH06W6zv8/VILU= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h + + hash + + B+YLaEHhiOu6tTPZaB5wWy4n95U= + + hash2 + + wmpxZuP80odiQUX5Ts7GaPkhE7UeuzmDMrvTcOS0vLQ= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h + + hash + + HrzLufMtB3E5zAfPXZTkYQdGyHI= + + hash2 + + mNgPvQJ0O5ZQ/EINmxz+zoQHoxj/O70iH5crkbhGU3g= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h + + hash + + SztBbCRZ5QE523pdMx4HZt0AYKE= + + hash2 + + hwLb6dR4Q5L+j2vYcsXcc8sr2yoS1X9vyl7T/PjcHow= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h + + hash + + 33ogzLW88kbc3XVXJp9Opq9Znmc= + + hash2 + + z0lD0Agt0NzOZdG+xd6QpXvGS+06dK4A3RYK0Wu1OKw= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h + + hash + + cu0mXcU7RrT9nKAMSamYxQcZ8MA= + + hash2 + + 4mnxjtoRMyo5TIjTieqzJLBQ4m0noIZqWhmI5a2a3QE= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h + + hash + + wE8Bjq1o5wGq1TFJb0gCJUmRelQ= + + hash2 + + LOiywMHEh60MswGEzs9lM8P6m3oohYp+IWaiZtbwVVM= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h + + hash + + 6tM+QmAiCFyFHMaFXgWsH/uYosM= + + hash2 + + VS1dxfDwCZeRcJYgkkEUhmdXx6ch9X/E8YjKBX367WY= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist + + hash + + etmbf5xWw3wEKGL3IWC/ow/wF+M= + + hash2 + + kH3fU+ZuMtEki514m7Cc6ofP/bWS1iaUZyQ+karEG6c= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo + + hash + + FhnJN0FjXUhPYpTZbg7lfTzY4iM= + + hash2 + + 9XmCR5irL/8jhiloXGrknFOIXREzqF5D7zOusygjD+M= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo + + hash + + G1rPKi+yEapomahwUr5E85athPA= + + hash2 + + O/FxrYsc5ddEnVxgrppEhKMlUD5uDlwSVru+JzigV/Y= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.abi.json + + hash + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + hash2 + + C4diFGoEyBmGjFO8mP/P4nf/3oZuROOsFMcNqQ/DHE8= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + hash + + hZUm+6Yon0B4K7L8GD1ScdCY3t0= + + hash2 + + QzIaVFFMO8tYIzl4o3nbVBhW2fuNtgOmkSNeDMOfOfA= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash + + JeXYTVdQMygRSZdbbP8kc/pgjAI= + + hash2 + + R2Pt3A/l7SQ4n2I93xw+Ffz7yGbF0Q7HJd4fqxMgV10= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash + + hZUm+6Yon0B4K7L8GD1ScdCY3t0= + + hash2 + + QzIaVFFMO8tYIzl4o3nbVBhW2fuNtgOmkSNeDMOfOfA= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.abi.json + + hash + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + hash2 + + C4diFGoEyBmGjFO8mP/P4nf/3oZuROOsFMcNqQ/DHE8= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + hash + + eO9rriExhXQgyXhchyORV3h91L4= + + hash2 + + lt9Vh+N0wzNo3JZuavlytTxaN9X/rwKiQlcn7Xt6DU4= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash + + mjATLkNPULjHjLv3ARUXQ7doOSY= + + hash2 + + gcmxRgiXlWBZMSGlxd3/aPJfzJWomCwGizfkHXKvofA= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash + + eO9rriExhXQgyXhchyORV3h91L4= + + hash2 + + lt9Vh+N0wzNo3JZuavlytTxaN9X/rwKiQlcn7Xt6DU4= + + + ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap + + hash + + uLysK0T5K1GSoqJmcXx9AnZ9lqY= + + hash2 + + vxNgOuI61t45Sed09vILAKePFm9riTp4aZ48hjDRPIQ= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/FirebaseAnalytics + + symlink + Versions/Current/FirebaseAnalytics + + macos-arm64_x86_64/FirebaseAnalytics.framework/Headers + + symlink + Versions/Current/Headers + + macos-arm64_x86_64/FirebaseAnalytics.framework/Modules + + symlink + Versions/Current/Modules + + macos-arm64_x86_64/FirebaseAnalytics.framework/Resources + + symlink + Versions/Current/Resources + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/FirebaseAnalytics + + hash + + k2YgKDybd3CbLlkKKDkufS9bf5M= + + hash2 + + bvTqmJfY3GA8URECdr8W5Etny9hghCS8GDdFeB7B0/s= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+AppDelegate.h + + hash + + JxSy4BVIpZB3s+tbI3EgcIVsvN0= + + hash2 + + HSPmaeLSu5PqNTtlwUWfRT4cyVX65JmeB/oed8f0pdU= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+Consent.h + + hash + + IN4riVkldIj3MlPpvlUuU1i+I8w= + + hash2 + + ebGwpP2JZ0Rp6BdXhKiLUYOq6nJG7la5O0y/wEKfyak= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+OnDevice.h + + hash + + 58LqQ/Y9jqPGz3JttzK0z7jPLLc= + + hash2 + + 67S/czxwflT8GxF7bVp32FLgu2W97zH06W6zv8/VILU= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics.h + + hash + + B+YLaEHhiOu6tTPZaB5wWy4n95U= + + hash2 + + wmpxZuP80odiQUX5Ts7GaPkhE7UeuzmDMrvTcOS0vLQ= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIREventNames.h + + hash + + HrzLufMtB3E5zAfPXZTkYQdGyHI= + + hash2 + + mNgPvQJ0O5ZQ/EINmxz+zoQHoxj/O70iH5crkbhGU3g= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRParameterNames.h + + hash + + SztBbCRZ5QE523pdMx4HZt0AYKE= + + hash2 + + hwLb6dR4Q5L+j2vYcsXcc8sr2yoS1X9vyl7T/PjcHow= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRUserPropertyNames.h + + hash + + 33ogzLW88kbc3XVXJp9Opq9Znmc= + + hash2 + + z0lD0Agt0NzOZdG+xd6QpXvGS+06dK4A3RYK0Wu1OKw= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-Swift.h + + hash + + cu0mXcU7RrT9nKAMSamYxQcZ8MA= + + hash2 + + 4mnxjtoRMyo5TIjTieqzJLBQ4m0noIZqWhmI5a2a3QE= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-umbrella.h + + hash + + sXk7jWhcfsvb8eJb7/NDl2Dy2RQ= + + hash2 + + E6EdPyZp5cQbOObE0CPO9/R+QvTIYlDIOHvuzam/9H8= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics.h + + hash + + 6tM+QmAiCFyFHMaFXgWsH/uYosM= + + hash2 + + VS1dxfDwCZeRcJYgkkEUhmdXx6ch9X/E8YjKBX367WY= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo + + hash + + tDXAvUd1DT/hf+gGhRWBN9f6++k= + + hash2 + + QzCJQ72/JCPFZASJhWt7lF4KSL9gQCJAHOBGZixXkws= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo + + hash + + yO6TP0ibVAPGnKhw/PP4xRl7xRU= + + hash2 + + 5IoLEq5Ozo113OVhVe9+W2gjx/eVozbIGXB2vjZ+Vw8= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.abi.json + + hash + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + hash2 + + C4diFGoEyBmGjFO8mP/P4nf/3oZuROOsFMcNqQ/DHE8= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.private.swiftinterface + + hash + + ZAKuYvVr4sfCX7usXZP7Kk9oW7k= + + hash2 + + 65tpMWBKS1d0GpEhBByvoQ0+KStlRWp8GF8K7dzViE8= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.swiftdoc + + hash + + 1zu68JlIn8zDFnfRoKMDRMs6j5I= + + hash2 + + 5q8dF0bgCDYfD0KnwHIw+wuj/GogPeqMVp2cx9uulKg= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.swiftinterface + + hash + + ZAKuYvVr4sfCX7usXZP7Kk9oW7k= + + hash2 + + 65tpMWBKS1d0GpEhBByvoQ0+KStlRWp8GF8K7dzViE8= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.abi.json + + hash + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + hash2 + + C4diFGoEyBmGjFO8mP/P4nf/3oZuROOsFMcNqQ/DHE8= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.private.swiftinterface + + hash + + TztLGK3InUf3F4NjuC+lzdaWf50= + + hash2 + + nSnXCeosOPuMgd2b41zKfQBUM22ZloRdAj9hyRYK8wk= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.swiftdoc + + hash + + ByKNCJ6aB6LHj+qNk+ZX3YQ3LWM= + + hash2 + + 7L1iy8hHgpzEAPYgxmkdsz/w6JO8FzKST9eY6Hz9nQU= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.swiftinterface + + hash + + TztLGK3InUf3F4NjuC+lzdaWf50= + + hash2 + + nSnXCeosOPuMgd2b41zKfQBUM22ZloRdAj9hyRYK8wk= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/module.modulemap + + hash + + jWZ+azdgXQdH9z56z25NptmWlq4= + + hash2 + + e4a41Axjw7BAywMms/GuOcqrdwPIVYuMRsPznqQS0X8= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Resources/Info.plist + + hash + + oYHe0jq2/d647hnie1kXM5yTzG0= + + hash2 + + GumuYQPnyvV63aI4FIGdxXwspWQEKX6j6bgTpwkINkY= + + + macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/Current + + symlink + A + + tvos-arm64/FirebaseAnalytics.framework/FirebaseAnalytics + + hash + + 6KKSHK++Blij52zq9pAdBDlRLbQ= + + hash2 + + 8WL/5BNllU4afHaeflRtaPrbFHtVzSRBRgv1EoW2us8= + + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h + + hash + + JxSy4BVIpZB3s+tbI3EgcIVsvN0= + + hash2 + + HSPmaeLSu5PqNTtlwUWfRT4cyVX65JmeB/oed8f0pdU= + + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h + + hash + + IN4riVkldIj3MlPpvlUuU1i+I8w= + + hash2 + + ebGwpP2JZ0Rp6BdXhKiLUYOq6nJG7la5O0y/wEKfyak= + + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h + + hash + + 58LqQ/Y9jqPGz3JttzK0z7jPLLc= + + hash2 + + 67S/czxwflT8GxF7bVp32FLgu2W97zH06W6zv8/VILU= + + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h + + hash + + B+YLaEHhiOu6tTPZaB5wWy4n95U= + + hash2 + + wmpxZuP80odiQUX5Ts7GaPkhE7UeuzmDMrvTcOS0vLQ= + + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h + + hash + + HrzLufMtB3E5zAfPXZTkYQdGyHI= + + hash2 + + mNgPvQJ0O5ZQ/EINmxz+zoQHoxj/O70iH5crkbhGU3g= + + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h + + hash + + SztBbCRZ5QE523pdMx4HZt0AYKE= + + hash2 + + hwLb6dR4Q5L+j2vYcsXcc8sr2yoS1X9vyl7T/PjcHow= + + + tvos-arm64/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h + + hash + + 33ogzLW88kbc3XVXJp9Opq9Znmc= + + hash2 + + z0lD0Agt0NzOZdG+xd6QpXvGS+06dK4A3RYK0Wu1OKw= + + + tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h + + hash + + 0nWXABx/HRqcUMkqMxRdJuHxqQU= + + hash2 + + DmmG7v+JGyWpcKQl1BeGd8rqz4HV3b+PToUt+aM45bY= + + + tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h + + hash + + wE8Bjq1o5wGq1TFJb0gCJUmRelQ= + + hash2 + + LOiywMHEh60MswGEzs9lM8P6m3oohYp+IWaiZtbwVVM= + + + tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h + + hash + + 6tM+QmAiCFyFHMaFXgWsH/uYosM= + + hash2 + + VS1dxfDwCZeRcJYgkkEUhmdXx6ch9X/E8YjKBX367WY= + + + tvos-arm64/FirebaseAnalytics.framework/Info.plist + + hash + + QpGj6BfYgPdzaxBNh2oz0+kEaqg= + + hash2 + + owmnZRQqsuSDRrqYBYESImL/Zib1MN9AhCETv8GjbXQ= + + + tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo + + hash + + b0d6xVfiF71u0Dj4E4tbrPn+9wc= + + hash2 + + QyXu9XGPHG0qkF86498YTbqqlYBOG924tN0z82f2Ghk= + + + tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.abi.json + + hash + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + hash2 + + C4diFGoEyBmGjFO8mP/P4nf/3oZuROOsFMcNqQ/DHE8= + + + tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.private.swiftinterface + + hash + + Yg0lxt4eDVJ4zEDgxRvyl2hwR5Q= + + hash2 + + EsiBmwD4KG8UOQJ9SEWfB/O1mnTXHmVIEyAeH2JVApE= + + + tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.swiftdoc + + hash + + ICm3QgbA9GCrU8RrR6izKGRnrLA= + + hash2 + + Wd9mR8J/cQBEqDuyZ1x32/TWxOvg35osz6P9hEE4nck= + + + tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.swiftinterface + + hash + + Yg0lxt4eDVJ4zEDgxRvyl2hwR5Q= + + hash2 + + EsiBmwD4KG8UOQJ9SEWfB/O1mnTXHmVIEyAeH2JVApE= + + + tvos-arm64/FirebaseAnalytics.framework/Modules/module.modulemap + + hash + + uLysK0T5K1GSoqJmcXx9AnZ9lqY= + + hash2 + + vxNgOuI61t45Sed09vILAKePFm9riTp4aZ48hjDRPIQ= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics + + hash + + ScPpK9PZ1K2h4MEIEhGdimAqFGg= + + hash2 + + e/mMv3A45/g5+5Vo4fkyav4kg//pyK1lQkcRmEuS5Io= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h + + hash + + JxSy4BVIpZB3s+tbI3EgcIVsvN0= + + hash2 + + HSPmaeLSu5PqNTtlwUWfRT4cyVX65JmeB/oed8f0pdU= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h + + hash + + IN4riVkldIj3MlPpvlUuU1i+I8w= + + hash2 + + ebGwpP2JZ0Rp6BdXhKiLUYOq6nJG7la5O0y/wEKfyak= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h + + hash + + 58LqQ/Y9jqPGz3JttzK0z7jPLLc= + + hash2 + + 67S/czxwflT8GxF7bVp32FLgu2W97zH06W6zv8/VILU= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h + + hash + + B+YLaEHhiOu6tTPZaB5wWy4n95U= + + hash2 + + wmpxZuP80odiQUX5Ts7GaPkhE7UeuzmDMrvTcOS0vLQ= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h + + hash + + HrzLufMtB3E5zAfPXZTkYQdGyHI= + + hash2 + + mNgPvQJ0O5ZQ/EINmxz+zoQHoxj/O70iH5crkbhGU3g= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h + + hash + + SztBbCRZ5QE523pdMx4HZt0AYKE= + + hash2 + + hwLb6dR4Q5L+j2vYcsXcc8sr2yoS1X9vyl7T/PjcHow= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h + + hash + + 33ogzLW88kbc3XVXJp9Opq9Znmc= + + hash2 + + z0lD0Agt0NzOZdG+xd6QpXvGS+06dK4A3RYK0Wu1OKw= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h + + hash + + cu0mXcU7RrT9nKAMSamYxQcZ8MA= + + hash2 + + 4mnxjtoRMyo5TIjTieqzJLBQ4m0noIZqWhmI5a2a3QE= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h + + hash + + wE8Bjq1o5wGq1TFJb0gCJUmRelQ= + + hash2 + + LOiywMHEh60MswGEzs9lM8P6m3oohYp+IWaiZtbwVVM= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h + + hash + + 6tM+QmAiCFyFHMaFXgWsH/uYosM= + + hash2 + + VS1dxfDwCZeRcJYgkkEUhmdXx6ch9X/E8YjKBX367WY= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist + + hash + + q9RykUmARxGpwWkmA+HY/h9DPA0= + + hash2 + + aql5HABSrVkuBeSRm5uQO6NG2o+sxbJr7jcw1WpUlEU= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo + + hash + + WC+E5oT39/Vu6ecgffiaR00kGys= + + hash2 + + w7B16PsLn7E+3+D/saa8rPXSOTv0IINGbNPPHPgRZ+0= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo + + hash + + xw34VmRefYpxywjZs0NQB+4xvz8= + + hash2 + + OYRUNqHkG5UkTTHQx4K7PO4J+oeeC5X61EMppp0tTow= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.abi.json + + hash + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + hash2 + + C4diFGoEyBmGjFO8mP/P4nf/3oZuROOsFMcNqQ/DHE8= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface + + hash + + +EoKjIoaiJH4HuBxFOAR+N6qm/A= + + hash2 + + DoD1OSJHno0bNy0osPn/laVPoBAxHGWB789dQSNEMkI= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.swiftdoc + + hash + + kEpmMJ+EwdoypGxC9M4fHrfAYic= + + hash2 + + kgbprKMKWtu9nlXnOTVjHVY0TAgVDbK5pK/G+QpaymE= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.swiftinterface + + hash + + +EoKjIoaiJH4HuBxFOAR+N6qm/A= + + hash2 + + DoD1OSJHno0bNy0osPn/laVPoBAxHGWB789dQSNEMkI= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.abi.json + + hash + + 66KHnyUOUpeHtfGUA412UpsRmhw= + + hash2 + + C4diFGoEyBmGjFO8mP/P4nf/3oZuROOsFMcNqQ/DHE8= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface + + hash + + KthVIak11hjuXvIlm095GJUwL1M= + + hash2 + + MwVZoM3SRxYLhYEsI316k3d6aaaJ31Xne1MXyoX0sFs= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc + + hash + + 65HbWdHXydClg5RHbdZeeWhc8us= + + hash2 + + HXWYfxPhG1Lkni6+8MhUCQGNPmfg72yH2N6CVQbWuuI= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface + + hash + + KthVIak11hjuXvIlm095GJUwL1M= + + hash2 + + MwVZoM3SRxYLhYEsI316k3d6aaaJ31Xne1MXyoX0sFs= + + + tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap + + hash + + uLysK0T5K1GSoqJmcXx9AnZ9lqY= + + hash2 + + vxNgOuI61t45Sed09vILAKePFm9riTp4aZ48hjDRPIQ= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeSignature b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeSignature new file mode 100644 index 00000000000..e52a03ce6d7 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/_CodeSignature/CodeSignature differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/FirebaseAnalytics b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/FirebaseAnalytics new file mode 100644 index 00000000000..beb91909be5 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/FirebaseAnalytics differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h new file mode 100644 index 00000000000..cb1e407690f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h @@ -0,0 +1,80 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Provides App Delegate handlers to be used in your App Delegate. +/// +/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not +/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle +/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead +/// to delegate manually, you can turn off the App Delegate Proxy by adding +/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and +/// adding the methods in this category to corresponding delegation handlers. +/// +/// To handle Universal Links, you must return `true` in +/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`. +@interface FIRAnalytics (AppDelegate) + +/// Handles events related to a URL session that are waiting to be processed. +/// +/// 1. If SwiftUI lifecycle is adopted, call this method from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation +/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set +/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method +/// from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// @param identifier The identifier of the URL session requiring attention. +/// @param completionHandler The completion handler to call when you finish processing the events. +/// Calling this completion handler lets the system know that your app's user interface is +/// updated and a new snapshot can be taken. ++ (void)handleEventsForBackgroundURLSession:(NSString *)identifier + completionHandler:(nullable void (^)(void))completionHandler; + +/// Handles the event when the app is launched by a URL (custom URL scheme or universal link). +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// this method in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and +/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate. +/// +/// @param url The URL resource to open. This resource can be a network resource or a file. ++ (void)handleOpenURL:(NSURL *)url; + +/// Handles the event when the app receives data associated with user activity that includes a +/// Universal Link. +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// `Analytics.handleOpen(_:)` instead in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when +/// NSUserActivity is available. See the [Apple +/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for +/// more details. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate. +/// +/// @param userActivity The activity object containing the data associated with the task the user +/// was performing. ++ (void)handleUserActivity:(id)userActivity; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h new file mode 100644 index 00000000000..77583906142 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h @@ -0,0 +1,51 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The type of consent to set. Supported consent types are `ConsentType.adStorage`, +/// `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and `ConsentType.adPersonalization`. +/// Omitting a type retains its previous status. +typedef NSString *FIRConsentType NS_TYPED_ENUM NS_SWIFT_NAME(ConsentType); + +/// Enables storage (such as device identifiers) related to advertising. +extern FIRConsentType const FIRConsentTypeAdStorage; + +/// Enables storage (such as app identifiers) related to analytics, e.g. visit duration. +extern FIRConsentType const FIRConsentTypeAnalyticsStorage; + +/// Sets consent for sending user data to Google for advertising purposes. +extern FIRConsentType const FIRConsentTypeAdUserData; + +/// Sets consent for personalized advertising. +extern FIRConsentType const FIRConsentTypeAdPersonalization; + +/// The status value of the consent type. Supported statuses are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. +typedef NSString *FIRConsentStatus NS_TYPED_ENUM NS_SWIFT_NAME(ConsentStatus); + +/// Consent status indicating consent is denied. For an overview of which data is sent when consent +/// is denied, see [SDK behavior with consent +/// mode](https://developers.google.com/tag-platform/security/concepts/consent-mode#tag-behavior). +extern FIRConsentStatus const FIRConsentStatusDenied; + +/// Consent status indicating consent is granted. +extern FIRConsentStatus const FIRConsentStatusGranted; + +/// Sets the applicable end user consent state. +@interface FIRAnalytics (Consent) + +/// Sets the applicable end user consent state (e.g. for device identifiers) for this app on this +/// device. Use the consent settings to specify individual consent type values. Settings are +/// persisted across app sessions. By default consent types are set to `ConsentStatus.granted`. +/// +/// @param consentSettings A Dictionary of consent types. Supported consent type keys are +/// `ConsentType.adStorage`, `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and +/// `ConsentType.adPersonalization`. Valid values are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. ++ (void)setConsent:(NSDictionary *)consentSettings; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h new file mode 100644 index 00000000000..0bfec8883e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h @@ -0,0 +1,44 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +API_UNAVAILABLE(macCatalyst, macos, tvos, watchos) +@interface FIRAnalytics (OnDevice) + +/// Initiates on-device conversion measurement given a user email address. Requires dependency +/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param emailAddress User email address. Include a domain name for all email addresses +/// (e.g. gmail.com or hotmail.co.jp). ++ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:)); + +/// Initiates on-device conversion measurement given a phone number in E.164 format. Requires +/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param phoneNumber User phone number. Must be in E.164 format, which means it must be +/// limited to a maximum of 15 digits and must include a plus sign (+) prefix and country code +/// with no dashes, parentheses, or spaces. ++ (void)initiateOnDeviceConversionMeasurementWithPhoneNumber:(NSString *)phoneNumber + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(phoneNumber:)); + +/// Initiates on-device conversion measurement given a sha256-hashed user email address. Requires +/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param hashedEmailAddress User email address as a UTF8-encoded string normalized and hashed +/// according to the instructions at +/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3. ++ (void)initiateOnDeviceConversionMeasurementWithHashedEmailAddress:(NSData *)hashedEmailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedEmailAddress:)); + +/// Initiates on-device conversion measurement given a sha256-hashed phone number in E.164 format. +/// Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a +/// no-op. +/// @param hashedPhoneNumber UTF8-encoded user phone number in E.164 format and then hashed +/// according to the instructions at +/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3. ++ (void)initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:(NSData *)hashedPhoneNumber + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedPhoneNumber:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h new file mode 100644 index 00000000000..e58d7dd7e10 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h @@ -0,0 +1,155 @@ +#import + +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The top level Firebase Analytics singleton that provides methods for logging events and setting +/// user properties. See the developer guides for general +/// information on using Firebase Analytics in your apps. +/// +/// @note The Analytics SDK uses SQLite to persist events and other app-specific data. Calling +/// certain thread-unsafe global SQLite methods like `sqlite3_shutdown()` can result in +/// unexpected crashes at runtime. +NS_SWIFT_NAME(Analytics) +@interface FIRAnalytics : NSObject + +/// Logs an app event. The event can have up to 25 parameters. Events with the same name must have +/// the same parameters. Up to 500 event names are supported. Using predefined events and/or +/// parameters is recommended for optimal reporting. +/// +/// The following event names are reserved and cannot be used: +///
    +///
  • ad_activeview
  • +///
  • ad_click
  • +///
  • ad_exposure
  • +///
  • ad_query
  • +///
  • ad_reward
  • +///
  • adunit_exposure
  • +///
  • app_clear_data
  • +///
  • app_exception
  • +///
  • app_remove
  • +///
  • app_store_refund
  • +///
  • app_store_subscription_cancel
  • +///
  • app_store_subscription_convert
  • +///
  • app_store_subscription_renew
  • +///
  • app_update
  • +///
  • app_upgrade
  • +///
  • dynamic_link_app_open
  • +///
  • dynamic_link_app_update
  • +///
  • dynamic_link_first_open
  • +///
  • error
  • +///
  • firebase_campaign
  • +///
  • first_open
  • +///
  • first_visit
  • +///
  • in_app_purchase
  • +///
  • notification_dismiss
  • +///
  • notification_foreground
  • +///
  • notification_open
  • +///
  • notification_receive
  • +///
  • os_update
  • +///
  • session_start
  • +///
  • session_start_with_rollout
  • +///
  • user_engagement
  • +///
+/// +/// @param name The name of the event. Should contain 1 to 40 alphanumeric characters or +/// underscores. The name must start with an alphabetic character. Some event names are +/// reserved. See FIREventNames.h for the list of reserved event names. The "firebase_", +/// "google_", and "ga_" prefixes are reserved and should not be used. Note that event names are +/// case-sensitive and that logging two events whose names differ only in case will result in +/// two distinct events. To manually log screen view events, use the `screen_view` event name. +/// @param parameters The dictionary of event parameters. Passing `nil` indicates that the event has +/// no parameters. Parameter names can be up to 40 characters long and must start with an +/// alphabetic character and contain only alphanumeric characters and underscores. Only String, +/// Int, and Double parameter types are supported. String parameter values can be up to 100 +/// characters long for standard Google Analytics properties, and up to 500 characters long for +/// Google Analytics 360 properties. The "firebase_", "google_", and "ga_" prefixes are reserved +/// and should not be used for parameter names. ++ (void)logEventWithName:(NSString *)name + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logEvent(_:parameters:)); + +/// Sets a user property to a given value. Up to 25 user property names are supported. Once set, +/// user property values persist throughout the app lifecycle and across sessions. +/// +/// The following user property names are reserved and cannot be used: +///
    +///
  • first_open_time
  • +///
  • last_deep_link_referrer
  • +///
  • user_id
  • +///
+/// +/// @param value The value of the user property. Values can be up to 36 characters long. Setting the +/// value to `nil` removes the user property. +/// @param name The name of the user property to set. Should contain 1 to 24 alphanumeric characters +/// or underscores and must start with an alphabetic character. The "firebase_", "google_", and +/// "ga_" prefixes are reserved and should not be used for user property names. ++ (void)setUserPropertyString:(nullable NSString *)value forName:(NSString *)name + NS_SWIFT_NAME(setUserProperty(_:forName:)); + +/// Sets the user ID property. This feature must be used in accordance with +/// Google's Privacy Policy +/// +/// @param userID The user ID to ascribe to the user of this app on this device, which must be +/// non-empty and no more than 256 characters long. Setting userID to `nil` removes the user ID. ++ (void)setUserID:(nullable NSString *)userID; + +/// Sets whether analytics collection is enabled for this app on this device. This setting is +/// persisted across app sessions. By default it is enabled. +/// +/// @param analyticsCollectionEnabled A flag that enables or disables Analytics collection. ++ (void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled; + +/// Sets the interval of inactivity in seconds that terminates the current session. The default +/// value is 1800 seconds (30 minutes). +/// +/// @param sessionTimeoutInterval The custom time of inactivity in seconds before the current +/// session terminates. ++ (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; + +/// Asynchronously retrieves the identifier of the current app session. +/// +/// The session ID retrieval could fail due to Analytics collection disabled, app session expired, +/// etc. +/// +/// @param completion The completion handler to call when the session ID retrieval is complete. This +/// handler is executed on a system-defined global concurrent queue. +/// This completion handler takes the following parameters: +/// sessionID The identifier of the current app session. The value is undefined if the +/// request failed. +/// error An error object that indicates why the request failed, or `nil` if the request +/// was successful. ++ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion; + +/// Returns the unique ID for this instance of the application or `nil` if +/// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`. +/// +/// @see `FIRAnalytics+Consent.h` ++ (nullable NSString *)appInstanceID; + +/// Clears all analytics data for this instance from the device and resets the app instance ID. ++ (void)resetAnalyticsData; + +/// Adds parameters that will be set on every event logged from the SDK, including automatic ones. +/// The values passed in the parameters dictionary will be added to the dictionary of default event +/// parameters. These parameters persist across app runs. They are of lower precedence than event +/// parameters, so if an event parameter and a parameter set using this API have the same name, the +/// value of the event parameter will be used. The same limitations on event parameters apply to +/// default event parameters. +/// +/// @param parameters Parameters to be added to the dictionary of parameters added to every event. +/// They will be added to the dictionary of default event parameters, replacing any existing +/// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's +/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all +/// parameters. ++ (void)setDefaultEventParameters:(nullable NSDictionary *)parameters; + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h new file mode 100644 index 00000000000..1e69a44158b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h @@ -0,0 +1,418 @@ +/// @file FIREventNames.h +/// +/// Predefined event names. +/// +/// An Event is an important occurrence in your app that you want to measure. You can report up to +/// 500 different types of Events per app and you can associate up to 25 unique parameters with each +/// Event type. Some common events are suggested below, but you may also choose to specify custom +/// Event types that are associated with your specific app. Each event type is identified by a +/// unique name. Event names can be up to 40 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. The "firebase_", +/// "google_", and "ga_" prefixes are reserved and should not be used. + +#import + +/// Ad Impression event. This event signifies when a user sees an ad impression. Note: If you supply +/// the @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAdPlatform (String) (optional)
  • +///
  • @c AnalyticsParameterAdFormat (String) (optional)
  • +///
  • @c AnalyticsParameterAdSource (String) (optional)
  • +///
  • @c AnalyticsParameterAdUnitName (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAdImpression NS_SWIFT_NAME(AnalyticsEventAdImpression) = + @"ad_impression"; + +/// Add Payment Info event. This event signifies that a user has submitted their payment +/// information. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterPaymentType (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddPaymentInfo NS_SWIFT_NAME(AnalyticsEventAddPaymentInfo) = + @"add_payment_info"; + +/// Add Shipping Info event. This event signifies that a user has submitted their shipping +/// information. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShippingTier (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddShippingInfo NS_SWIFT_NAME(AnalyticsEventAddShippingInfo) = + @"add_shipping_info"; + +/// E-Commerce Add To Cart event. This event signifies that an item(s) was added to a cart for +/// purchase. Add this event to a funnel with @c AnalyticsEventPurchase to gauge the effectiveness +/// of your checkout process. Note: If you supply the @c AnalyticsParameterValue parameter, you must +/// also supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddToCart NS_SWIFT_NAME(AnalyticsEventAddToCart) = @"add_to_cart"; + +/// E-Commerce Add To Wishlist event. This event signifies that an item was added to a wishlist. Use +/// this event to identify popular gift items. Note: If you supply the @c AnalyticsParameterValue +/// parameter, you must also supply the @c AnalyticsParameterCurrency parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddToWishlist NS_SWIFT_NAME(AnalyticsEventAddToWishlist) = + @"add_to_wishlist"; + +/// App Open event. By logging this event when an App becomes active, developers can understand how +/// often users leave and return during the course of a Session. Although Sessions are automatically +/// reported, this event can provide further clarification around the continuous engagement of +/// app-users. +static NSString *const kFIREventAppOpen NS_SWIFT_NAME(AnalyticsEventAppOpen) = @"app_open"; + +/// E-Commerce Begin Checkout event. This event signifies that a user has begun the process of +/// checking out. Add this event to a funnel with your @c AnalyticsEventPurchase event to gauge the +/// effectiveness of your checkout process. Note: If you supply the @c AnalyticsParameterValue +/// parameter, you must also supply the @c AnalyticsParameterCurrency parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginCheckout) = + @"begin_checkout"; + +/// Campaign Detail event. Log this event to supply the referral details of a re-engagement +/// campaign. Note: you must supply at least one of the required parameters +/// AnalyticsParameterSource, AnalyticsParameterMedium or AnalyticsParameterCampaign. Params: +/// +///
    +///
  • @c AnalyticsParameterSource (String)
  • +///
  • @c AnalyticsParameterMedium (String)
  • +///
  • @c AnalyticsParameterCampaign (String)
  • +///
  • @c AnalyticsParameterTerm (String) (optional)
  • +///
  • @c AnalyticsParameterContent (String) (optional)
  • +///
  • @c AnalyticsParameterAdNetworkClickID (String) (optional)
  • +///
  • @c AnalyticsParameterCP1 (String) (optional)
  • +///
  • @c AnalyticsParameterCampaignID (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeFormat (String) (optional)
  • +///
  • @c AnalyticsParameterMarketingTactic (String) (optional)
  • +///
  • @c AnalyticsParameterSourcePlatform (String) (optional)
  • +///
+static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) = + @"campaign_details"; + +/// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log +/// this along with @c AnalyticsEventSpendVirtualCurrency to better understand your virtual economy. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • +///
  • @c AnalyticsParameterValue (Int or Double)
  • +///
+static NSString *const kFIREventEarnVirtualCurrency + NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency"; + +/// Generate Lead event. Log this event when a lead has been generated in the app to understand the +/// efficacy of your install and re-engagement campaigns. Note: If you supply the +/// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventGenerateLead NS_SWIFT_NAME(AnalyticsEventGenerateLead) = + @"generate_lead"; + +/// Join Group event. Log this event when a user joins a group such as a guild, team or family. Use +/// this event to analyze how popular certain groups or social features are in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterGroupID (String)
  • +///
+static NSString *const kFIREventJoinGroup NS_SWIFT_NAME(AnalyticsEventJoinGroup) = @"join_group"; + +/// Level End event. Log this event when the user finishes a level. Params: +/// +///
    +///
  • @c AnalyticsParameterLevelName (String)
  • +///
  • @c AnalyticsParameterSuccess (String)
  • +///
+static NSString *const kFIREventLevelEnd NS_SWIFT_NAME(AnalyticsEventLevelEnd) = @"level_end"; + +/// Level Start event. Log this event when the user starts a new level. Params: +/// +///
    +///
  • @c AnalyticsParameterLevelName (String)
  • +///
+static NSString *const kFIREventLevelStart NS_SWIFT_NAME(AnalyticsEventLevelStart) = @"level_start"; + +/// Level Up event. This event signifies that a player has leveled up in your gaming app. It can +/// help you gauge the level distribution of your userbase and help you identify certain levels that +/// are difficult to pass. Params: +/// +///
    +///
  • @c AnalyticsParameterLevel (Int)
  • +///
  • @c AnalyticsParameterCharacter (String) (optional)
  • +///
+static NSString *const kFIREventLevelUp NS_SWIFT_NAME(AnalyticsEventLevelUp) = @"level_up"; + +/// Login event. Apps with a login feature can report this event to signify that a user has logged +/// in. +static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"login"; + +/// Post Score event. Log this event when the user posts a score in your gaming app. This event can +/// help you understand how users are actually performing in your game and it can help you correlate +/// high scores with certain audiences or behaviors. Params: +/// +///
    +///
  • @c AnalyticsParameterScore (Int)
  • +///
  • @c AnalyticsParameterLevel (Int) (optional)
  • +///
  • @c AnalyticsParameterCharacter (String) (optional)
  • +///
+static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score"; + +/// E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: +/// This is different from the in-app purchase event, which is reported automatically for App +/// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also +/// supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterEndDate (String) (optional)
  • +///
  • @c AnalyticsParameterItemID (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShipping (Double) (optional)
  • +///
  • @c AnalyticsParameterStartDate (String) (optional)
  • +///
  • @c AnalyticsParameterTax (Double) (optional)
  • +///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventPurchase NS_SWIFT_NAME(AnalyticsEventPurchase) = @"purchase"; + +/// E-Commerce Refund event. This event signifies that a refund was issued. Note: If you supply the +/// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShipping (Double) (optional)
  • +///
  • @c AnalyticsParameterTax (Double) (optional)
  • +///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventRefund NS_SWIFT_NAME(AnalyticsEventRefund) = @"refund"; + +/// E-Commerce Remove from Cart event. This event signifies that an item(s) was removed from a cart. +/// Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply the @c +/// AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventRemoveFromCart NS_SWIFT_NAME(AnalyticsEventRemoveFromCart) = + @"remove_from_cart"; + +/// Screen View event. This event signifies a screen view. Use this when a screen transition occurs. +/// This event can be logged irrespective of whether automatic screen tracking is enabled. Params: +/// +///
    +///
  • @c AnalyticsParameterScreenClass (String) (optional)
  • +///
  • @c AnalyticsParameterScreenName (String) (optional)
  • +///
+static NSString *const kFIREventScreenView NS_SWIFT_NAME(AnalyticsEventScreenView) = @"screen_view"; + +/// Search event. Apps that support search features can use this event to contextualize search +/// operations by supplying the appropriate, corresponding parameters. This event can help you +/// identify the most popular content in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterSearchTerm (String)
  • +///
  • @c AnalyticsParameterStartDate (String) (optional)
  • +///
  • @c AnalyticsParameterEndDate (String) (optional)
  • +///
  • @c AnalyticsParameterNumberOfNights (Int) (optional) for hotel bookings
  • +///
  • @c AnalyticsParameterNumberOfRooms (Int) (optional) for hotel bookings
  • +///
  • @c AnalyticsParameterNumberOfPassengers (Int) (optional) for travel bookings
  • +///
  • @c AnalyticsParameterOrigin (String) (optional)
  • +///
  • @c AnalyticsParameterDestination (String) (optional)
  • +///
  • @c AnalyticsParameterTravelClass (String) (optional) for travel bookings
  • +///
+static NSString *const kFIREventSearch NS_SWIFT_NAME(AnalyticsEventSearch) = @"search"; + +/// Select Content event. This general purpose event signifies that a user has selected some content +/// of a certain type in an app. The content can be any object in your app. This event can help you +/// identify popular content and categories of content in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterContentType (String)
  • +///
  • @c AnalyticsParameterItemID (String)
  • +///
+static NSString *const kFIREventSelectContent NS_SWIFT_NAME(AnalyticsEventSelectContent) = + @"select_content"; + +/// Select Item event. This event signifies that an item was selected by a user from a list. Use the +/// appropriate parameters to contextualize the event. Use this event to discover the most popular +/// items selected. Params: +/// +///
    +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterItemListID (String) (optional)
  • +///
  • @c AnalyticsParameterItemListName (String) (optional)
  • +///
+static NSString *const kFIREventSelectItem NS_SWIFT_NAME(AnalyticsEventSelectItem) = @"select_item"; + +/// Select promotion event. This event signifies that a user has selected a promotion offer. Use the +/// appropriate parameters to contextualize the event, such as the item(s) for which the promotion +/// applies. Params: +/// +///
    +///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterLocationID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • +///
+static NSString *const kFIREventSelectPromotion NS_SWIFT_NAME(AnalyticsEventSelectPromotion) = + @"select_promotion"; + +/// Share event. Apps with social features can log the Share event to identify the most viral +/// content. Params: +/// +///
    +///
  • @c AnalyticsParameterContentType (String)
  • +///
  • @c AnalyticsParameterItemID (String)
  • +///
+static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"share"; + +/// Sign Up event. This event indicates that a user has signed up for an account in your app. The +/// parameter signifies the method by which the user signed up. Use this event to understand the +/// different behaviors between logged in and logged out users. Params: +/// +///
    +///
  • @c AnalyticsParameterMethod (String)
  • +///
+static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up"; + +/// Spend Virtual Currency event. This event tracks the sale of virtual goods in your app and can +/// help you identify which virtual goods are the most popular objects of purchase. Params: +/// +///
    +///
  • @c AnalyticsParameterItemName (String)
  • +///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • +///
  • @c AnalyticsParameterValue (Int or Double)
  • +///
+static NSString *const kFIREventSpendVirtualCurrency + NS_SWIFT_NAME(AnalyticsEventSpendVirtualCurrency) = @"spend_virtual_currency"; + +/// Tutorial Begin event. This event signifies the start of the on-boarding process in your app. Use +/// this in a funnel with @c AnalyticsEventTutorialComplete to understand how many users complete +/// this process and move on to the full app experience. +static NSString *const kFIREventTutorialBegin NS_SWIFT_NAME(AnalyticsEventTutorialBegin) = + @"tutorial_begin"; + +/// Tutorial End event. Use this event to signify the user's completion of your app's on-boarding +/// process. Add this to a funnel with @c AnalyticsEventTutorialBegin to gauge the completion rate +/// of your on-boarding process. +static NSString *const kFIREventTutorialComplete NS_SWIFT_NAME(AnalyticsEventTutorialComplete) = + @"tutorial_complete"; + +/// Unlock Achievement event. Log this event when the user has unlocked an achievement in your +/// game. Since achievements generally represent the breadth of a gaming experience, this event can +/// help you understand how many users are experiencing all that your game has to offer. Params: +/// +///
    +///
  • @c AnalyticsParameterAchievementID (String)
  • +///
+static NSString *const kFIREventUnlockAchievement NS_SWIFT_NAME(AnalyticsEventUnlockAchievement) = + @"unlock_achievement"; + +/// E-commerce View Cart event. This event signifies that a user has viewed their cart. Use this to +/// analyze your purchase funnel. Note: If you supply the @c AnalyticsParameterValue parameter, you +/// must also supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be +/// computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventViewCart NS_SWIFT_NAME(AnalyticsEventViewCart) = @"view_cart"; + +/// View Item event. This event signifies that a user has viewed an item. Use the appropriate +/// parameters to contextualize the event. Use this event to discover the most popular items viewed +/// in your app. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventViewItem NS_SWIFT_NAME(AnalyticsEventViewItem) = @"view_item"; + +/// View Item List event. Log this event when a user sees a list of items or offerings. Params: +/// +///
    +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterItemListID (String) (optional)
  • +///
  • @c AnalyticsParameterItemListName (String) (optional)
  • +///
+static NSString *const kFIREventViewItemList NS_SWIFT_NAME(AnalyticsEventViewItemList) = + @"view_item_list"; + +/// View Promotion event. This event signifies that a promotion was shown to a user. Add this event +/// to a funnel with the @c AnalyticsEventAddToCart and @c AnalyticsEventPurchase to gauge your +/// conversion process. Params: +/// +///
    +///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterLocationID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • +///
+static NSString *const kFIREventViewPromotion NS_SWIFT_NAME(AnalyticsEventViewPromotion) = + @"view_promotion"; + +/// View Search Results event. Log this event when the user has been presented with the results of a +/// search. Params: +/// +///
    +///
  • @c AnalyticsParameterSearchTerm (String)
  • +///
+static NSString *const kFIREventViewSearchResults NS_SWIFT_NAME(AnalyticsEventViewSearchResults) = + @"view_search_results"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h new file mode 100644 index 00000000000..58a5a21df3b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h @@ -0,0 +1,722 @@ +/// @file FIRParameterNames.h +/// +/// Predefined event parameter names. +/// +/// Params supply information that contextualize Events. You can associate up to 25 unique Params +/// with each Event type. Some Params are suggested below for certain common Events, but you are +/// not limited to these. You may supply extra Params for suggested Events or custom Params for +/// Custom events. Param names can be up to 40 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. Param values can +/// be up to 100 characters long for standard Google Analytics properties and up to 500 characters +/// long for Google Analytics 360 properties. The "firebase_", "google_", and "ga_" prefixes are +/// reserved and should not be used. + +#import + +/// Game achievement ID (String). +///
+///     let params = [
+///       AnalyticsParameterAchievementID : "10_matches_won",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAchievementID NS_SWIFT_NAME(AnalyticsParameterAchievementID) = + @"achievement_id"; + +/// The ad format (e.g. Banner, Interstitial, Rewarded, Native, Rewarded Interstitial, Instream). +/// (String). +///
+///     let params = [
+///       AnalyticsParameterAdFormat : "Banner",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdFormat NS_SWIFT_NAME(AnalyticsParameterAdFormat) = + @"ad_format"; + +/// Ad Network Click ID (String). Used for network-specific click IDs which vary in format. +///
+///     let params = [
+///       AnalyticsParameterAdNetworkClickID : "1234567",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdNetworkClickID + NS_SWIFT_NAME(AnalyticsParameterAdNetworkClickID) = @"aclid"; + +/// The ad platform (e.g. MoPub, IronSource) (String). +///
+///     let params = [
+///       AnalyticsParameterAdPlatform : "MoPub",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdPlatform NS_SWIFT_NAME(AnalyticsParameterAdPlatform) = + @"ad_platform"; + +/// The ad source (e.g. AdColony) (String). +///
+///     let params = [
+///       AnalyticsParameterAdSource : "AdColony",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdSource NS_SWIFT_NAME(AnalyticsParameterAdSource) = + @"ad_source"; + +/// The ad unit name (e.g. Banner_03) (String). +///
+///     let params = [
+///       AnalyticsParameterAdUnitName : "Banner_03",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdUnitName NS_SWIFT_NAME(AnalyticsParameterAdUnitName) = + @"ad_unit_name"; + +/// A product affiliation to designate a supplying company or brick and mortar store location +/// (String).
+///     let params = [
+///       AnalyticsParameterAffiliation : "Google Store",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAffiliation NS_SWIFT_NAME(AnalyticsParameterAffiliation) = + @"affiliation"; + +/// Campaign custom parameter (String). Used as a method of capturing custom data in a campaign. +/// Use varies by network. +///
+///     let params = [
+///       AnalyticsParameterCP1 : "custom_data",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCP1 NS_SWIFT_NAME(AnalyticsParameterCP1) = @"cp1"; + +/// The individual campaign name, slogan, promo code, etc. Some networks have pre-defined macro to +/// capture campaign information, otherwise can be populated by developer. Highly Recommended +/// (String). +///
+///     let params = [
+///       AnalyticsParameterCampaign : "winter_promotion",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCampaign NS_SWIFT_NAME(AnalyticsParameterCampaign) = + @"campaign"; + +/// Campaign ID (String). Used for keyword analysis to identify a specific product promotion or +/// strategic campaign. This is a required key for GA4 data import. +///
+///     let params = [
+///       AnalyticsParameterCampaignID : "7877652710",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCampaignID NS_SWIFT_NAME(AnalyticsParameterCampaignID) = + @"campaign_id"; + +/// Character used in game (String). +///
+///     let params = [
+///       AnalyticsParameterCharacter : "beat_boss",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) = + @"character"; + +/// Campaign content (String). +static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content"; + +/// Type of content selected (String). +///
+///     let params = [
+///       AnalyticsParameterContentType : "news article",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterContentType NS_SWIFT_NAME(AnalyticsParameterContentType) = + @"content_type"; + +/// Coupon code used for a purchase (String). +///
+///     let params = [
+///       AnalyticsParameterCoupon : "SUMMER_FUN",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCoupon NS_SWIFT_NAME(AnalyticsParameterCoupon) = @"coupon"; + +/// Creative Format (String). Used to identify the high-level classification of the type of ad +/// served by a specific campaign. +///
+///     let params = [
+///       AnalyticsParameterCreativeFormat : "display",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeFormat NS_SWIFT_NAME(AnalyticsParameterCreativeFormat) = + @"creative_format"; + +/// The name of a creative used in a promotional spot (String). +///
+///     let params = [
+///       AnalyticsParameterCreativeName : "Summer Sale",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeName NS_SWIFT_NAME(AnalyticsParameterCreativeName) = + @"creative_name"; + +/// The name of a creative slot (String). +///
+///     let params = [
+///       AnalyticsParameterCreativeSlot : "summer_banner2",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeSlot NS_SWIFT_NAME(AnalyticsParameterCreativeSlot) = + @"creative_slot"; + +/// Currency of the purchase or items associated with the event, in 3-letter +/// ISO_4217 format (String). +///
+///     let params = [
+///       AnalyticsParameterCurrency : "USD",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCurrency NS_SWIFT_NAME(AnalyticsParameterCurrency) = + @"currency"; + +/// Flight or Travel destination (String). +///
+///     let params = [
+///       AnalyticsParameterDestination : "Mountain View, CA",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterDestination NS_SWIFT_NAME(AnalyticsParameterDestination) = + @"destination"; + +/// Monetary value of discount associated with a purchase (Double). +///
+///     let params = [
+///       AnalyticsParameterDiscount : 2.0,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $2.00 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterDiscount NS_SWIFT_NAME(AnalyticsParameterDiscount) = + @"discount"; + +/// The arrival date, check-out date or rental end date for the item. This should be in +/// YYYY-MM-DD format (String). +///
+///     let params = [
+///       AnalyticsParameterEndDate : "2015-09-14",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterEndDate NS_SWIFT_NAME(AnalyticsParameterEndDate) = @"end_date"; + +/// Indicates that the associated event should either extend the current session or start a new +/// session if no session was active when the event was logged. Specify 1 to extend the current +/// session or to start a new session; any other value will not extend or start a session. +///
+///     let params = [
+///       AnalyticsParameterExtendSession : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterExtendSession NS_SWIFT_NAME(AnalyticsParameterExtendSession) = + @"extend_session"; + +/// Flight number for travel events (String). +///
+///     let params = [
+///       AnalyticsParameterFlightNumber : "ZZ800",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterFlightNumber NS_SWIFT_NAME(AnalyticsParameterFlightNumber) = + @"flight_number"; + +/// Group/clan/guild ID (String). +///
+///     let params = [
+///       AnalyticsParameterGroupID : "g1",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterGroupID NS_SWIFT_NAME(AnalyticsParameterGroupID) = @"group_id"; + +/// The index of the item in a list (Int). +///
+///     let params = [
+///       AnalyticsParameterIndex : 5,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterIndex NS_SWIFT_NAME(AnalyticsParameterIndex) = @"index"; + +/// Item brand (String). +///
+///     let params = [
+///       AnalyticsParameterItemBrand : "Google",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemBrand NS_SWIFT_NAME(AnalyticsParameterItemBrand) = + @"item_brand"; + +/// Item category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory NS_SWIFT_NAME(AnalyticsParameterItemCategory) = + @"item_category"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory2 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory2 NS_SWIFT_NAME(AnalyticsParameterItemCategory2) = + @"item_category2"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory3 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory3 NS_SWIFT_NAME(AnalyticsParameterItemCategory3) = + @"item_category3"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory4 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory4 NS_SWIFT_NAME(AnalyticsParameterItemCategory4) = + @"item_category4"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory5 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory5 NS_SWIFT_NAME(AnalyticsParameterItemCategory5) = + @"item_category5"; + +/// Item ID (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemID : "SKU_12345",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id"; + +/// The ID of the list in which the item was presented to the user (String). +///
+///     let params = [
+///       AnalyticsParameterItemListID : "ABC123",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemListID NS_SWIFT_NAME(AnalyticsParameterItemListID) = + @"item_list_id"; + +/// The name of the list in which the item was presented to the user (String). +///
+///     let params = [
+///       AnalyticsParameterItemListName : "Related products",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemListName NS_SWIFT_NAME(AnalyticsParameterItemListName) = + @"item_list_name"; + +/// Item Name (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemName : "jeggings",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemName NS_SWIFT_NAME(AnalyticsParameterItemName) = + @"item_name"; + +/// Item variant (String). +///
+///     let params = [
+///       AnalyticsParameterItemVariant : "Black",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemVariant NS_SWIFT_NAME(AnalyticsParameterItemVariant) = + @"item_variant"; + +/// The list of items involved in the transaction expressed as `[[String: Any]]`. +///
+///     let params = [
+///       AnalyticsParameterItems : [
+///         [AnalyticsParameterItemName : "jeggings", AnalyticsParameterItemCategory : "pants"],
+///         [AnalyticsParameterItemName : "boots", AnalyticsParameterItemCategory : "shoes"],
+///       ],
+///     ]
+/// 
+static NSString *const kFIRParameterItems NS_SWIFT_NAME(AnalyticsParameterItems) = @"items"; + +/// Level in game (Int). +///
+///     let params = [
+///       AnalyticsParameterLevel : 42,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLevel NS_SWIFT_NAME(AnalyticsParameterLevel) = @"level"; + +/// The name of a level in a game (String). +///
+///     let params = [
+///       AnalyticsParameterLevelName : "room_1",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLevelName NS_SWIFT_NAME(AnalyticsParameterLevelName) = + @"level_name"; + +/// Location (String). The Google Place ID +/// that corresponds to the associated event. Alternatively, you can supply your own custom +/// Location ID. +///
+///     let params = [
+///       AnalyticsParameterLocation : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLocation NS_SWIFT_NAME(AnalyticsParameterLocation) = + @"location"; + +/// The location associated with the event. Preferred to be the Google +/// Place ID that corresponds to the +/// associated item but could be overridden to a custom location ID string.(String). +///
+///     let params = [
+///       AnalyticsParameterLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLocationID NS_SWIFT_NAME(AnalyticsParameterLocationID) = + @"location_id"; + +/// Marketing Tactic (String). Used to identify the targeting criteria applied to a specific +/// campaign. +///
+///     let params = [
+///       AnalyticsParameterMarketingTactic : "Remarketing",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMarketingTactic + NS_SWIFT_NAME(AnalyticsParameterMarketingTactic) = @"marketing_tactic"; + +/// The advertising or marketing medium, for example: cpc, banner, email, push. Highly recommended +/// (String). +///
+///     let params = [
+///       AnalyticsParameterMedium : "email",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMedium NS_SWIFT_NAME(AnalyticsParameterMedium) = @"medium"; + +/// A particular approach used in an operation; for example, "facebook" or "email" in the context +/// of a sign_up or login event. (String). +///
+///     let params = [
+///       AnalyticsParameterMethod : "google",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMethod NS_SWIFT_NAME(AnalyticsParameterMethod) = @"method"; + +/// Number of nights staying at hotel (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfNights : 3,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfNights + NS_SWIFT_NAME(AnalyticsParameterNumberOfNights) = @"number_of_nights"; + +/// Number of passengers traveling (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfPassengers : 11,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfPassengers + NS_SWIFT_NAME(AnalyticsParameterNumberOfPassengers) = @"number_of_passengers"; + +/// Number of rooms for travel events (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfRooms : 2,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfRooms NS_SWIFT_NAME(AnalyticsParameterNumberOfRooms) = + @"number_of_rooms"; + +/// Flight or Travel origin (String). +///
+///     let params = [
+///       AnalyticsParameterOrigin : "Mountain View, CA",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterOrigin NS_SWIFT_NAME(AnalyticsParameterOrigin) = @"origin"; + +/// The chosen method of payment (String). +///
+///     let params = [
+///       AnalyticsParameterPaymentType : "Visa",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPaymentType NS_SWIFT_NAME(AnalyticsParameterPaymentType) = + @"payment_type"; + +/// Purchase price (Double). +///
+///     let params = [
+///       AnalyticsParameterPrice : 1.0,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $1.00 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPrice NS_SWIFT_NAME(AnalyticsParameterPrice) = @"price"; + +/// The ID of a product promotion (String). +///
+///     let params = [
+///       AnalyticsParameterPromotionID : "ABC123",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPromotionID NS_SWIFT_NAME(AnalyticsParameterPromotionID) = + @"promotion_id"; + +/// The name of a product promotion (String). +///
+///     let params = [
+///       AnalyticsParameterPromotionName : "Summer Sale",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPromotionName NS_SWIFT_NAME(AnalyticsParameterPromotionName) = + @"promotion_name"; + +/// Purchase quantity (Int). +///
+///     let params = [
+///       AnalyticsParameterQuantity : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterQuantity NS_SWIFT_NAME(AnalyticsParameterQuantity) = + @"quantity"; + +/// Score in game (Int). +///
+///     let params = [
+///       AnalyticsParameterScore : 4200,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScore NS_SWIFT_NAME(AnalyticsParameterScore) = @"score"; + +/// Current screen class, such as the class name of the UIViewController, logged with screen_view +/// event and added to every event (String). +///
+///     let params = [
+///       AnalyticsParameterScreenClass : "LoginViewController",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScreenClass NS_SWIFT_NAME(AnalyticsParameterScreenClass) = + @"screen_class"; + +/// Current screen name, such as the name of the UIViewController, logged with screen_view event and +/// added to every event (String). +///
+///     let params = [
+///       AnalyticsParameterScreenName : "LoginView",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScreenName NS_SWIFT_NAME(AnalyticsParameterScreenName) = + @"screen_name"; + +/// The search string/keywords used (String). +///
+///     let params = [
+///       AnalyticsParameterSearchTerm : "periodic table",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSearchTerm NS_SWIFT_NAME(AnalyticsParameterSearchTerm) = + @"search_term"; + +/// Shipping cost associated with a transaction (Double). +///
+///     let params = [
+///       AnalyticsParameterShipping : 5.99,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $5.99 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShipping) = + @"shipping"; + +/// The shipping tier (e.g. Ground, Air, Next-day) selected for delivery of the purchased item +/// (String). +///
+///     let params = [
+///       AnalyticsParameterShippingTier : "Ground",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterShippingTier NS_SWIFT_NAME(AnalyticsParameterShippingTier) = + @"shipping_tier"; + +/// The origin of your traffic, such as an Ad network (for example, google) or partner (urban +/// airship). Identify the advertiser, site, publication, etc. that is sending traffic to your +/// property. Highly recommended (String). +///
+///     let params = [
+///       AnalyticsParameterSource : "InMobi",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSource NS_SWIFT_NAME(AnalyticsParameterSource) = @"source"; + +/// Source Platform (String). Used to identify the platform responsible for directing traffic to a +/// given Analytics property (e.g., a buying platform where budgets, targeting criteria, etc. are +/// set, a platform for managing organic traffic data, etc.). +///
+///     let params = [
+///       AnalyticsParameterSourcePlatform : "sa360",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSourcePlatform NS_SWIFT_NAME(AnalyticsParameterSourcePlatform) = + @"source_platform"; + +/// The departure date, check-in date or rental start date for the item. This should be in +/// YYYY-MM-DD format (String). +///
+///     let params = [
+///       AnalyticsParameterStartDate : "2015-09-14",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterStartDate NS_SWIFT_NAME(AnalyticsParameterStartDate) = + @"start_date"; + +/// The result of an operation. Specify 1 to indicate success and 0 to indicate failure (Int). +///
+///     let params = [
+///       AnalyticsParameterSuccess : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSuccess NS_SWIFT_NAME(AnalyticsParameterSuccess) = @"success"; + +/// Tax cost associated with a transaction (Double). +///
+///     let params = [
+///       AnalyticsParameterTax : 2.43,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $2.43 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTax NS_SWIFT_NAME(AnalyticsParameterTax) = @"tax"; + +/// If you're manually tagging keyword campaigns, you should use utm_term to specify the keyword +/// (String). +///
+///     let params = [
+///       AnalyticsParameterTerm : "game",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTerm NS_SWIFT_NAME(AnalyticsParameterTerm) = @"term"; + +/// The unique identifier of a transaction (String). +///
+///     let params = [
+///       AnalyticsParameterTransactionID : "T12345",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTransactionID NS_SWIFT_NAME(AnalyticsParameterTransactionID) = + @"transaction_id"; + +/// Travel class (String). +///
+///     let params = [
+///       AnalyticsParameterTravelClass : "business",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTravelClass NS_SWIFT_NAME(AnalyticsParameterTravelClass) = + @"travel_class"; + +/// A context-specific numeric value which is accumulated automatically for each event type. This is +/// a general purpose parameter that is useful for accumulating a key metric that pertains to an +/// event. Examples include revenue, distance, time and points. Value should be specified as Int or +/// Double. +/// Notes: Values for pre-defined currency-related events (such as @c AnalyticsEventAddToCart) +/// should be supplied using Double and must be accompanied by a @c AnalyticsParameterCurrency +/// parameter. The valid range of accumulated values is +/// [-9,223,372,036,854.77, 9,223,372,036,854.77]. Supplying a non-numeric value, omitting the +/// corresponding @c AnalyticsParameterCurrency parameter, or supplying an invalid +/// currency code for conversion events will cause that +/// conversion to be omitted from reporting. +///
+///     let params = [
+///       AnalyticsParameterValue : 3.99,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $3.99 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterValue NS_SWIFT_NAME(AnalyticsParameterValue) = @"value"; + +/// Name of virtual currency type (String). +///
+///     let params = [
+///       AnalyticsParameterVirtualCurrencyName : "virtual_currency_name",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterVirtualCurrencyName + NS_SWIFT_NAME(AnalyticsParameterVirtualCurrencyName) = @"virtual_currency_name"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h new file mode 100644 index 00000000000..2442d8a7ba7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h @@ -0,0 +1,28 @@ +/// @file FIRUserPropertyNames.h +/// +/// Predefined user property names. +/// +/// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can +/// later analyze different behaviors of various segments of your userbase. You may supply up to 25 +/// unique UserProperties per app, and you can use the name and value of your choosing for each one. +/// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and +/// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to +/// 36 characters long. The "firebase_", "google_", and "ga_" prefixes are reserved and should not +/// be used. + +#import + +/// Indicates whether events logged by Google Analytics can be used to personalize ads for the user. +/// Set to "YES" to enable, or "NO" to disable. Default is enabled. See the +/// documentation for +/// more details and information about related settings. +/// +///
+///     Analytics.setUserProperty("NO", forName: AnalyticsUserPropertyAllowAdPersonalizationSignals)
+/// 
+static NSString *const kFIRUserPropertyAllowAdPersonalizationSignals + NS_SWIFT_NAME(AnalyticsUserPropertyAllowAdPersonalizationSignals) = @"allow_personalized_ads"; + +/// The method used to sign in. For example, "google", "facebook" or "twitter". +static NSString *const kFIRUserPropertySignUpMethod + NS_SWIFT_NAME(AnalyticsUserPropertySignUpMethod) = @"sign_up_method"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h new file mode 100644 index 00000000000..127576fb869 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h @@ -0,0 +1,312 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEANALYTICS_SWIFT_H +#define FIREBASEANALYTICS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseAnalytics",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h new file mode 100644 index 00000000000..ad84fbb8f60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h @@ -0,0 +1,24 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FirebaseAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +FOUNDATION_EXPORT double FirebaseAnalyticsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAnalyticsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h new file mode 100644 index 00000000000..351da20a92a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h @@ -0,0 +1,7 @@ +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Info.plist new file mode 100644 index 00000000000..a1c770acc1b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 23G93 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAnalytics + CFBundleIdentifier + org.cocoapods.FirebaseAnalytics + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAnalytics + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo new file mode 100644 index 00000000000..06d5c41fab6 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.abi.json new file mode 100644 index 00000000000..665fe288dc6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.abi.json @@ -0,0 +1,288 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "Import", + "name": "SwiftUI", + "printedName": "SwiftUI", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "TypeDecl", + "name": "Analytics", + "printedName": "Analytics", + "children": [ + { + "kind": "Function", + "name": "logTransaction", + "printedName": "logTransaction(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transaction", + "printedName": "StoreKit.Transaction", + "usr": "s:8StoreKit11TransactionV" + } + ], + "declKind": "Func", + "usr": "s:So12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "mangledName": "$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "moduleName": "FirebaseAnalytics", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)FIRAnalytics", + "moduleName": "FirebaseAnalytics", + "isOpen": true, + "objc_name": "FIRAnalytics", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "View", + "printedName": "View", + "children": [ + { + "kind": "Function", + "name": "analyticsScreen", + "printedName": "analyticsScreen(name:class:extraParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModifiedContent", + "printedName": "SwiftUI.ModifiedContent<Ï„_0_0, FirebaseAnalytics.LoggedAnalyticsModifier>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + }, + { + "kind": "TypeNominal", + "name": "LoggedAnalyticsModifier", + "printedName": "FirebaseAnalytics.LoggedAnalyticsModifier", + "usr": "s:17FirebaseAnalytics06LoggedB8ModifierV" + } + ], + "usr": "s:7SwiftUI15ModifiedContentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "hasDefaultArg": true, + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "mangledName": "$s7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "moduleName": "FirebaseAnalytics", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : SwiftUI.View>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:7SwiftUI4ViewP", + "mangledName": "$s7SwiftUI4ViewP", + "moduleName": "SwiftUI", + "genericSig": "<Ï„_0_0.Body : SwiftUI.View>", + "sugared_genericSig": "", + "intro_Macosx": "10.15", + "intro_iOS": "13.0", + "intro_tvOS": "13.0", + "intro_watchOS": "6.0", + "declAttributes": [ + "TypeEraser", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1259, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1297, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2523, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2564, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2607, + "length": 1, + "value": "2" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2651, + "length": 1, + "value": "3" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2683, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "StringLiteral", + "offset": 2654, + "length": 6, + "value": "\"View\"" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "Dictionary", + "offset": 2701, + "length": 3, + "value": "[]" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.private.swiftinterface new file mode 100644 index 00000000000..efac098b698 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 00000000000..b1d514b78cd Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 00000000000..efac098b698 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/module.modulemap new file mode 100644 index 00000000000..fa10817ef61 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64/FirebaseAnalytics.framework/Modules/module.modulemap @@ -0,0 +1,16 @@ +framework module FirebaseAnalytics { +umbrella header "FirebaseAnalytics-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "SystemConfiguration" + link framework "UIKit" + link "c++" + link "sqlite3" + link "z" +} +module FirebaseAnalytics.Swift { + header "FirebaseAnalytics-Swift.h" + requires objc +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/FirebaseAnalytics b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/FirebaseAnalytics new file mode 120000 index 00000000000..82502e90472 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/FirebaseAnalytics @@ -0,0 +1 @@ +Versions/Current/FirebaseAnalytics \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/FirebaseAnalytics b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/FirebaseAnalytics new file mode 100644 index 00000000000..d69aa063661 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/FirebaseAnalytics differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+AppDelegate.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+AppDelegate.h new file mode 100644 index 00000000000..cb1e407690f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+AppDelegate.h @@ -0,0 +1,80 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Provides App Delegate handlers to be used in your App Delegate. +/// +/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not +/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle +/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead +/// to delegate manually, you can turn off the App Delegate Proxy by adding +/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and +/// adding the methods in this category to corresponding delegation handlers. +/// +/// To handle Universal Links, you must return `true` in +/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`. +@interface FIRAnalytics (AppDelegate) + +/// Handles events related to a URL session that are waiting to be processed. +/// +/// 1. If SwiftUI lifecycle is adopted, call this method from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation +/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set +/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method +/// from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// @param identifier The identifier of the URL session requiring attention. +/// @param completionHandler The completion handler to call when you finish processing the events. +/// Calling this completion handler lets the system know that your app's user interface is +/// updated and a new snapshot can be taken. ++ (void)handleEventsForBackgroundURLSession:(NSString *)identifier + completionHandler:(nullable void (^)(void))completionHandler; + +/// Handles the event when the app is launched by a URL (custom URL scheme or universal link). +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// this method in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and +/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate. +/// +/// @param url The URL resource to open. This resource can be a network resource or a file. ++ (void)handleOpenURL:(NSURL *)url; + +/// Handles the event when the app receives data associated with user activity that includes a +/// Universal Link. +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// `Analytics.handleOpen(_:)` instead in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when +/// NSUserActivity is available. See the [Apple +/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for +/// more details. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate. +/// +/// @param userActivity The activity object containing the data associated with the task the user +/// was performing. ++ (void)handleUserActivity:(id)userActivity; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+Consent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+Consent.h new file mode 100644 index 00000000000..77583906142 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+Consent.h @@ -0,0 +1,51 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The type of consent to set. Supported consent types are `ConsentType.adStorage`, +/// `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and `ConsentType.adPersonalization`. +/// Omitting a type retains its previous status. +typedef NSString *FIRConsentType NS_TYPED_ENUM NS_SWIFT_NAME(ConsentType); + +/// Enables storage (such as device identifiers) related to advertising. +extern FIRConsentType const FIRConsentTypeAdStorage; + +/// Enables storage (such as app identifiers) related to analytics, e.g. visit duration. +extern FIRConsentType const FIRConsentTypeAnalyticsStorage; + +/// Sets consent for sending user data to Google for advertising purposes. +extern FIRConsentType const FIRConsentTypeAdUserData; + +/// Sets consent for personalized advertising. +extern FIRConsentType const FIRConsentTypeAdPersonalization; + +/// The status value of the consent type. Supported statuses are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. +typedef NSString *FIRConsentStatus NS_TYPED_ENUM NS_SWIFT_NAME(ConsentStatus); + +/// Consent status indicating consent is denied. For an overview of which data is sent when consent +/// is denied, see [SDK behavior with consent +/// mode](https://developers.google.com/tag-platform/security/concepts/consent-mode#tag-behavior). +extern FIRConsentStatus const FIRConsentStatusDenied; + +/// Consent status indicating consent is granted. +extern FIRConsentStatus const FIRConsentStatusGranted; + +/// Sets the applicable end user consent state. +@interface FIRAnalytics (Consent) + +/// Sets the applicable end user consent state (e.g. for device identifiers) for this app on this +/// device. Use the consent settings to specify individual consent type values. Settings are +/// persisted across app sessions. By default consent types are set to `ConsentStatus.granted`. +/// +/// @param consentSettings A Dictionary of consent types. Supported consent type keys are +/// `ConsentType.adStorage`, `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and +/// `ConsentType.adPersonalization`. Valid values are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. ++ (void)setConsent:(NSDictionary *)consentSettings; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+OnDevice.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+OnDevice.h new file mode 100644 index 00000000000..0bfec8883e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+OnDevice.h @@ -0,0 +1,44 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +API_UNAVAILABLE(macCatalyst, macos, tvos, watchos) +@interface FIRAnalytics (OnDevice) + +/// Initiates on-device conversion measurement given a user email address. Requires dependency +/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param emailAddress User email address. Include a domain name for all email addresses +/// (e.g. gmail.com or hotmail.co.jp). ++ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:)); + +/// Initiates on-device conversion measurement given a phone number in E.164 format. Requires +/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param phoneNumber User phone number. Must be in E.164 format, which means it must be +/// limited to a maximum of 15 digits and must include a plus sign (+) prefix and country code +/// with no dashes, parentheses, or spaces. ++ (void)initiateOnDeviceConversionMeasurementWithPhoneNumber:(NSString *)phoneNumber + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(phoneNumber:)); + +/// Initiates on-device conversion measurement given a sha256-hashed user email address. Requires +/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param hashedEmailAddress User email address as a UTF8-encoded string normalized and hashed +/// according to the instructions at +/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3. ++ (void)initiateOnDeviceConversionMeasurementWithHashedEmailAddress:(NSData *)hashedEmailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedEmailAddress:)); + +/// Initiates on-device conversion measurement given a sha256-hashed phone number in E.164 format. +/// Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a +/// no-op. +/// @param hashedPhoneNumber UTF8-encoded user phone number in E.164 format and then hashed +/// according to the instructions at +/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3. ++ (void)initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:(NSData *)hashedPhoneNumber + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedPhoneNumber:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics.h new file mode 100644 index 00000000000..e58d7dd7e10 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics.h @@ -0,0 +1,155 @@ +#import + +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The top level Firebase Analytics singleton that provides methods for logging events and setting +/// user properties. See the developer guides for general +/// information on using Firebase Analytics in your apps. +/// +/// @note The Analytics SDK uses SQLite to persist events and other app-specific data. Calling +/// certain thread-unsafe global SQLite methods like `sqlite3_shutdown()` can result in +/// unexpected crashes at runtime. +NS_SWIFT_NAME(Analytics) +@interface FIRAnalytics : NSObject + +/// Logs an app event. The event can have up to 25 parameters. Events with the same name must have +/// the same parameters. Up to 500 event names are supported. Using predefined events and/or +/// parameters is recommended for optimal reporting. +/// +/// The following event names are reserved and cannot be used: +///
    +///
  • ad_activeview
  • +///
  • ad_click
  • +///
  • ad_exposure
  • +///
  • ad_query
  • +///
  • ad_reward
  • +///
  • adunit_exposure
  • +///
  • app_clear_data
  • +///
  • app_exception
  • +///
  • app_remove
  • +///
  • app_store_refund
  • +///
  • app_store_subscription_cancel
  • +///
  • app_store_subscription_convert
  • +///
  • app_store_subscription_renew
  • +///
  • app_update
  • +///
  • app_upgrade
  • +///
  • dynamic_link_app_open
  • +///
  • dynamic_link_app_update
  • +///
  • dynamic_link_first_open
  • +///
  • error
  • +///
  • firebase_campaign
  • +///
  • first_open
  • +///
  • first_visit
  • +///
  • in_app_purchase
  • +///
  • notification_dismiss
  • +///
  • notification_foreground
  • +///
  • notification_open
  • +///
  • notification_receive
  • +///
  • os_update
  • +///
  • session_start
  • +///
  • session_start_with_rollout
  • +///
  • user_engagement
  • +///
+/// +/// @param name The name of the event. Should contain 1 to 40 alphanumeric characters or +/// underscores. The name must start with an alphabetic character. Some event names are +/// reserved. See FIREventNames.h for the list of reserved event names. The "firebase_", +/// "google_", and "ga_" prefixes are reserved and should not be used. Note that event names are +/// case-sensitive and that logging two events whose names differ only in case will result in +/// two distinct events. To manually log screen view events, use the `screen_view` event name. +/// @param parameters The dictionary of event parameters. Passing `nil` indicates that the event has +/// no parameters. Parameter names can be up to 40 characters long and must start with an +/// alphabetic character and contain only alphanumeric characters and underscores. Only String, +/// Int, and Double parameter types are supported. String parameter values can be up to 100 +/// characters long for standard Google Analytics properties, and up to 500 characters long for +/// Google Analytics 360 properties. The "firebase_", "google_", and "ga_" prefixes are reserved +/// and should not be used for parameter names. ++ (void)logEventWithName:(NSString *)name + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logEvent(_:parameters:)); + +/// Sets a user property to a given value. Up to 25 user property names are supported. Once set, +/// user property values persist throughout the app lifecycle and across sessions. +/// +/// The following user property names are reserved and cannot be used: +///
    +///
  • first_open_time
  • +///
  • last_deep_link_referrer
  • +///
  • user_id
  • +///
+/// +/// @param value The value of the user property. Values can be up to 36 characters long. Setting the +/// value to `nil` removes the user property. +/// @param name The name of the user property to set. Should contain 1 to 24 alphanumeric characters +/// or underscores and must start with an alphabetic character. The "firebase_", "google_", and +/// "ga_" prefixes are reserved and should not be used for user property names. ++ (void)setUserPropertyString:(nullable NSString *)value forName:(NSString *)name + NS_SWIFT_NAME(setUserProperty(_:forName:)); + +/// Sets the user ID property. This feature must be used in accordance with +/// Google's Privacy Policy +/// +/// @param userID The user ID to ascribe to the user of this app on this device, which must be +/// non-empty and no more than 256 characters long. Setting userID to `nil` removes the user ID. ++ (void)setUserID:(nullable NSString *)userID; + +/// Sets whether analytics collection is enabled for this app on this device. This setting is +/// persisted across app sessions. By default it is enabled. +/// +/// @param analyticsCollectionEnabled A flag that enables or disables Analytics collection. ++ (void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled; + +/// Sets the interval of inactivity in seconds that terminates the current session. The default +/// value is 1800 seconds (30 minutes). +/// +/// @param sessionTimeoutInterval The custom time of inactivity in seconds before the current +/// session terminates. ++ (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; + +/// Asynchronously retrieves the identifier of the current app session. +/// +/// The session ID retrieval could fail due to Analytics collection disabled, app session expired, +/// etc. +/// +/// @param completion The completion handler to call when the session ID retrieval is complete. This +/// handler is executed on a system-defined global concurrent queue. +/// This completion handler takes the following parameters: +/// sessionID The identifier of the current app session. The value is undefined if the +/// request failed. +/// error An error object that indicates why the request failed, or `nil` if the request +/// was successful. ++ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion; + +/// Returns the unique ID for this instance of the application or `nil` if +/// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`. +/// +/// @see `FIRAnalytics+Consent.h` ++ (nullable NSString *)appInstanceID; + +/// Clears all analytics data for this instance from the device and resets the app instance ID. ++ (void)resetAnalyticsData; + +/// Adds parameters that will be set on every event logged from the SDK, including automatic ones. +/// The values passed in the parameters dictionary will be added to the dictionary of default event +/// parameters. These parameters persist across app runs. They are of lower precedence than event +/// parameters, so if an event parameter and a parameter set using this API have the same name, the +/// value of the event parameter will be used. The same limitations on event parameters apply to +/// default event parameters. +/// +/// @param parameters Parameters to be added to the dictionary of parameters added to every event. +/// They will be added to the dictionary of default event parameters, replacing any existing +/// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's +/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all +/// parameters. ++ (void)setDefaultEventParameters:(nullable NSDictionary *)parameters; + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIREventNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIREventNames.h new file mode 100644 index 00000000000..1e69a44158b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIREventNames.h @@ -0,0 +1,418 @@ +/// @file FIREventNames.h +/// +/// Predefined event names. +/// +/// An Event is an important occurrence in your app that you want to measure. You can report up to +/// 500 different types of Events per app and you can associate up to 25 unique parameters with each +/// Event type. Some common events are suggested below, but you may also choose to specify custom +/// Event types that are associated with your specific app. Each event type is identified by a +/// unique name. Event names can be up to 40 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. The "firebase_", +/// "google_", and "ga_" prefixes are reserved and should not be used. + +#import + +/// Ad Impression event. This event signifies when a user sees an ad impression. Note: If you supply +/// the @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAdPlatform (String) (optional)
  • +///
  • @c AnalyticsParameterAdFormat (String) (optional)
  • +///
  • @c AnalyticsParameterAdSource (String) (optional)
  • +///
  • @c AnalyticsParameterAdUnitName (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAdImpression NS_SWIFT_NAME(AnalyticsEventAdImpression) = + @"ad_impression"; + +/// Add Payment Info event. This event signifies that a user has submitted their payment +/// information. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterPaymentType (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddPaymentInfo NS_SWIFT_NAME(AnalyticsEventAddPaymentInfo) = + @"add_payment_info"; + +/// Add Shipping Info event. This event signifies that a user has submitted their shipping +/// information. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShippingTier (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddShippingInfo NS_SWIFT_NAME(AnalyticsEventAddShippingInfo) = + @"add_shipping_info"; + +/// E-Commerce Add To Cart event. This event signifies that an item(s) was added to a cart for +/// purchase. Add this event to a funnel with @c AnalyticsEventPurchase to gauge the effectiveness +/// of your checkout process. Note: If you supply the @c AnalyticsParameterValue parameter, you must +/// also supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddToCart NS_SWIFT_NAME(AnalyticsEventAddToCart) = @"add_to_cart"; + +/// E-Commerce Add To Wishlist event. This event signifies that an item was added to a wishlist. Use +/// this event to identify popular gift items. Note: If you supply the @c AnalyticsParameterValue +/// parameter, you must also supply the @c AnalyticsParameterCurrency parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddToWishlist NS_SWIFT_NAME(AnalyticsEventAddToWishlist) = + @"add_to_wishlist"; + +/// App Open event. By logging this event when an App becomes active, developers can understand how +/// often users leave and return during the course of a Session. Although Sessions are automatically +/// reported, this event can provide further clarification around the continuous engagement of +/// app-users. +static NSString *const kFIREventAppOpen NS_SWIFT_NAME(AnalyticsEventAppOpen) = @"app_open"; + +/// E-Commerce Begin Checkout event. This event signifies that a user has begun the process of +/// checking out. Add this event to a funnel with your @c AnalyticsEventPurchase event to gauge the +/// effectiveness of your checkout process. Note: If you supply the @c AnalyticsParameterValue +/// parameter, you must also supply the @c AnalyticsParameterCurrency parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginCheckout) = + @"begin_checkout"; + +/// Campaign Detail event. Log this event to supply the referral details of a re-engagement +/// campaign. Note: you must supply at least one of the required parameters +/// AnalyticsParameterSource, AnalyticsParameterMedium or AnalyticsParameterCampaign. Params: +/// +///
    +///
  • @c AnalyticsParameterSource (String)
  • +///
  • @c AnalyticsParameterMedium (String)
  • +///
  • @c AnalyticsParameterCampaign (String)
  • +///
  • @c AnalyticsParameterTerm (String) (optional)
  • +///
  • @c AnalyticsParameterContent (String) (optional)
  • +///
  • @c AnalyticsParameterAdNetworkClickID (String) (optional)
  • +///
  • @c AnalyticsParameterCP1 (String) (optional)
  • +///
  • @c AnalyticsParameterCampaignID (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeFormat (String) (optional)
  • +///
  • @c AnalyticsParameterMarketingTactic (String) (optional)
  • +///
  • @c AnalyticsParameterSourcePlatform (String) (optional)
  • +///
+static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) = + @"campaign_details"; + +/// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log +/// this along with @c AnalyticsEventSpendVirtualCurrency to better understand your virtual economy. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • +///
  • @c AnalyticsParameterValue (Int or Double)
  • +///
+static NSString *const kFIREventEarnVirtualCurrency + NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency"; + +/// Generate Lead event. Log this event when a lead has been generated in the app to understand the +/// efficacy of your install and re-engagement campaigns. Note: If you supply the +/// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventGenerateLead NS_SWIFT_NAME(AnalyticsEventGenerateLead) = + @"generate_lead"; + +/// Join Group event. Log this event when a user joins a group such as a guild, team or family. Use +/// this event to analyze how popular certain groups or social features are in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterGroupID (String)
  • +///
+static NSString *const kFIREventJoinGroup NS_SWIFT_NAME(AnalyticsEventJoinGroup) = @"join_group"; + +/// Level End event. Log this event when the user finishes a level. Params: +/// +///
    +///
  • @c AnalyticsParameterLevelName (String)
  • +///
  • @c AnalyticsParameterSuccess (String)
  • +///
+static NSString *const kFIREventLevelEnd NS_SWIFT_NAME(AnalyticsEventLevelEnd) = @"level_end"; + +/// Level Start event. Log this event when the user starts a new level. Params: +/// +///
    +///
  • @c AnalyticsParameterLevelName (String)
  • +///
+static NSString *const kFIREventLevelStart NS_SWIFT_NAME(AnalyticsEventLevelStart) = @"level_start"; + +/// Level Up event. This event signifies that a player has leveled up in your gaming app. It can +/// help you gauge the level distribution of your userbase and help you identify certain levels that +/// are difficult to pass. Params: +/// +///
    +///
  • @c AnalyticsParameterLevel (Int)
  • +///
  • @c AnalyticsParameterCharacter (String) (optional)
  • +///
+static NSString *const kFIREventLevelUp NS_SWIFT_NAME(AnalyticsEventLevelUp) = @"level_up"; + +/// Login event. Apps with a login feature can report this event to signify that a user has logged +/// in. +static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"login"; + +/// Post Score event. Log this event when the user posts a score in your gaming app. This event can +/// help you understand how users are actually performing in your game and it can help you correlate +/// high scores with certain audiences or behaviors. Params: +/// +///
    +///
  • @c AnalyticsParameterScore (Int)
  • +///
  • @c AnalyticsParameterLevel (Int) (optional)
  • +///
  • @c AnalyticsParameterCharacter (String) (optional)
  • +///
+static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score"; + +/// E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: +/// This is different from the in-app purchase event, which is reported automatically for App +/// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also +/// supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterEndDate (String) (optional)
  • +///
  • @c AnalyticsParameterItemID (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShipping (Double) (optional)
  • +///
  • @c AnalyticsParameterStartDate (String) (optional)
  • +///
  • @c AnalyticsParameterTax (Double) (optional)
  • +///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventPurchase NS_SWIFT_NAME(AnalyticsEventPurchase) = @"purchase"; + +/// E-Commerce Refund event. This event signifies that a refund was issued. Note: If you supply the +/// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShipping (Double) (optional)
  • +///
  • @c AnalyticsParameterTax (Double) (optional)
  • +///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventRefund NS_SWIFT_NAME(AnalyticsEventRefund) = @"refund"; + +/// E-Commerce Remove from Cart event. This event signifies that an item(s) was removed from a cart. +/// Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply the @c +/// AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventRemoveFromCart NS_SWIFT_NAME(AnalyticsEventRemoveFromCart) = + @"remove_from_cart"; + +/// Screen View event. This event signifies a screen view. Use this when a screen transition occurs. +/// This event can be logged irrespective of whether automatic screen tracking is enabled. Params: +/// +///
    +///
  • @c AnalyticsParameterScreenClass (String) (optional)
  • +///
  • @c AnalyticsParameterScreenName (String) (optional)
  • +///
+static NSString *const kFIREventScreenView NS_SWIFT_NAME(AnalyticsEventScreenView) = @"screen_view"; + +/// Search event. Apps that support search features can use this event to contextualize search +/// operations by supplying the appropriate, corresponding parameters. This event can help you +/// identify the most popular content in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterSearchTerm (String)
  • +///
  • @c AnalyticsParameterStartDate (String) (optional)
  • +///
  • @c AnalyticsParameterEndDate (String) (optional)
  • +///
  • @c AnalyticsParameterNumberOfNights (Int) (optional) for hotel bookings
  • +///
  • @c AnalyticsParameterNumberOfRooms (Int) (optional) for hotel bookings
  • +///
  • @c AnalyticsParameterNumberOfPassengers (Int) (optional) for travel bookings
  • +///
  • @c AnalyticsParameterOrigin (String) (optional)
  • +///
  • @c AnalyticsParameterDestination (String) (optional)
  • +///
  • @c AnalyticsParameterTravelClass (String) (optional) for travel bookings
  • +///
+static NSString *const kFIREventSearch NS_SWIFT_NAME(AnalyticsEventSearch) = @"search"; + +/// Select Content event. This general purpose event signifies that a user has selected some content +/// of a certain type in an app. The content can be any object in your app. This event can help you +/// identify popular content and categories of content in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterContentType (String)
  • +///
  • @c AnalyticsParameterItemID (String)
  • +///
+static NSString *const kFIREventSelectContent NS_SWIFT_NAME(AnalyticsEventSelectContent) = + @"select_content"; + +/// Select Item event. This event signifies that an item was selected by a user from a list. Use the +/// appropriate parameters to contextualize the event. Use this event to discover the most popular +/// items selected. Params: +/// +///
    +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterItemListID (String) (optional)
  • +///
  • @c AnalyticsParameterItemListName (String) (optional)
  • +///
+static NSString *const kFIREventSelectItem NS_SWIFT_NAME(AnalyticsEventSelectItem) = @"select_item"; + +/// Select promotion event. This event signifies that a user has selected a promotion offer. Use the +/// appropriate parameters to contextualize the event, such as the item(s) for which the promotion +/// applies. Params: +/// +///
    +///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterLocationID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • +///
+static NSString *const kFIREventSelectPromotion NS_SWIFT_NAME(AnalyticsEventSelectPromotion) = + @"select_promotion"; + +/// Share event. Apps with social features can log the Share event to identify the most viral +/// content. Params: +/// +///
    +///
  • @c AnalyticsParameterContentType (String)
  • +///
  • @c AnalyticsParameterItemID (String)
  • +///
+static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"share"; + +/// Sign Up event. This event indicates that a user has signed up for an account in your app. The +/// parameter signifies the method by which the user signed up. Use this event to understand the +/// different behaviors between logged in and logged out users. Params: +/// +///
    +///
  • @c AnalyticsParameterMethod (String)
  • +///
+static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up"; + +/// Spend Virtual Currency event. This event tracks the sale of virtual goods in your app and can +/// help you identify which virtual goods are the most popular objects of purchase. Params: +/// +///
    +///
  • @c AnalyticsParameterItemName (String)
  • +///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • +///
  • @c AnalyticsParameterValue (Int or Double)
  • +///
+static NSString *const kFIREventSpendVirtualCurrency + NS_SWIFT_NAME(AnalyticsEventSpendVirtualCurrency) = @"spend_virtual_currency"; + +/// Tutorial Begin event. This event signifies the start of the on-boarding process in your app. Use +/// this in a funnel with @c AnalyticsEventTutorialComplete to understand how many users complete +/// this process and move on to the full app experience. +static NSString *const kFIREventTutorialBegin NS_SWIFT_NAME(AnalyticsEventTutorialBegin) = + @"tutorial_begin"; + +/// Tutorial End event. Use this event to signify the user's completion of your app's on-boarding +/// process. Add this to a funnel with @c AnalyticsEventTutorialBegin to gauge the completion rate +/// of your on-boarding process. +static NSString *const kFIREventTutorialComplete NS_SWIFT_NAME(AnalyticsEventTutorialComplete) = + @"tutorial_complete"; + +/// Unlock Achievement event. Log this event when the user has unlocked an achievement in your +/// game. Since achievements generally represent the breadth of a gaming experience, this event can +/// help you understand how many users are experiencing all that your game has to offer. Params: +/// +///
    +///
  • @c AnalyticsParameterAchievementID (String)
  • +///
+static NSString *const kFIREventUnlockAchievement NS_SWIFT_NAME(AnalyticsEventUnlockAchievement) = + @"unlock_achievement"; + +/// E-commerce View Cart event. This event signifies that a user has viewed their cart. Use this to +/// analyze your purchase funnel. Note: If you supply the @c AnalyticsParameterValue parameter, you +/// must also supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be +/// computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventViewCart NS_SWIFT_NAME(AnalyticsEventViewCart) = @"view_cart"; + +/// View Item event. This event signifies that a user has viewed an item. Use the appropriate +/// parameters to contextualize the event. Use this event to discover the most popular items viewed +/// in your app. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventViewItem NS_SWIFT_NAME(AnalyticsEventViewItem) = @"view_item"; + +/// View Item List event. Log this event when a user sees a list of items or offerings. Params: +/// +///
    +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterItemListID (String) (optional)
  • +///
  • @c AnalyticsParameterItemListName (String) (optional)
  • +///
+static NSString *const kFIREventViewItemList NS_SWIFT_NAME(AnalyticsEventViewItemList) = + @"view_item_list"; + +/// View Promotion event. This event signifies that a promotion was shown to a user. Add this event +/// to a funnel with the @c AnalyticsEventAddToCart and @c AnalyticsEventPurchase to gauge your +/// conversion process. Params: +/// +///
    +///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterLocationID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • +///
+static NSString *const kFIREventViewPromotion NS_SWIFT_NAME(AnalyticsEventViewPromotion) = + @"view_promotion"; + +/// View Search Results event. Log this event when the user has been presented with the results of a +/// search. Params: +/// +///
    +///
  • @c AnalyticsParameterSearchTerm (String)
  • +///
+static NSString *const kFIREventViewSearchResults NS_SWIFT_NAME(AnalyticsEventViewSearchResults) = + @"view_search_results"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRParameterNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRParameterNames.h new file mode 100644 index 00000000000..58a5a21df3b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRParameterNames.h @@ -0,0 +1,722 @@ +/// @file FIRParameterNames.h +/// +/// Predefined event parameter names. +/// +/// Params supply information that contextualize Events. You can associate up to 25 unique Params +/// with each Event type. Some Params are suggested below for certain common Events, but you are +/// not limited to these. You may supply extra Params for suggested Events or custom Params for +/// Custom events. Param names can be up to 40 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. Param values can +/// be up to 100 characters long for standard Google Analytics properties and up to 500 characters +/// long for Google Analytics 360 properties. The "firebase_", "google_", and "ga_" prefixes are +/// reserved and should not be used. + +#import + +/// Game achievement ID (String). +///
+///     let params = [
+///       AnalyticsParameterAchievementID : "10_matches_won",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAchievementID NS_SWIFT_NAME(AnalyticsParameterAchievementID) = + @"achievement_id"; + +/// The ad format (e.g. Banner, Interstitial, Rewarded, Native, Rewarded Interstitial, Instream). +/// (String). +///
+///     let params = [
+///       AnalyticsParameterAdFormat : "Banner",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdFormat NS_SWIFT_NAME(AnalyticsParameterAdFormat) = + @"ad_format"; + +/// Ad Network Click ID (String). Used for network-specific click IDs which vary in format. +///
+///     let params = [
+///       AnalyticsParameterAdNetworkClickID : "1234567",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdNetworkClickID + NS_SWIFT_NAME(AnalyticsParameterAdNetworkClickID) = @"aclid"; + +/// The ad platform (e.g. MoPub, IronSource) (String). +///
+///     let params = [
+///       AnalyticsParameterAdPlatform : "MoPub",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdPlatform NS_SWIFT_NAME(AnalyticsParameterAdPlatform) = + @"ad_platform"; + +/// The ad source (e.g. AdColony) (String). +///
+///     let params = [
+///       AnalyticsParameterAdSource : "AdColony",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdSource NS_SWIFT_NAME(AnalyticsParameterAdSource) = + @"ad_source"; + +/// The ad unit name (e.g. Banner_03) (String). +///
+///     let params = [
+///       AnalyticsParameterAdUnitName : "Banner_03",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdUnitName NS_SWIFT_NAME(AnalyticsParameterAdUnitName) = + @"ad_unit_name"; + +/// A product affiliation to designate a supplying company or brick and mortar store location +/// (String).
+///     let params = [
+///       AnalyticsParameterAffiliation : "Google Store",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAffiliation NS_SWIFT_NAME(AnalyticsParameterAffiliation) = + @"affiliation"; + +/// Campaign custom parameter (String). Used as a method of capturing custom data in a campaign. +/// Use varies by network. +///
+///     let params = [
+///       AnalyticsParameterCP1 : "custom_data",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCP1 NS_SWIFT_NAME(AnalyticsParameterCP1) = @"cp1"; + +/// The individual campaign name, slogan, promo code, etc. Some networks have pre-defined macro to +/// capture campaign information, otherwise can be populated by developer. Highly Recommended +/// (String). +///
+///     let params = [
+///       AnalyticsParameterCampaign : "winter_promotion",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCampaign NS_SWIFT_NAME(AnalyticsParameterCampaign) = + @"campaign"; + +/// Campaign ID (String). Used for keyword analysis to identify a specific product promotion or +/// strategic campaign. This is a required key for GA4 data import. +///
+///     let params = [
+///       AnalyticsParameterCampaignID : "7877652710",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCampaignID NS_SWIFT_NAME(AnalyticsParameterCampaignID) = + @"campaign_id"; + +/// Character used in game (String). +///
+///     let params = [
+///       AnalyticsParameterCharacter : "beat_boss",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) = + @"character"; + +/// Campaign content (String). +static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content"; + +/// Type of content selected (String). +///
+///     let params = [
+///       AnalyticsParameterContentType : "news article",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterContentType NS_SWIFT_NAME(AnalyticsParameterContentType) = + @"content_type"; + +/// Coupon code used for a purchase (String). +///
+///     let params = [
+///       AnalyticsParameterCoupon : "SUMMER_FUN",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCoupon NS_SWIFT_NAME(AnalyticsParameterCoupon) = @"coupon"; + +/// Creative Format (String). Used to identify the high-level classification of the type of ad +/// served by a specific campaign. +///
+///     let params = [
+///       AnalyticsParameterCreativeFormat : "display",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeFormat NS_SWIFT_NAME(AnalyticsParameterCreativeFormat) = + @"creative_format"; + +/// The name of a creative used in a promotional spot (String). +///
+///     let params = [
+///       AnalyticsParameterCreativeName : "Summer Sale",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeName NS_SWIFT_NAME(AnalyticsParameterCreativeName) = + @"creative_name"; + +/// The name of a creative slot (String). +///
+///     let params = [
+///       AnalyticsParameterCreativeSlot : "summer_banner2",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeSlot NS_SWIFT_NAME(AnalyticsParameterCreativeSlot) = + @"creative_slot"; + +/// Currency of the purchase or items associated with the event, in 3-letter +/// ISO_4217 format (String). +///
+///     let params = [
+///       AnalyticsParameterCurrency : "USD",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCurrency NS_SWIFT_NAME(AnalyticsParameterCurrency) = + @"currency"; + +/// Flight or Travel destination (String). +///
+///     let params = [
+///       AnalyticsParameterDestination : "Mountain View, CA",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterDestination NS_SWIFT_NAME(AnalyticsParameterDestination) = + @"destination"; + +/// Monetary value of discount associated with a purchase (Double). +///
+///     let params = [
+///       AnalyticsParameterDiscount : 2.0,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $2.00 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterDiscount NS_SWIFT_NAME(AnalyticsParameterDiscount) = + @"discount"; + +/// The arrival date, check-out date or rental end date for the item. This should be in +/// YYYY-MM-DD format (String). +///
+///     let params = [
+///       AnalyticsParameterEndDate : "2015-09-14",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterEndDate NS_SWIFT_NAME(AnalyticsParameterEndDate) = @"end_date"; + +/// Indicates that the associated event should either extend the current session or start a new +/// session if no session was active when the event was logged. Specify 1 to extend the current +/// session or to start a new session; any other value will not extend or start a session. +///
+///     let params = [
+///       AnalyticsParameterExtendSession : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterExtendSession NS_SWIFT_NAME(AnalyticsParameterExtendSession) = + @"extend_session"; + +/// Flight number for travel events (String). +///
+///     let params = [
+///       AnalyticsParameterFlightNumber : "ZZ800",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterFlightNumber NS_SWIFT_NAME(AnalyticsParameterFlightNumber) = + @"flight_number"; + +/// Group/clan/guild ID (String). +///
+///     let params = [
+///       AnalyticsParameterGroupID : "g1",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterGroupID NS_SWIFT_NAME(AnalyticsParameterGroupID) = @"group_id"; + +/// The index of the item in a list (Int). +///
+///     let params = [
+///       AnalyticsParameterIndex : 5,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterIndex NS_SWIFT_NAME(AnalyticsParameterIndex) = @"index"; + +/// Item brand (String). +///
+///     let params = [
+///       AnalyticsParameterItemBrand : "Google",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemBrand NS_SWIFT_NAME(AnalyticsParameterItemBrand) = + @"item_brand"; + +/// Item category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory NS_SWIFT_NAME(AnalyticsParameterItemCategory) = + @"item_category"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory2 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory2 NS_SWIFT_NAME(AnalyticsParameterItemCategory2) = + @"item_category2"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory3 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory3 NS_SWIFT_NAME(AnalyticsParameterItemCategory3) = + @"item_category3"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory4 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory4 NS_SWIFT_NAME(AnalyticsParameterItemCategory4) = + @"item_category4"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory5 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory5 NS_SWIFT_NAME(AnalyticsParameterItemCategory5) = + @"item_category5"; + +/// Item ID (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemID : "SKU_12345",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id"; + +/// The ID of the list in which the item was presented to the user (String). +///
+///     let params = [
+///       AnalyticsParameterItemListID : "ABC123",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemListID NS_SWIFT_NAME(AnalyticsParameterItemListID) = + @"item_list_id"; + +/// The name of the list in which the item was presented to the user (String). +///
+///     let params = [
+///       AnalyticsParameterItemListName : "Related products",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemListName NS_SWIFT_NAME(AnalyticsParameterItemListName) = + @"item_list_name"; + +/// Item Name (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemName : "jeggings",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemName NS_SWIFT_NAME(AnalyticsParameterItemName) = + @"item_name"; + +/// Item variant (String). +///
+///     let params = [
+///       AnalyticsParameterItemVariant : "Black",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemVariant NS_SWIFT_NAME(AnalyticsParameterItemVariant) = + @"item_variant"; + +/// The list of items involved in the transaction expressed as `[[String: Any]]`. +///
+///     let params = [
+///       AnalyticsParameterItems : [
+///         [AnalyticsParameterItemName : "jeggings", AnalyticsParameterItemCategory : "pants"],
+///         [AnalyticsParameterItemName : "boots", AnalyticsParameterItemCategory : "shoes"],
+///       ],
+///     ]
+/// 
+static NSString *const kFIRParameterItems NS_SWIFT_NAME(AnalyticsParameterItems) = @"items"; + +/// Level in game (Int). +///
+///     let params = [
+///       AnalyticsParameterLevel : 42,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLevel NS_SWIFT_NAME(AnalyticsParameterLevel) = @"level"; + +/// The name of a level in a game (String). +///
+///     let params = [
+///       AnalyticsParameterLevelName : "room_1",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLevelName NS_SWIFT_NAME(AnalyticsParameterLevelName) = + @"level_name"; + +/// Location (String). The Google Place ID +/// that corresponds to the associated event. Alternatively, you can supply your own custom +/// Location ID. +///
+///     let params = [
+///       AnalyticsParameterLocation : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLocation NS_SWIFT_NAME(AnalyticsParameterLocation) = + @"location"; + +/// The location associated with the event. Preferred to be the Google +/// Place ID that corresponds to the +/// associated item but could be overridden to a custom location ID string.(String). +///
+///     let params = [
+///       AnalyticsParameterLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLocationID NS_SWIFT_NAME(AnalyticsParameterLocationID) = + @"location_id"; + +/// Marketing Tactic (String). Used to identify the targeting criteria applied to a specific +/// campaign. +///
+///     let params = [
+///       AnalyticsParameterMarketingTactic : "Remarketing",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMarketingTactic + NS_SWIFT_NAME(AnalyticsParameterMarketingTactic) = @"marketing_tactic"; + +/// The advertising or marketing medium, for example: cpc, banner, email, push. Highly recommended +/// (String). +///
+///     let params = [
+///       AnalyticsParameterMedium : "email",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMedium NS_SWIFT_NAME(AnalyticsParameterMedium) = @"medium"; + +/// A particular approach used in an operation; for example, "facebook" or "email" in the context +/// of a sign_up or login event. (String). +///
+///     let params = [
+///       AnalyticsParameterMethod : "google",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMethod NS_SWIFT_NAME(AnalyticsParameterMethod) = @"method"; + +/// Number of nights staying at hotel (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfNights : 3,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfNights + NS_SWIFT_NAME(AnalyticsParameterNumberOfNights) = @"number_of_nights"; + +/// Number of passengers traveling (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfPassengers : 11,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfPassengers + NS_SWIFT_NAME(AnalyticsParameterNumberOfPassengers) = @"number_of_passengers"; + +/// Number of rooms for travel events (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfRooms : 2,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfRooms NS_SWIFT_NAME(AnalyticsParameterNumberOfRooms) = + @"number_of_rooms"; + +/// Flight or Travel origin (String). +///
+///     let params = [
+///       AnalyticsParameterOrigin : "Mountain View, CA",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterOrigin NS_SWIFT_NAME(AnalyticsParameterOrigin) = @"origin"; + +/// The chosen method of payment (String). +///
+///     let params = [
+///       AnalyticsParameterPaymentType : "Visa",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPaymentType NS_SWIFT_NAME(AnalyticsParameterPaymentType) = + @"payment_type"; + +/// Purchase price (Double). +///
+///     let params = [
+///       AnalyticsParameterPrice : 1.0,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $1.00 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPrice NS_SWIFT_NAME(AnalyticsParameterPrice) = @"price"; + +/// The ID of a product promotion (String). +///
+///     let params = [
+///       AnalyticsParameterPromotionID : "ABC123",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPromotionID NS_SWIFT_NAME(AnalyticsParameterPromotionID) = + @"promotion_id"; + +/// The name of a product promotion (String). +///
+///     let params = [
+///       AnalyticsParameterPromotionName : "Summer Sale",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPromotionName NS_SWIFT_NAME(AnalyticsParameterPromotionName) = + @"promotion_name"; + +/// Purchase quantity (Int). +///
+///     let params = [
+///       AnalyticsParameterQuantity : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterQuantity NS_SWIFT_NAME(AnalyticsParameterQuantity) = + @"quantity"; + +/// Score in game (Int). +///
+///     let params = [
+///       AnalyticsParameterScore : 4200,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScore NS_SWIFT_NAME(AnalyticsParameterScore) = @"score"; + +/// Current screen class, such as the class name of the UIViewController, logged with screen_view +/// event and added to every event (String). +///
+///     let params = [
+///       AnalyticsParameterScreenClass : "LoginViewController",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScreenClass NS_SWIFT_NAME(AnalyticsParameterScreenClass) = + @"screen_class"; + +/// Current screen name, such as the name of the UIViewController, logged with screen_view event and +/// added to every event (String). +///
+///     let params = [
+///       AnalyticsParameterScreenName : "LoginView",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScreenName NS_SWIFT_NAME(AnalyticsParameterScreenName) = + @"screen_name"; + +/// The search string/keywords used (String). +///
+///     let params = [
+///       AnalyticsParameterSearchTerm : "periodic table",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSearchTerm NS_SWIFT_NAME(AnalyticsParameterSearchTerm) = + @"search_term"; + +/// Shipping cost associated with a transaction (Double). +///
+///     let params = [
+///       AnalyticsParameterShipping : 5.99,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $5.99 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShipping) = + @"shipping"; + +/// The shipping tier (e.g. Ground, Air, Next-day) selected for delivery of the purchased item +/// (String). +///
+///     let params = [
+///       AnalyticsParameterShippingTier : "Ground",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterShippingTier NS_SWIFT_NAME(AnalyticsParameterShippingTier) = + @"shipping_tier"; + +/// The origin of your traffic, such as an Ad network (for example, google) or partner (urban +/// airship). Identify the advertiser, site, publication, etc. that is sending traffic to your +/// property. Highly recommended (String). +///
+///     let params = [
+///       AnalyticsParameterSource : "InMobi",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSource NS_SWIFT_NAME(AnalyticsParameterSource) = @"source"; + +/// Source Platform (String). Used to identify the platform responsible for directing traffic to a +/// given Analytics property (e.g., a buying platform where budgets, targeting criteria, etc. are +/// set, a platform for managing organic traffic data, etc.). +///
+///     let params = [
+///       AnalyticsParameterSourcePlatform : "sa360",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSourcePlatform NS_SWIFT_NAME(AnalyticsParameterSourcePlatform) = + @"source_platform"; + +/// The departure date, check-in date or rental start date for the item. This should be in +/// YYYY-MM-DD format (String). +///
+///     let params = [
+///       AnalyticsParameterStartDate : "2015-09-14",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterStartDate NS_SWIFT_NAME(AnalyticsParameterStartDate) = + @"start_date"; + +/// The result of an operation. Specify 1 to indicate success and 0 to indicate failure (Int). +///
+///     let params = [
+///       AnalyticsParameterSuccess : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSuccess NS_SWIFT_NAME(AnalyticsParameterSuccess) = @"success"; + +/// Tax cost associated with a transaction (Double). +///
+///     let params = [
+///       AnalyticsParameterTax : 2.43,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $2.43 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTax NS_SWIFT_NAME(AnalyticsParameterTax) = @"tax"; + +/// If you're manually tagging keyword campaigns, you should use utm_term to specify the keyword +/// (String). +///
+///     let params = [
+///       AnalyticsParameterTerm : "game",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTerm NS_SWIFT_NAME(AnalyticsParameterTerm) = @"term"; + +/// The unique identifier of a transaction (String). +///
+///     let params = [
+///       AnalyticsParameterTransactionID : "T12345",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTransactionID NS_SWIFT_NAME(AnalyticsParameterTransactionID) = + @"transaction_id"; + +/// Travel class (String). +///
+///     let params = [
+///       AnalyticsParameterTravelClass : "business",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTravelClass NS_SWIFT_NAME(AnalyticsParameterTravelClass) = + @"travel_class"; + +/// A context-specific numeric value which is accumulated automatically for each event type. This is +/// a general purpose parameter that is useful for accumulating a key metric that pertains to an +/// event. Examples include revenue, distance, time and points. Value should be specified as Int or +/// Double. +/// Notes: Values for pre-defined currency-related events (such as @c AnalyticsEventAddToCart) +/// should be supplied using Double and must be accompanied by a @c AnalyticsParameterCurrency +/// parameter. The valid range of accumulated values is +/// [-9,223,372,036,854.77, 9,223,372,036,854.77]. Supplying a non-numeric value, omitting the +/// corresponding @c AnalyticsParameterCurrency parameter, or supplying an invalid +/// currency code for conversion events will cause that +/// conversion to be omitted from reporting. +///
+///     let params = [
+///       AnalyticsParameterValue : 3.99,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $3.99 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterValue NS_SWIFT_NAME(AnalyticsParameterValue) = @"value"; + +/// Name of virtual currency type (String). +///
+///     let params = [
+///       AnalyticsParameterVirtualCurrencyName : "virtual_currency_name",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterVirtualCurrencyName + NS_SWIFT_NAME(AnalyticsParameterVirtualCurrencyName) = @"virtual_currency_name"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRUserPropertyNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRUserPropertyNames.h new file mode 100644 index 00000000000..2442d8a7ba7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FIRUserPropertyNames.h @@ -0,0 +1,28 @@ +/// @file FIRUserPropertyNames.h +/// +/// Predefined user property names. +/// +/// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can +/// later analyze different behaviors of various segments of your userbase. You may supply up to 25 +/// unique UserProperties per app, and you can use the name and value of your choosing for each one. +/// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and +/// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to +/// 36 characters long. The "firebase_", "google_", and "ga_" prefixes are reserved and should not +/// be used. + +#import + +/// Indicates whether events logged by Google Analytics can be used to personalize ads for the user. +/// Set to "YES" to enable, or "NO" to disable. Default is enabled. See the +/// documentation for +/// more details and information about related settings. +/// +///
+///     Analytics.setUserProperty("NO", forName: AnalyticsUserPropertyAllowAdPersonalizationSignals)
+/// 
+static NSString *const kFIRUserPropertyAllowAdPersonalizationSignals + NS_SWIFT_NAME(AnalyticsUserPropertyAllowAdPersonalizationSignals) = @"allow_personalized_ads"; + +/// The method used to sign in. For example, "google", "facebook" or "twitter". +static NSString *const kFIRUserPropertySignUpMethod + NS_SWIFT_NAME(AnalyticsUserPropertySignUpMethod) = @"sign_up_method"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-Swift.h new file mode 100644 index 00000000000..3dbf01a8de9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-Swift.h @@ -0,0 +1,620 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEANALYTICS_SWIFT_H +#define FIREBASEANALYTICS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseAnalytics",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEANALYTICS_SWIFT_H +#define FIREBASEANALYTICS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseAnalytics",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-umbrella.h new file mode 100644 index 00000000000..ad84fbb8f60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-umbrella.h @@ -0,0 +1,24 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FirebaseAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +FOUNDATION_EXPORT double FirebaseAnalyticsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAnalyticsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics.h new file mode 100644 index 00000000000..351da20a92a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics.h @@ -0,0 +1,7 @@ +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo new file mode 100644 index 00000000000..5c773533b48 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo new file mode 100644 index 00000000000..96af6abfaef Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.abi.json new file mode 100644 index 00000000000..665fe288dc6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.abi.json @@ -0,0 +1,288 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "Import", + "name": "SwiftUI", + "printedName": "SwiftUI", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "TypeDecl", + "name": "Analytics", + "printedName": "Analytics", + "children": [ + { + "kind": "Function", + "name": "logTransaction", + "printedName": "logTransaction(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transaction", + "printedName": "StoreKit.Transaction", + "usr": "s:8StoreKit11TransactionV" + } + ], + "declKind": "Func", + "usr": "s:So12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "mangledName": "$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "moduleName": "FirebaseAnalytics", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)FIRAnalytics", + "moduleName": "FirebaseAnalytics", + "isOpen": true, + "objc_name": "FIRAnalytics", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "View", + "printedName": "View", + "children": [ + { + "kind": "Function", + "name": "analyticsScreen", + "printedName": "analyticsScreen(name:class:extraParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModifiedContent", + "printedName": "SwiftUI.ModifiedContent<Ï„_0_0, FirebaseAnalytics.LoggedAnalyticsModifier>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + }, + { + "kind": "TypeNominal", + "name": "LoggedAnalyticsModifier", + "printedName": "FirebaseAnalytics.LoggedAnalyticsModifier", + "usr": "s:17FirebaseAnalytics06LoggedB8ModifierV" + } + ], + "usr": "s:7SwiftUI15ModifiedContentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "hasDefaultArg": true, + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "mangledName": "$s7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "moduleName": "FirebaseAnalytics", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : SwiftUI.View>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:7SwiftUI4ViewP", + "mangledName": "$s7SwiftUI4ViewP", + "moduleName": "SwiftUI", + "genericSig": "<Ï„_0_0.Body : SwiftUI.View>", + "sugared_genericSig": "", + "intro_Macosx": "10.15", + "intro_iOS": "13.0", + "intro_tvOS": "13.0", + "intro_watchOS": "6.0", + "declAttributes": [ + "TypeEraser", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1259, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1297, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2523, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2564, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2607, + "length": 1, + "value": "2" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2651, + "length": 1, + "value": "3" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2683, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "StringLiteral", + "offset": 2654, + "length": 6, + "value": "\"View\"" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "Dictionary", + "offset": 2701, + "length": 3, + "value": "[]" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface new file mode 100644 index 00000000000..167a18cb438 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 00000000000..8591fff8836 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 00000000000..167a18cb438 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.abi.json new file mode 100644 index 00000000000..665fe288dc6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.abi.json @@ -0,0 +1,288 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "Import", + "name": "SwiftUI", + "printedName": "SwiftUI", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "TypeDecl", + "name": "Analytics", + "printedName": "Analytics", + "children": [ + { + "kind": "Function", + "name": "logTransaction", + "printedName": "logTransaction(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transaction", + "printedName": "StoreKit.Transaction", + "usr": "s:8StoreKit11TransactionV" + } + ], + "declKind": "Func", + "usr": "s:So12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "mangledName": "$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "moduleName": "FirebaseAnalytics", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)FIRAnalytics", + "moduleName": "FirebaseAnalytics", + "isOpen": true, + "objc_name": "FIRAnalytics", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "View", + "printedName": "View", + "children": [ + { + "kind": "Function", + "name": "analyticsScreen", + "printedName": "analyticsScreen(name:class:extraParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModifiedContent", + "printedName": "SwiftUI.ModifiedContent<Ï„_0_0, FirebaseAnalytics.LoggedAnalyticsModifier>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + }, + { + "kind": "TypeNominal", + "name": "LoggedAnalyticsModifier", + "printedName": "FirebaseAnalytics.LoggedAnalyticsModifier", + "usr": "s:17FirebaseAnalytics06LoggedB8ModifierV" + } + ], + "usr": "s:7SwiftUI15ModifiedContentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "hasDefaultArg": true, + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "mangledName": "$s7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "moduleName": "FirebaseAnalytics", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : SwiftUI.View>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:7SwiftUI4ViewP", + "mangledName": "$s7SwiftUI4ViewP", + "moduleName": "SwiftUI", + "genericSig": "<Ï„_0_0.Body : SwiftUI.View>", + "sugared_genericSig": "", + "intro_Macosx": "10.15", + "intro_iOS": "13.0", + "intro_tvOS": "13.0", + "intro_watchOS": "6.0", + "declAttributes": [ + "TypeEraser", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1259, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1297, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2523, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2564, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2607, + "length": 1, + "value": "2" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2651, + "length": 1, + "value": "3" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2683, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "StringLiteral", + "offset": 2654, + "length": 6, + "value": "\"View\"" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "Dictionary", + "offset": 2701, + "length": 3, + "value": "[]" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface new file mode 100644 index 00000000000..6dbbf7267e8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 00000000000..7cfa6777a43 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 00000000000..6dbbf7267e8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..fa10817ef61 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,16 @@ +framework module FirebaseAnalytics { +umbrella header "FirebaseAnalytics-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "SystemConfiguration" + link framework "UIKit" + link "c++" + link "sqlite3" + link "z" +} +module FirebaseAnalytics.Swift { + header "FirebaseAnalytics-Swift.h" + requires objc +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..3a611f66603 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 23G93 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAnalytics + CFBundleIdentifier + org.cocoapods.FirebaseAnalytics + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAnalytics + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics new file mode 100644 index 00000000000..29be5569036 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h new file mode 100644 index 00000000000..cb1e407690f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h @@ -0,0 +1,80 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Provides App Delegate handlers to be used in your App Delegate. +/// +/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not +/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle +/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead +/// to delegate manually, you can turn off the App Delegate Proxy by adding +/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and +/// adding the methods in this category to corresponding delegation handlers. +/// +/// To handle Universal Links, you must return `true` in +/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`. +@interface FIRAnalytics (AppDelegate) + +/// Handles events related to a URL session that are waiting to be processed. +/// +/// 1. If SwiftUI lifecycle is adopted, call this method from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation +/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set +/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method +/// from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// @param identifier The identifier of the URL session requiring attention. +/// @param completionHandler The completion handler to call when you finish processing the events. +/// Calling this completion handler lets the system know that your app's user interface is +/// updated and a new snapshot can be taken. ++ (void)handleEventsForBackgroundURLSession:(NSString *)identifier + completionHandler:(nullable void (^)(void))completionHandler; + +/// Handles the event when the app is launched by a URL (custom URL scheme or universal link). +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// this method in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and +/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate. +/// +/// @param url The URL resource to open. This resource can be a network resource or a file. ++ (void)handleOpenURL:(NSURL *)url; + +/// Handles the event when the app receives data associated with user activity that includes a +/// Universal Link. +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// `Analytics.handleOpen(_:)` instead in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when +/// NSUserActivity is available. See the [Apple +/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for +/// more details. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate. +/// +/// @param userActivity The activity object containing the data associated with the task the user +/// was performing. ++ (void)handleUserActivity:(id)userActivity; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h new file mode 100644 index 00000000000..77583906142 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h @@ -0,0 +1,51 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The type of consent to set. Supported consent types are `ConsentType.adStorage`, +/// `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and `ConsentType.adPersonalization`. +/// Omitting a type retains its previous status. +typedef NSString *FIRConsentType NS_TYPED_ENUM NS_SWIFT_NAME(ConsentType); + +/// Enables storage (such as device identifiers) related to advertising. +extern FIRConsentType const FIRConsentTypeAdStorage; + +/// Enables storage (such as app identifiers) related to analytics, e.g. visit duration. +extern FIRConsentType const FIRConsentTypeAnalyticsStorage; + +/// Sets consent for sending user data to Google for advertising purposes. +extern FIRConsentType const FIRConsentTypeAdUserData; + +/// Sets consent for personalized advertising. +extern FIRConsentType const FIRConsentTypeAdPersonalization; + +/// The status value of the consent type. Supported statuses are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. +typedef NSString *FIRConsentStatus NS_TYPED_ENUM NS_SWIFT_NAME(ConsentStatus); + +/// Consent status indicating consent is denied. For an overview of which data is sent when consent +/// is denied, see [SDK behavior with consent +/// mode](https://developers.google.com/tag-platform/security/concepts/consent-mode#tag-behavior). +extern FIRConsentStatus const FIRConsentStatusDenied; + +/// Consent status indicating consent is granted. +extern FIRConsentStatus const FIRConsentStatusGranted; + +/// Sets the applicable end user consent state. +@interface FIRAnalytics (Consent) + +/// Sets the applicable end user consent state (e.g. for device identifiers) for this app on this +/// device. Use the consent settings to specify individual consent type values. Settings are +/// persisted across app sessions. By default consent types are set to `ConsentStatus.granted`. +/// +/// @param consentSettings A Dictionary of consent types. Supported consent type keys are +/// `ConsentType.adStorage`, `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and +/// `ConsentType.adPersonalization`. Valid values are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. ++ (void)setConsent:(NSDictionary *)consentSettings; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h new file mode 100644 index 00000000000..0bfec8883e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h @@ -0,0 +1,44 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +API_UNAVAILABLE(macCatalyst, macos, tvos, watchos) +@interface FIRAnalytics (OnDevice) + +/// Initiates on-device conversion measurement given a user email address. Requires dependency +/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param emailAddress User email address. Include a domain name for all email addresses +/// (e.g. gmail.com or hotmail.co.jp). ++ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:)); + +/// Initiates on-device conversion measurement given a phone number in E.164 format. Requires +/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param phoneNumber User phone number. Must be in E.164 format, which means it must be +/// limited to a maximum of 15 digits and must include a plus sign (+) prefix and country code +/// with no dashes, parentheses, or spaces. ++ (void)initiateOnDeviceConversionMeasurementWithPhoneNumber:(NSString *)phoneNumber + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(phoneNumber:)); + +/// Initiates on-device conversion measurement given a sha256-hashed user email address. Requires +/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param hashedEmailAddress User email address as a UTF8-encoded string normalized and hashed +/// according to the instructions at +/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3. ++ (void)initiateOnDeviceConversionMeasurementWithHashedEmailAddress:(NSData *)hashedEmailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedEmailAddress:)); + +/// Initiates on-device conversion measurement given a sha256-hashed phone number in E.164 format. +/// Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a +/// no-op. +/// @param hashedPhoneNumber UTF8-encoded user phone number in E.164 format and then hashed +/// according to the instructions at +/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3. ++ (void)initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:(NSData *)hashedPhoneNumber + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedPhoneNumber:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h new file mode 100644 index 00000000000..e58d7dd7e10 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h @@ -0,0 +1,155 @@ +#import + +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The top level Firebase Analytics singleton that provides methods for logging events and setting +/// user properties. See the developer guides for general +/// information on using Firebase Analytics in your apps. +/// +/// @note The Analytics SDK uses SQLite to persist events and other app-specific data. Calling +/// certain thread-unsafe global SQLite methods like `sqlite3_shutdown()` can result in +/// unexpected crashes at runtime. +NS_SWIFT_NAME(Analytics) +@interface FIRAnalytics : NSObject + +/// Logs an app event. The event can have up to 25 parameters. Events with the same name must have +/// the same parameters. Up to 500 event names are supported. Using predefined events and/or +/// parameters is recommended for optimal reporting. +/// +/// The following event names are reserved and cannot be used: +///
    +///
  • ad_activeview
  • +///
  • ad_click
  • +///
  • ad_exposure
  • +///
  • ad_query
  • +///
  • ad_reward
  • +///
  • adunit_exposure
  • +///
  • app_clear_data
  • +///
  • app_exception
  • +///
  • app_remove
  • +///
  • app_store_refund
  • +///
  • app_store_subscription_cancel
  • +///
  • app_store_subscription_convert
  • +///
  • app_store_subscription_renew
  • +///
  • app_update
  • +///
  • app_upgrade
  • +///
  • dynamic_link_app_open
  • +///
  • dynamic_link_app_update
  • +///
  • dynamic_link_first_open
  • +///
  • error
  • +///
  • firebase_campaign
  • +///
  • first_open
  • +///
  • first_visit
  • +///
  • in_app_purchase
  • +///
  • notification_dismiss
  • +///
  • notification_foreground
  • +///
  • notification_open
  • +///
  • notification_receive
  • +///
  • os_update
  • +///
  • session_start
  • +///
  • session_start_with_rollout
  • +///
  • user_engagement
  • +///
+/// +/// @param name The name of the event. Should contain 1 to 40 alphanumeric characters or +/// underscores. The name must start with an alphabetic character. Some event names are +/// reserved. See FIREventNames.h for the list of reserved event names. The "firebase_", +/// "google_", and "ga_" prefixes are reserved and should not be used. Note that event names are +/// case-sensitive and that logging two events whose names differ only in case will result in +/// two distinct events. To manually log screen view events, use the `screen_view` event name. +/// @param parameters The dictionary of event parameters. Passing `nil` indicates that the event has +/// no parameters. Parameter names can be up to 40 characters long and must start with an +/// alphabetic character and contain only alphanumeric characters and underscores. Only String, +/// Int, and Double parameter types are supported. String parameter values can be up to 100 +/// characters long for standard Google Analytics properties, and up to 500 characters long for +/// Google Analytics 360 properties. The "firebase_", "google_", and "ga_" prefixes are reserved +/// and should not be used for parameter names. ++ (void)logEventWithName:(NSString *)name + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logEvent(_:parameters:)); + +/// Sets a user property to a given value. Up to 25 user property names are supported. Once set, +/// user property values persist throughout the app lifecycle and across sessions. +/// +/// The following user property names are reserved and cannot be used: +///
    +///
  • first_open_time
  • +///
  • last_deep_link_referrer
  • +///
  • user_id
  • +///
+/// +/// @param value The value of the user property. Values can be up to 36 characters long. Setting the +/// value to `nil` removes the user property. +/// @param name The name of the user property to set. Should contain 1 to 24 alphanumeric characters +/// or underscores and must start with an alphabetic character. The "firebase_", "google_", and +/// "ga_" prefixes are reserved and should not be used for user property names. ++ (void)setUserPropertyString:(nullable NSString *)value forName:(NSString *)name + NS_SWIFT_NAME(setUserProperty(_:forName:)); + +/// Sets the user ID property. This feature must be used in accordance with +/// Google's Privacy Policy +/// +/// @param userID The user ID to ascribe to the user of this app on this device, which must be +/// non-empty and no more than 256 characters long. Setting userID to `nil` removes the user ID. ++ (void)setUserID:(nullable NSString *)userID; + +/// Sets whether analytics collection is enabled for this app on this device. This setting is +/// persisted across app sessions. By default it is enabled. +/// +/// @param analyticsCollectionEnabled A flag that enables or disables Analytics collection. ++ (void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled; + +/// Sets the interval of inactivity in seconds that terminates the current session. The default +/// value is 1800 seconds (30 minutes). +/// +/// @param sessionTimeoutInterval The custom time of inactivity in seconds before the current +/// session terminates. ++ (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; + +/// Asynchronously retrieves the identifier of the current app session. +/// +/// The session ID retrieval could fail due to Analytics collection disabled, app session expired, +/// etc. +/// +/// @param completion The completion handler to call when the session ID retrieval is complete. This +/// handler is executed on a system-defined global concurrent queue. +/// This completion handler takes the following parameters: +/// sessionID The identifier of the current app session. The value is undefined if the +/// request failed. +/// error An error object that indicates why the request failed, or `nil` if the request +/// was successful. ++ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion; + +/// Returns the unique ID for this instance of the application or `nil` if +/// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`. +/// +/// @see `FIRAnalytics+Consent.h` ++ (nullable NSString *)appInstanceID; + +/// Clears all analytics data for this instance from the device and resets the app instance ID. ++ (void)resetAnalyticsData; + +/// Adds parameters that will be set on every event logged from the SDK, including automatic ones. +/// The values passed in the parameters dictionary will be added to the dictionary of default event +/// parameters. These parameters persist across app runs. They are of lower precedence than event +/// parameters, so if an event parameter and a parameter set using this API have the same name, the +/// value of the event parameter will be used. The same limitations on event parameters apply to +/// default event parameters. +/// +/// @param parameters Parameters to be added to the dictionary of parameters added to every event. +/// They will be added to the dictionary of default event parameters, replacing any existing +/// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's +/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all +/// parameters. ++ (void)setDefaultEventParameters:(nullable NSDictionary *)parameters; + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h new file mode 100644 index 00000000000..1e69a44158b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h @@ -0,0 +1,418 @@ +/// @file FIREventNames.h +/// +/// Predefined event names. +/// +/// An Event is an important occurrence in your app that you want to measure. You can report up to +/// 500 different types of Events per app and you can associate up to 25 unique parameters with each +/// Event type. Some common events are suggested below, but you may also choose to specify custom +/// Event types that are associated with your specific app. Each event type is identified by a +/// unique name. Event names can be up to 40 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. The "firebase_", +/// "google_", and "ga_" prefixes are reserved and should not be used. + +#import + +/// Ad Impression event. This event signifies when a user sees an ad impression. Note: If you supply +/// the @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAdPlatform (String) (optional)
  • +///
  • @c AnalyticsParameterAdFormat (String) (optional)
  • +///
  • @c AnalyticsParameterAdSource (String) (optional)
  • +///
  • @c AnalyticsParameterAdUnitName (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAdImpression NS_SWIFT_NAME(AnalyticsEventAdImpression) = + @"ad_impression"; + +/// Add Payment Info event. This event signifies that a user has submitted their payment +/// information. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterPaymentType (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddPaymentInfo NS_SWIFT_NAME(AnalyticsEventAddPaymentInfo) = + @"add_payment_info"; + +/// Add Shipping Info event. This event signifies that a user has submitted their shipping +/// information. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShippingTier (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddShippingInfo NS_SWIFT_NAME(AnalyticsEventAddShippingInfo) = + @"add_shipping_info"; + +/// E-Commerce Add To Cart event. This event signifies that an item(s) was added to a cart for +/// purchase. Add this event to a funnel with @c AnalyticsEventPurchase to gauge the effectiveness +/// of your checkout process. Note: If you supply the @c AnalyticsParameterValue parameter, you must +/// also supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddToCart NS_SWIFT_NAME(AnalyticsEventAddToCart) = @"add_to_cart"; + +/// E-Commerce Add To Wishlist event. This event signifies that an item was added to a wishlist. Use +/// this event to identify popular gift items. Note: If you supply the @c AnalyticsParameterValue +/// parameter, you must also supply the @c AnalyticsParameterCurrency parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddToWishlist NS_SWIFT_NAME(AnalyticsEventAddToWishlist) = + @"add_to_wishlist"; + +/// App Open event. By logging this event when an App becomes active, developers can understand how +/// often users leave and return during the course of a Session. Although Sessions are automatically +/// reported, this event can provide further clarification around the continuous engagement of +/// app-users. +static NSString *const kFIREventAppOpen NS_SWIFT_NAME(AnalyticsEventAppOpen) = @"app_open"; + +/// E-Commerce Begin Checkout event. This event signifies that a user has begun the process of +/// checking out. Add this event to a funnel with your @c AnalyticsEventPurchase event to gauge the +/// effectiveness of your checkout process. Note: If you supply the @c AnalyticsParameterValue +/// parameter, you must also supply the @c AnalyticsParameterCurrency parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginCheckout) = + @"begin_checkout"; + +/// Campaign Detail event. Log this event to supply the referral details of a re-engagement +/// campaign. Note: you must supply at least one of the required parameters +/// AnalyticsParameterSource, AnalyticsParameterMedium or AnalyticsParameterCampaign. Params: +/// +///
    +///
  • @c AnalyticsParameterSource (String)
  • +///
  • @c AnalyticsParameterMedium (String)
  • +///
  • @c AnalyticsParameterCampaign (String)
  • +///
  • @c AnalyticsParameterTerm (String) (optional)
  • +///
  • @c AnalyticsParameterContent (String) (optional)
  • +///
  • @c AnalyticsParameterAdNetworkClickID (String) (optional)
  • +///
  • @c AnalyticsParameterCP1 (String) (optional)
  • +///
  • @c AnalyticsParameterCampaignID (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeFormat (String) (optional)
  • +///
  • @c AnalyticsParameterMarketingTactic (String) (optional)
  • +///
  • @c AnalyticsParameterSourcePlatform (String) (optional)
  • +///
+static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) = + @"campaign_details"; + +/// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log +/// this along with @c AnalyticsEventSpendVirtualCurrency to better understand your virtual economy. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • +///
  • @c AnalyticsParameterValue (Int or Double)
  • +///
+static NSString *const kFIREventEarnVirtualCurrency + NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency"; + +/// Generate Lead event. Log this event when a lead has been generated in the app to understand the +/// efficacy of your install and re-engagement campaigns. Note: If you supply the +/// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventGenerateLead NS_SWIFT_NAME(AnalyticsEventGenerateLead) = + @"generate_lead"; + +/// Join Group event. Log this event when a user joins a group such as a guild, team or family. Use +/// this event to analyze how popular certain groups or social features are in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterGroupID (String)
  • +///
+static NSString *const kFIREventJoinGroup NS_SWIFT_NAME(AnalyticsEventJoinGroup) = @"join_group"; + +/// Level End event. Log this event when the user finishes a level. Params: +/// +///
    +///
  • @c AnalyticsParameterLevelName (String)
  • +///
  • @c AnalyticsParameterSuccess (String)
  • +///
+static NSString *const kFIREventLevelEnd NS_SWIFT_NAME(AnalyticsEventLevelEnd) = @"level_end"; + +/// Level Start event. Log this event when the user starts a new level. Params: +/// +///
    +///
  • @c AnalyticsParameterLevelName (String)
  • +///
+static NSString *const kFIREventLevelStart NS_SWIFT_NAME(AnalyticsEventLevelStart) = @"level_start"; + +/// Level Up event. This event signifies that a player has leveled up in your gaming app. It can +/// help you gauge the level distribution of your userbase and help you identify certain levels that +/// are difficult to pass. Params: +/// +///
    +///
  • @c AnalyticsParameterLevel (Int)
  • +///
  • @c AnalyticsParameterCharacter (String) (optional)
  • +///
+static NSString *const kFIREventLevelUp NS_SWIFT_NAME(AnalyticsEventLevelUp) = @"level_up"; + +/// Login event. Apps with a login feature can report this event to signify that a user has logged +/// in. +static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"login"; + +/// Post Score event. Log this event when the user posts a score in your gaming app. This event can +/// help you understand how users are actually performing in your game and it can help you correlate +/// high scores with certain audiences or behaviors. Params: +/// +///
    +///
  • @c AnalyticsParameterScore (Int)
  • +///
  • @c AnalyticsParameterLevel (Int) (optional)
  • +///
  • @c AnalyticsParameterCharacter (String) (optional)
  • +///
+static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score"; + +/// E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: +/// This is different from the in-app purchase event, which is reported automatically for App +/// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also +/// supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterEndDate (String) (optional)
  • +///
  • @c AnalyticsParameterItemID (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShipping (Double) (optional)
  • +///
  • @c AnalyticsParameterStartDate (String) (optional)
  • +///
  • @c AnalyticsParameterTax (Double) (optional)
  • +///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventPurchase NS_SWIFT_NAME(AnalyticsEventPurchase) = @"purchase"; + +/// E-Commerce Refund event. This event signifies that a refund was issued. Note: If you supply the +/// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShipping (Double) (optional)
  • +///
  • @c AnalyticsParameterTax (Double) (optional)
  • +///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventRefund NS_SWIFT_NAME(AnalyticsEventRefund) = @"refund"; + +/// E-Commerce Remove from Cart event. This event signifies that an item(s) was removed from a cart. +/// Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply the @c +/// AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventRemoveFromCart NS_SWIFT_NAME(AnalyticsEventRemoveFromCart) = + @"remove_from_cart"; + +/// Screen View event. This event signifies a screen view. Use this when a screen transition occurs. +/// This event can be logged irrespective of whether automatic screen tracking is enabled. Params: +/// +///
    +///
  • @c AnalyticsParameterScreenClass (String) (optional)
  • +///
  • @c AnalyticsParameterScreenName (String) (optional)
  • +///
+static NSString *const kFIREventScreenView NS_SWIFT_NAME(AnalyticsEventScreenView) = @"screen_view"; + +/// Search event. Apps that support search features can use this event to contextualize search +/// operations by supplying the appropriate, corresponding parameters. This event can help you +/// identify the most popular content in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterSearchTerm (String)
  • +///
  • @c AnalyticsParameterStartDate (String) (optional)
  • +///
  • @c AnalyticsParameterEndDate (String) (optional)
  • +///
  • @c AnalyticsParameterNumberOfNights (Int) (optional) for hotel bookings
  • +///
  • @c AnalyticsParameterNumberOfRooms (Int) (optional) for hotel bookings
  • +///
  • @c AnalyticsParameterNumberOfPassengers (Int) (optional) for travel bookings
  • +///
  • @c AnalyticsParameterOrigin (String) (optional)
  • +///
  • @c AnalyticsParameterDestination (String) (optional)
  • +///
  • @c AnalyticsParameterTravelClass (String) (optional) for travel bookings
  • +///
+static NSString *const kFIREventSearch NS_SWIFT_NAME(AnalyticsEventSearch) = @"search"; + +/// Select Content event. This general purpose event signifies that a user has selected some content +/// of a certain type in an app. The content can be any object in your app. This event can help you +/// identify popular content and categories of content in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterContentType (String)
  • +///
  • @c AnalyticsParameterItemID (String)
  • +///
+static NSString *const kFIREventSelectContent NS_SWIFT_NAME(AnalyticsEventSelectContent) = + @"select_content"; + +/// Select Item event. This event signifies that an item was selected by a user from a list. Use the +/// appropriate parameters to contextualize the event. Use this event to discover the most popular +/// items selected. Params: +/// +///
    +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterItemListID (String) (optional)
  • +///
  • @c AnalyticsParameterItemListName (String) (optional)
  • +///
+static NSString *const kFIREventSelectItem NS_SWIFT_NAME(AnalyticsEventSelectItem) = @"select_item"; + +/// Select promotion event. This event signifies that a user has selected a promotion offer. Use the +/// appropriate parameters to contextualize the event, such as the item(s) for which the promotion +/// applies. Params: +/// +///
    +///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterLocationID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • +///
+static NSString *const kFIREventSelectPromotion NS_SWIFT_NAME(AnalyticsEventSelectPromotion) = + @"select_promotion"; + +/// Share event. Apps with social features can log the Share event to identify the most viral +/// content. Params: +/// +///
    +///
  • @c AnalyticsParameterContentType (String)
  • +///
  • @c AnalyticsParameterItemID (String)
  • +///
+static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"share"; + +/// Sign Up event. This event indicates that a user has signed up for an account in your app. The +/// parameter signifies the method by which the user signed up. Use this event to understand the +/// different behaviors between logged in and logged out users. Params: +/// +///
    +///
  • @c AnalyticsParameterMethod (String)
  • +///
+static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up"; + +/// Spend Virtual Currency event. This event tracks the sale of virtual goods in your app and can +/// help you identify which virtual goods are the most popular objects of purchase. Params: +/// +///
    +///
  • @c AnalyticsParameterItemName (String)
  • +///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • +///
  • @c AnalyticsParameterValue (Int or Double)
  • +///
+static NSString *const kFIREventSpendVirtualCurrency + NS_SWIFT_NAME(AnalyticsEventSpendVirtualCurrency) = @"spend_virtual_currency"; + +/// Tutorial Begin event. This event signifies the start of the on-boarding process in your app. Use +/// this in a funnel with @c AnalyticsEventTutorialComplete to understand how many users complete +/// this process and move on to the full app experience. +static NSString *const kFIREventTutorialBegin NS_SWIFT_NAME(AnalyticsEventTutorialBegin) = + @"tutorial_begin"; + +/// Tutorial End event. Use this event to signify the user's completion of your app's on-boarding +/// process. Add this to a funnel with @c AnalyticsEventTutorialBegin to gauge the completion rate +/// of your on-boarding process. +static NSString *const kFIREventTutorialComplete NS_SWIFT_NAME(AnalyticsEventTutorialComplete) = + @"tutorial_complete"; + +/// Unlock Achievement event. Log this event when the user has unlocked an achievement in your +/// game. Since achievements generally represent the breadth of a gaming experience, this event can +/// help you understand how many users are experiencing all that your game has to offer. Params: +/// +///
    +///
  • @c AnalyticsParameterAchievementID (String)
  • +///
+static NSString *const kFIREventUnlockAchievement NS_SWIFT_NAME(AnalyticsEventUnlockAchievement) = + @"unlock_achievement"; + +/// E-commerce View Cart event. This event signifies that a user has viewed their cart. Use this to +/// analyze your purchase funnel. Note: If you supply the @c AnalyticsParameterValue parameter, you +/// must also supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be +/// computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventViewCart NS_SWIFT_NAME(AnalyticsEventViewCart) = @"view_cart"; + +/// View Item event. This event signifies that a user has viewed an item. Use the appropriate +/// parameters to contextualize the event. Use this event to discover the most popular items viewed +/// in your app. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventViewItem NS_SWIFT_NAME(AnalyticsEventViewItem) = @"view_item"; + +/// View Item List event. Log this event when a user sees a list of items or offerings. Params: +/// +///
    +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterItemListID (String) (optional)
  • +///
  • @c AnalyticsParameterItemListName (String) (optional)
  • +///
+static NSString *const kFIREventViewItemList NS_SWIFT_NAME(AnalyticsEventViewItemList) = + @"view_item_list"; + +/// View Promotion event. This event signifies that a promotion was shown to a user. Add this event +/// to a funnel with the @c AnalyticsEventAddToCart and @c AnalyticsEventPurchase to gauge your +/// conversion process. Params: +/// +///
    +///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterLocationID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • +///
+static NSString *const kFIREventViewPromotion NS_SWIFT_NAME(AnalyticsEventViewPromotion) = + @"view_promotion"; + +/// View Search Results event. Log this event when the user has been presented with the results of a +/// search. Params: +/// +///
    +///
  • @c AnalyticsParameterSearchTerm (String)
  • +///
+static NSString *const kFIREventViewSearchResults NS_SWIFT_NAME(AnalyticsEventViewSearchResults) = + @"view_search_results"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h new file mode 100644 index 00000000000..58a5a21df3b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h @@ -0,0 +1,722 @@ +/// @file FIRParameterNames.h +/// +/// Predefined event parameter names. +/// +/// Params supply information that contextualize Events. You can associate up to 25 unique Params +/// with each Event type. Some Params are suggested below for certain common Events, but you are +/// not limited to these. You may supply extra Params for suggested Events or custom Params for +/// Custom events. Param names can be up to 40 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. Param values can +/// be up to 100 characters long for standard Google Analytics properties and up to 500 characters +/// long for Google Analytics 360 properties. The "firebase_", "google_", and "ga_" prefixes are +/// reserved and should not be used. + +#import + +/// Game achievement ID (String). +///
+///     let params = [
+///       AnalyticsParameterAchievementID : "10_matches_won",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAchievementID NS_SWIFT_NAME(AnalyticsParameterAchievementID) = + @"achievement_id"; + +/// The ad format (e.g. Banner, Interstitial, Rewarded, Native, Rewarded Interstitial, Instream). +/// (String). +///
+///     let params = [
+///       AnalyticsParameterAdFormat : "Banner",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdFormat NS_SWIFT_NAME(AnalyticsParameterAdFormat) = + @"ad_format"; + +/// Ad Network Click ID (String). Used for network-specific click IDs which vary in format. +///
+///     let params = [
+///       AnalyticsParameterAdNetworkClickID : "1234567",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdNetworkClickID + NS_SWIFT_NAME(AnalyticsParameterAdNetworkClickID) = @"aclid"; + +/// The ad platform (e.g. MoPub, IronSource) (String). +///
+///     let params = [
+///       AnalyticsParameterAdPlatform : "MoPub",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdPlatform NS_SWIFT_NAME(AnalyticsParameterAdPlatform) = + @"ad_platform"; + +/// The ad source (e.g. AdColony) (String). +///
+///     let params = [
+///       AnalyticsParameterAdSource : "AdColony",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdSource NS_SWIFT_NAME(AnalyticsParameterAdSource) = + @"ad_source"; + +/// The ad unit name (e.g. Banner_03) (String). +///
+///     let params = [
+///       AnalyticsParameterAdUnitName : "Banner_03",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdUnitName NS_SWIFT_NAME(AnalyticsParameterAdUnitName) = + @"ad_unit_name"; + +/// A product affiliation to designate a supplying company or brick and mortar store location +/// (String).
+///     let params = [
+///       AnalyticsParameterAffiliation : "Google Store",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAffiliation NS_SWIFT_NAME(AnalyticsParameterAffiliation) = + @"affiliation"; + +/// Campaign custom parameter (String). Used as a method of capturing custom data in a campaign. +/// Use varies by network. +///
+///     let params = [
+///       AnalyticsParameterCP1 : "custom_data",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCP1 NS_SWIFT_NAME(AnalyticsParameterCP1) = @"cp1"; + +/// The individual campaign name, slogan, promo code, etc. Some networks have pre-defined macro to +/// capture campaign information, otherwise can be populated by developer. Highly Recommended +/// (String). +///
+///     let params = [
+///       AnalyticsParameterCampaign : "winter_promotion",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCampaign NS_SWIFT_NAME(AnalyticsParameterCampaign) = + @"campaign"; + +/// Campaign ID (String). Used for keyword analysis to identify a specific product promotion or +/// strategic campaign. This is a required key for GA4 data import. +///
+///     let params = [
+///       AnalyticsParameterCampaignID : "7877652710",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCampaignID NS_SWIFT_NAME(AnalyticsParameterCampaignID) = + @"campaign_id"; + +/// Character used in game (String). +///
+///     let params = [
+///       AnalyticsParameterCharacter : "beat_boss",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) = + @"character"; + +/// Campaign content (String). +static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content"; + +/// Type of content selected (String). +///
+///     let params = [
+///       AnalyticsParameterContentType : "news article",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterContentType NS_SWIFT_NAME(AnalyticsParameterContentType) = + @"content_type"; + +/// Coupon code used for a purchase (String). +///
+///     let params = [
+///       AnalyticsParameterCoupon : "SUMMER_FUN",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCoupon NS_SWIFT_NAME(AnalyticsParameterCoupon) = @"coupon"; + +/// Creative Format (String). Used to identify the high-level classification of the type of ad +/// served by a specific campaign. +///
+///     let params = [
+///       AnalyticsParameterCreativeFormat : "display",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeFormat NS_SWIFT_NAME(AnalyticsParameterCreativeFormat) = + @"creative_format"; + +/// The name of a creative used in a promotional spot (String). +///
+///     let params = [
+///       AnalyticsParameterCreativeName : "Summer Sale",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeName NS_SWIFT_NAME(AnalyticsParameterCreativeName) = + @"creative_name"; + +/// The name of a creative slot (String). +///
+///     let params = [
+///       AnalyticsParameterCreativeSlot : "summer_banner2",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeSlot NS_SWIFT_NAME(AnalyticsParameterCreativeSlot) = + @"creative_slot"; + +/// Currency of the purchase or items associated with the event, in 3-letter +/// ISO_4217 format (String). +///
+///     let params = [
+///       AnalyticsParameterCurrency : "USD",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCurrency NS_SWIFT_NAME(AnalyticsParameterCurrency) = + @"currency"; + +/// Flight or Travel destination (String). +///
+///     let params = [
+///       AnalyticsParameterDestination : "Mountain View, CA",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterDestination NS_SWIFT_NAME(AnalyticsParameterDestination) = + @"destination"; + +/// Monetary value of discount associated with a purchase (Double). +///
+///     let params = [
+///       AnalyticsParameterDiscount : 2.0,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $2.00 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterDiscount NS_SWIFT_NAME(AnalyticsParameterDiscount) = + @"discount"; + +/// The arrival date, check-out date or rental end date for the item. This should be in +/// YYYY-MM-DD format (String). +///
+///     let params = [
+///       AnalyticsParameterEndDate : "2015-09-14",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterEndDate NS_SWIFT_NAME(AnalyticsParameterEndDate) = @"end_date"; + +/// Indicates that the associated event should either extend the current session or start a new +/// session if no session was active when the event was logged. Specify 1 to extend the current +/// session or to start a new session; any other value will not extend or start a session. +///
+///     let params = [
+///       AnalyticsParameterExtendSession : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterExtendSession NS_SWIFT_NAME(AnalyticsParameterExtendSession) = + @"extend_session"; + +/// Flight number for travel events (String). +///
+///     let params = [
+///       AnalyticsParameterFlightNumber : "ZZ800",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterFlightNumber NS_SWIFT_NAME(AnalyticsParameterFlightNumber) = + @"flight_number"; + +/// Group/clan/guild ID (String). +///
+///     let params = [
+///       AnalyticsParameterGroupID : "g1",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterGroupID NS_SWIFT_NAME(AnalyticsParameterGroupID) = @"group_id"; + +/// The index of the item in a list (Int). +///
+///     let params = [
+///       AnalyticsParameterIndex : 5,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterIndex NS_SWIFT_NAME(AnalyticsParameterIndex) = @"index"; + +/// Item brand (String). +///
+///     let params = [
+///       AnalyticsParameterItemBrand : "Google",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemBrand NS_SWIFT_NAME(AnalyticsParameterItemBrand) = + @"item_brand"; + +/// Item category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory NS_SWIFT_NAME(AnalyticsParameterItemCategory) = + @"item_category"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory2 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory2 NS_SWIFT_NAME(AnalyticsParameterItemCategory2) = + @"item_category2"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory3 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory3 NS_SWIFT_NAME(AnalyticsParameterItemCategory3) = + @"item_category3"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory4 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory4 NS_SWIFT_NAME(AnalyticsParameterItemCategory4) = + @"item_category4"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory5 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory5 NS_SWIFT_NAME(AnalyticsParameterItemCategory5) = + @"item_category5"; + +/// Item ID (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemID : "SKU_12345",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id"; + +/// The ID of the list in which the item was presented to the user (String). +///
+///     let params = [
+///       AnalyticsParameterItemListID : "ABC123",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemListID NS_SWIFT_NAME(AnalyticsParameterItemListID) = + @"item_list_id"; + +/// The name of the list in which the item was presented to the user (String). +///
+///     let params = [
+///       AnalyticsParameterItemListName : "Related products",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemListName NS_SWIFT_NAME(AnalyticsParameterItemListName) = + @"item_list_name"; + +/// Item Name (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemName : "jeggings",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemName NS_SWIFT_NAME(AnalyticsParameterItemName) = + @"item_name"; + +/// Item variant (String). +///
+///     let params = [
+///       AnalyticsParameterItemVariant : "Black",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemVariant NS_SWIFT_NAME(AnalyticsParameterItemVariant) = + @"item_variant"; + +/// The list of items involved in the transaction expressed as `[[String: Any]]`. +///
+///     let params = [
+///       AnalyticsParameterItems : [
+///         [AnalyticsParameterItemName : "jeggings", AnalyticsParameterItemCategory : "pants"],
+///         [AnalyticsParameterItemName : "boots", AnalyticsParameterItemCategory : "shoes"],
+///       ],
+///     ]
+/// 
+static NSString *const kFIRParameterItems NS_SWIFT_NAME(AnalyticsParameterItems) = @"items"; + +/// Level in game (Int). +///
+///     let params = [
+///       AnalyticsParameterLevel : 42,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLevel NS_SWIFT_NAME(AnalyticsParameterLevel) = @"level"; + +/// The name of a level in a game (String). +///
+///     let params = [
+///       AnalyticsParameterLevelName : "room_1",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLevelName NS_SWIFT_NAME(AnalyticsParameterLevelName) = + @"level_name"; + +/// Location (String). The Google Place ID +/// that corresponds to the associated event. Alternatively, you can supply your own custom +/// Location ID. +///
+///     let params = [
+///       AnalyticsParameterLocation : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLocation NS_SWIFT_NAME(AnalyticsParameterLocation) = + @"location"; + +/// The location associated with the event. Preferred to be the Google +/// Place ID that corresponds to the +/// associated item but could be overridden to a custom location ID string.(String). +///
+///     let params = [
+///       AnalyticsParameterLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLocationID NS_SWIFT_NAME(AnalyticsParameterLocationID) = + @"location_id"; + +/// Marketing Tactic (String). Used to identify the targeting criteria applied to a specific +/// campaign. +///
+///     let params = [
+///       AnalyticsParameterMarketingTactic : "Remarketing",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMarketingTactic + NS_SWIFT_NAME(AnalyticsParameterMarketingTactic) = @"marketing_tactic"; + +/// The advertising or marketing medium, for example: cpc, banner, email, push. Highly recommended +/// (String). +///
+///     let params = [
+///       AnalyticsParameterMedium : "email",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMedium NS_SWIFT_NAME(AnalyticsParameterMedium) = @"medium"; + +/// A particular approach used in an operation; for example, "facebook" or "email" in the context +/// of a sign_up or login event. (String). +///
+///     let params = [
+///       AnalyticsParameterMethod : "google",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMethod NS_SWIFT_NAME(AnalyticsParameterMethod) = @"method"; + +/// Number of nights staying at hotel (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfNights : 3,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfNights + NS_SWIFT_NAME(AnalyticsParameterNumberOfNights) = @"number_of_nights"; + +/// Number of passengers traveling (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfPassengers : 11,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfPassengers + NS_SWIFT_NAME(AnalyticsParameterNumberOfPassengers) = @"number_of_passengers"; + +/// Number of rooms for travel events (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfRooms : 2,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfRooms NS_SWIFT_NAME(AnalyticsParameterNumberOfRooms) = + @"number_of_rooms"; + +/// Flight or Travel origin (String). +///
+///     let params = [
+///       AnalyticsParameterOrigin : "Mountain View, CA",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterOrigin NS_SWIFT_NAME(AnalyticsParameterOrigin) = @"origin"; + +/// The chosen method of payment (String). +///
+///     let params = [
+///       AnalyticsParameterPaymentType : "Visa",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPaymentType NS_SWIFT_NAME(AnalyticsParameterPaymentType) = + @"payment_type"; + +/// Purchase price (Double). +///
+///     let params = [
+///       AnalyticsParameterPrice : 1.0,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $1.00 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPrice NS_SWIFT_NAME(AnalyticsParameterPrice) = @"price"; + +/// The ID of a product promotion (String). +///
+///     let params = [
+///       AnalyticsParameterPromotionID : "ABC123",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPromotionID NS_SWIFT_NAME(AnalyticsParameterPromotionID) = + @"promotion_id"; + +/// The name of a product promotion (String). +///
+///     let params = [
+///       AnalyticsParameterPromotionName : "Summer Sale",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPromotionName NS_SWIFT_NAME(AnalyticsParameterPromotionName) = + @"promotion_name"; + +/// Purchase quantity (Int). +///
+///     let params = [
+///       AnalyticsParameterQuantity : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterQuantity NS_SWIFT_NAME(AnalyticsParameterQuantity) = + @"quantity"; + +/// Score in game (Int). +///
+///     let params = [
+///       AnalyticsParameterScore : 4200,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScore NS_SWIFT_NAME(AnalyticsParameterScore) = @"score"; + +/// Current screen class, such as the class name of the UIViewController, logged with screen_view +/// event and added to every event (String). +///
+///     let params = [
+///       AnalyticsParameterScreenClass : "LoginViewController",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScreenClass NS_SWIFT_NAME(AnalyticsParameterScreenClass) = + @"screen_class"; + +/// Current screen name, such as the name of the UIViewController, logged with screen_view event and +/// added to every event (String). +///
+///     let params = [
+///       AnalyticsParameterScreenName : "LoginView",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScreenName NS_SWIFT_NAME(AnalyticsParameterScreenName) = + @"screen_name"; + +/// The search string/keywords used (String). +///
+///     let params = [
+///       AnalyticsParameterSearchTerm : "periodic table",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSearchTerm NS_SWIFT_NAME(AnalyticsParameterSearchTerm) = + @"search_term"; + +/// Shipping cost associated with a transaction (Double). +///
+///     let params = [
+///       AnalyticsParameterShipping : 5.99,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $5.99 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShipping) = + @"shipping"; + +/// The shipping tier (e.g. Ground, Air, Next-day) selected for delivery of the purchased item +/// (String). +///
+///     let params = [
+///       AnalyticsParameterShippingTier : "Ground",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterShippingTier NS_SWIFT_NAME(AnalyticsParameterShippingTier) = + @"shipping_tier"; + +/// The origin of your traffic, such as an Ad network (for example, google) or partner (urban +/// airship). Identify the advertiser, site, publication, etc. that is sending traffic to your +/// property. Highly recommended (String). +///
+///     let params = [
+///       AnalyticsParameterSource : "InMobi",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSource NS_SWIFT_NAME(AnalyticsParameterSource) = @"source"; + +/// Source Platform (String). Used to identify the platform responsible for directing traffic to a +/// given Analytics property (e.g., a buying platform where budgets, targeting criteria, etc. are +/// set, a platform for managing organic traffic data, etc.). +///
+///     let params = [
+///       AnalyticsParameterSourcePlatform : "sa360",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSourcePlatform NS_SWIFT_NAME(AnalyticsParameterSourcePlatform) = + @"source_platform"; + +/// The departure date, check-in date or rental start date for the item. This should be in +/// YYYY-MM-DD format (String). +///
+///     let params = [
+///       AnalyticsParameterStartDate : "2015-09-14",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterStartDate NS_SWIFT_NAME(AnalyticsParameterStartDate) = + @"start_date"; + +/// The result of an operation. Specify 1 to indicate success and 0 to indicate failure (Int). +///
+///     let params = [
+///       AnalyticsParameterSuccess : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSuccess NS_SWIFT_NAME(AnalyticsParameterSuccess) = @"success"; + +/// Tax cost associated with a transaction (Double). +///
+///     let params = [
+///       AnalyticsParameterTax : 2.43,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $2.43 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTax NS_SWIFT_NAME(AnalyticsParameterTax) = @"tax"; + +/// If you're manually tagging keyword campaigns, you should use utm_term to specify the keyword +/// (String). +///
+///     let params = [
+///       AnalyticsParameterTerm : "game",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTerm NS_SWIFT_NAME(AnalyticsParameterTerm) = @"term"; + +/// The unique identifier of a transaction (String). +///
+///     let params = [
+///       AnalyticsParameterTransactionID : "T12345",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTransactionID NS_SWIFT_NAME(AnalyticsParameterTransactionID) = + @"transaction_id"; + +/// Travel class (String). +///
+///     let params = [
+///       AnalyticsParameterTravelClass : "business",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTravelClass NS_SWIFT_NAME(AnalyticsParameterTravelClass) = + @"travel_class"; + +/// A context-specific numeric value which is accumulated automatically for each event type. This is +/// a general purpose parameter that is useful for accumulating a key metric that pertains to an +/// event. Examples include revenue, distance, time and points. Value should be specified as Int or +/// Double. +/// Notes: Values for pre-defined currency-related events (such as @c AnalyticsEventAddToCart) +/// should be supplied using Double and must be accompanied by a @c AnalyticsParameterCurrency +/// parameter. The valid range of accumulated values is +/// [-9,223,372,036,854.77, 9,223,372,036,854.77]. Supplying a non-numeric value, omitting the +/// corresponding @c AnalyticsParameterCurrency parameter, or supplying an invalid +/// currency code for conversion events will cause that +/// conversion to be omitted from reporting. +///
+///     let params = [
+///       AnalyticsParameterValue : 3.99,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $3.99 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterValue NS_SWIFT_NAME(AnalyticsParameterValue) = @"value"; + +/// Name of virtual currency type (String). +///
+///     let params = [
+///       AnalyticsParameterVirtualCurrencyName : "virtual_currency_name",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterVirtualCurrencyName + NS_SWIFT_NAME(AnalyticsParameterVirtualCurrencyName) = @"virtual_currency_name"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h new file mode 100644 index 00000000000..2442d8a7ba7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h @@ -0,0 +1,28 @@ +/// @file FIRUserPropertyNames.h +/// +/// Predefined user property names. +/// +/// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can +/// later analyze different behaviors of various segments of your userbase. You may supply up to 25 +/// unique UserProperties per app, and you can use the name and value of your choosing for each one. +/// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and +/// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to +/// 36 characters long. The "firebase_", "google_", and "ga_" prefixes are reserved and should not +/// be used. + +#import + +/// Indicates whether events logged by Google Analytics can be used to personalize ads for the user. +/// Set to "YES" to enable, or "NO" to disable. Default is enabled. See the +/// documentation for +/// more details and information about related settings. +/// +///
+///     Analytics.setUserProperty("NO", forName: AnalyticsUserPropertyAllowAdPersonalizationSignals)
+/// 
+static NSString *const kFIRUserPropertyAllowAdPersonalizationSignals + NS_SWIFT_NAME(AnalyticsUserPropertyAllowAdPersonalizationSignals) = @"allow_personalized_ads"; + +/// The method used to sign in. For example, "google", "facebook" or "twitter". +static NSString *const kFIRUserPropertySignUpMethod + NS_SWIFT_NAME(AnalyticsUserPropertySignUpMethod) = @"sign_up_method"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h new file mode 100644 index 00000000000..3dbf01a8de9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h @@ -0,0 +1,620 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEANALYTICS_SWIFT_H +#define FIREBASEANALYTICS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseAnalytics",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEANALYTICS_SWIFT_H +#define FIREBASEANALYTICS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseAnalytics",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h new file mode 100644 index 00000000000..ad84fbb8f60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h @@ -0,0 +1,24 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FirebaseAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +FOUNDATION_EXPORT double FirebaseAnalyticsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAnalyticsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h new file mode 100644 index 00000000000..351da20a92a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h @@ -0,0 +1,7 @@ +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist new file mode 100644 index 00000000000..50bd672c24d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 23G93 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAnalytics + CFBundleIdentifier + org.cocoapods.FirebaseAnalytics + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAnalytics + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo new file mode 100644 index 00000000000..d5942264180 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo new file mode 100644 index 00000000000..cef01c7cd0a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.abi.json new file mode 100644 index 00000000000..665fe288dc6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -0,0 +1,288 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "Import", + "name": "SwiftUI", + "printedName": "SwiftUI", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "TypeDecl", + "name": "Analytics", + "printedName": "Analytics", + "children": [ + { + "kind": "Function", + "name": "logTransaction", + "printedName": "logTransaction(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transaction", + "printedName": "StoreKit.Transaction", + "usr": "s:8StoreKit11TransactionV" + } + ], + "declKind": "Func", + "usr": "s:So12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "mangledName": "$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "moduleName": "FirebaseAnalytics", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)FIRAnalytics", + "moduleName": "FirebaseAnalytics", + "isOpen": true, + "objc_name": "FIRAnalytics", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "View", + "printedName": "View", + "children": [ + { + "kind": "Function", + "name": "analyticsScreen", + "printedName": "analyticsScreen(name:class:extraParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModifiedContent", + "printedName": "SwiftUI.ModifiedContent<Ï„_0_0, FirebaseAnalytics.LoggedAnalyticsModifier>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + }, + { + "kind": "TypeNominal", + "name": "LoggedAnalyticsModifier", + "printedName": "FirebaseAnalytics.LoggedAnalyticsModifier", + "usr": "s:17FirebaseAnalytics06LoggedB8ModifierV" + } + ], + "usr": "s:7SwiftUI15ModifiedContentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "hasDefaultArg": true, + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "mangledName": "$s7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "moduleName": "FirebaseAnalytics", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : SwiftUI.View>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:7SwiftUI4ViewP", + "mangledName": "$s7SwiftUI4ViewP", + "moduleName": "SwiftUI", + "genericSig": "<Ï„_0_0.Body : SwiftUI.View>", + "sugared_genericSig": "", + "intro_Macosx": "10.15", + "intro_iOS": "13.0", + "intro_tvOS": "13.0", + "intro_watchOS": "6.0", + "declAttributes": [ + "TypeEraser", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1259, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1297, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2523, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2564, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2607, + "length": 1, + "value": "2" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2651, + "length": 1, + "value": "3" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2683, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "StringLiteral", + "offset": 2654, + "length": 6, + "value": "\"View\"" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "Dictionary", + "offset": 2701, + "length": 3, + "value": "[]" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 00000000000..ba530d4736d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 00000000000..8c3d9e56879 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 00000000000..ba530d4736d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.abi.json new file mode 100644 index 00000000000..665fe288dc6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -0,0 +1,288 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "Import", + "name": "SwiftUI", + "printedName": "SwiftUI", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "TypeDecl", + "name": "Analytics", + "printedName": "Analytics", + "children": [ + { + "kind": "Function", + "name": "logTransaction", + "printedName": "logTransaction(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transaction", + "printedName": "StoreKit.Transaction", + "usr": "s:8StoreKit11TransactionV" + } + ], + "declKind": "Func", + "usr": "s:So12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "mangledName": "$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "moduleName": "FirebaseAnalytics", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)FIRAnalytics", + "moduleName": "FirebaseAnalytics", + "isOpen": true, + "objc_name": "FIRAnalytics", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "View", + "printedName": "View", + "children": [ + { + "kind": "Function", + "name": "analyticsScreen", + "printedName": "analyticsScreen(name:class:extraParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModifiedContent", + "printedName": "SwiftUI.ModifiedContent<Ï„_0_0, FirebaseAnalytics.LoggedAnalyticsModifier>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + }, + { + "kind": "TypeNominal", + "name": "LoggedAnalyticsModifier", + "printedName": "FirebaseAnalytics.LoggedAnalyticsModifier", + "usr": "s:17FirebaseAnalytics06LoggedB8ModifierV" + } + ], + "usr": "s:7SwiftUI15ModifiedContentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "hasDefaultArg": true, + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "mangledName": "$s7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "moduleName": "FirebaseAnalytics", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : SwiftUI.View>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:7SwiftUI4ViewP", + "mangledName": "$s7SwiftUI4ViewP", + "moduleName": "SwiftUI", + "genericSig": "<Ï„_0_0.Body : SwiftUI.View>", + "sugared_genericSig": "", + "intro_Macosx": "10.15", + "intro_iOS": "13.0", + "intro_tvOS": "13.0", + "intro_watchOS": "6.0", + "declAttributes": [ + "TypeEraser", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1259, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1297, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2523, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2564, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2607, + "length": 1, + "value": "2" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2651, + "length": 1, + "value": "3" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2683, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "StringLiteral", + "offset": 2654, + "length": 6, + "value": "\"View\"" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "Dictionary", + "offset": 2701, + "length": 3, + "value": "[]" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 00000000000..2532ee974e1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 00000000000..09db1b8ec0a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 00000000000..2532ee974e1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap new file mode 100644 index 00000000000..fa10817ef61 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap @@ -0,0 +1,16 @@ +framework module FirebaseAnalytics { +umbrella header "FirebaseAnalytics-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "SystemConfiguration" + link framework "UIKit" + link "c++" + link "sqlite3" + link "z" +} +module FirebaseAnalytics.Swift { + header "FirebaseAnalytics-Swift.h" + requires objc +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/FirebaseAnalytics b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/FirebaseAnalytics new file mode 120000 index 00000000000..82502e90472 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/FirebaseAnalytics @@ -0,0 +1 @@ +Versions/Current/FirebaseAnalytics \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/FirebaseAnalytics b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/FirebaseAnalytics new file mode 100644 index 00000000000..9dbc72eeba8 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/FirebaseAnalytics differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+AppDelegate.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+AppDelegate.h new file mode 100644 index 00000000000..cb1e407690f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+AppDelegate.h @@ -0,0 +1,80 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Provides App Delegate handlers to be used in your App Delegate. +/// +/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not +/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle +/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead +/// to delegate manually, you can turn off the App Delegate Proxy by adding +/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and +/// adding the methods in this category to corresponding delegation handlers. +/// +/// To handle Universal Links, you must return `true` in +/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`. +@interface FIRAnalytics (AppDelegate) + +/// Handles events related to a URL session that are waiting to be processed. +/// +/// 1. If SwiftUI lifecycle is adopted, call this method from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation +/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set +/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method +/// from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// @param identifier The identifier of the URL session requiring attention. +/// @param completionHandler The completion handler to call when you finish processing the events. +/// Calling this completion handler lets the system know that your app's user interface is +/// updated and a new snapshot can be taken. ++ (void)handleEventsForBackgroundURLSession:(NSString *)identifier + completionHandler:(nullable void (^)(void))completionHandler; + +/// Handles the event when the app is launched by a URL (custom URL scheme or universal link). +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// this method in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and +/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate. +/// +/// @param url The URL resource to open. This resource can be a network resource or a file. ++ (void)handleOpenURL:(NSURL *)url; + +/// Handles the event when the app receives data associated with user activity that includes a +/// Universal Link. +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// `Analytics.handleOpen(_:)` instead in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when +/// NSUserActivity is available. See the [Apple +/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for +/// more details. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate. +/// +/// @param userActivity The activity object containing the data associated with the task the user +/// was performing. ++ (void)handleUserActivity:(id)userActivity; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+Consent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+Consent.h new file mode 100644 index 00000000000..77583906142 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+Consent.h @@ -0,0 +1,51 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The type of consent to set. Supported consent types are `ConsentType.adStorage`, +/// `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and `ConsentType.adPersonalization`. +/// Omitting a type retains its previous status. +typedef NSString *FIRConsentType NS_TYPED_ENUM NS_SWIFT_NAME(ConsentType); + +/// Enables storage (such as device identifiers) related to advertising. +extern FIRConsentType const FIRConsentTypeAdStorage; + +/// Enables storage (such as app identifiers) related to analytics, e.g. visit duration. +extern FIRConsentType const FIRConsentTypeAnalyticsStorage; + +/// Sets consent for sending user data to Google for advertising purposes. +extern FIRConsentType const FIRConsentTypeAdUserData; + +/// Sets consent for personalized advertising. +extern FIRConsentType const FIRConsentTypeAdPersonalization; + +/// The status value of the consent type. Supported statuses are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. +typedef NSString *FIRConsentStatus NS_TYPED_ENUM NS_SWIFT_NAME(ConsentStatus); + +/// Consent status indicating consent is denied. For an overview of which data is sent when consent +/// is denied, see [SDK behavior with consent +/// mode](https://developers.google.com/tag-platform/security/concepts/consent-mode#tag-behavior). +extern FIRConsentStatus const FIRConsentStatusDenied; + +/// Consent status indicating consent is granted. +extern FIRConsentStatus const FIRConsentStatusGranted; + +/// Sets the applicable end user consent state. +@interface FIRAnalytics (Consent) + +/// Sets the applicable end user consent state (e.g. for device identifiers) for this app on this +/// device. Use the consent settings to specify individual consent type values. Settings are +/// persisted across app sessions. By default consent types are set to `ConsentStatus.granted`. +/// +/// @param consentSettings A Dictionary of consent types. Supported consent type keys are +/// `ConsentType.adStorage`, `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and +/// `ConsentType.adPersonalization`. Valid values are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. ++ (void)setConsent:(NSDictionary *)consentSettings; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+OnDevice.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+OnDevice.h new file mode 100644 index 00000000000..0bfec8883e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics+OnDevice.h @@ -0,0 +1,44 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +API_UNAVAILABLE(macCatalyst, macos, tvos, watchos) +@interface FIRAnalytics (OnDevice) + +/// Initiates on-device conversion measurement given a user email address. Requires dependency +/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param emailAddress User email address. Include a domain name for all email addresses +/// (e.g. gmail.com or hotmail.co.jp). ++ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:)); + +/// Initiates on-device conversion measurement given a phone number in E.164 format. Requires +/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param phoneNumber User phone number. Must be in E.164 format, which means it must be +/// limited to a maximum of 15 digits and must include a plus sign (+) prefix and country code +/// with no dashes, parentheses, or spaces. ++ (void)initiateOnDeviceConversionMeasurementWithPhoneNumber:(NSString *)phoneNumber + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(phoneNumber:)); + +/// Initiates on-device conversion measurement given a sha256-hashed user email address. Requires +/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param hashedEmailAddress User email address as a UTF8-encoded string normalized and hashed +/// according to the instructions at +/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3. ++ (void)initiateOnDeviceConversionMeasurementWithHashedEmailAddress:(NSData *)hashedEmailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedEmailAddress:)); + +/// Initiates on-device conversion measurement given a sha256-hashed phone number in E.164 format. +/// Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a +/// no-op. +/// @param hashedPhoneNumber UTF8-encoded user phone number in E.164 format and then hashed +/// according to the instructions at +/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3. ++ (void)initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:(NSData *)hashedPhoneNumber + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedPhoneNumber:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics.h new file mode 100644 index 00000000000..e58d7dd7e10 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRAnalytics.h @@ -0,0 +1,155 @@ +#import + +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The top level Firebase Analytics singleton that provides methods for logging events and setting +/// user properties. See the developer guides for general +/// information on using Firebase Analytics in your apps. +/// +/// @note The Analytics SDK uses SQLite to persist events and other app-specific data. Calling +/// certain thread-unsafe global SQLite methods like `sqlite3_shutdown()` can result in +/// unexpected crashes at runtime. +NS_SWIFT_NAME(Analytics) +@interface FIRAnalytics : NSObject + +/// Logs an app event. The event can have up to 25 parameters. Events with the same name must have +/// the same parameters. Up to 500 event names are supported. Using predefined events and/or +/// parameters is recommended for optimal reporting. +/// +/// The following event names are reserved and cannot be used: +///
    +///
  • ad_activeview
  • +///
  • ad_click
  • +///
  • ad_exposure
  • +///
  • ad_query
  • +///
  • ad_reward
  • +///
  • adunit_exposure
  • +///
  • app_clear_data
  • +///
  • app_exception
  • +///
  • app_remove
  • +///
  • app_store_refund
  • +///
  • app_store_subscription_cancel
  • +///
  • app_store_subscription_convert
  • +///
  • app_store_subscription_renew
  • +///
  • app_update
  • +///
  • app_upgrade
  • +///
  • dynamic_link_app_open
  • +///
  • dynamic_link_app_update
  • +///
  • dynamic_link_first_open
  • +///
  • error
  • +///
  • firebase_campaign
  • +///
  • first_open
  • +///
  • first_visit
  • +///
  • in_app_purchase
  • +///
  • notification_dismiss
  • +///
  • notification_foreground
  • +///
  • notification_open
  • +///
  • notification_receive
  • +///
  • os_update
  • +///
  • session_start
  • +///
  • session_start_with_rollout
  • +///
  • user_engagement
  • +///
+/// +/// @param name The name of the event. Should contain 1 to 40 alphanumeric characters or +/// underscores. The name must start with an alphabetic character. Some event names are +/// reserved. See FIREventNames.h for the list of reserved event names. The "firebase_", +/// "google_", and "ga_" prefixes are reserved and should not be used. Note that event names are +/// case-sensitive and that logging two events whose names differ only in case will result in +/// two distinct events. To manually log screen view events, use the `screen_view` event name. +/// @param parameters The dictionary of event parameters. Passing `nil` indicates that the event has +/// no parameters. Parameter names can be up to 40 characters long and must start with an +/// alphabetic character and contain only alphanumeric characters and underscores. Only String, +/// Int, and Double parameter types are supported. String parameter values can be up to 100 +/// characters long for standard Google Analytics properties, and up to 500 characters long for +/// Google Analytics 360 properties. The "firebase_", "google_", and "ga_" prefixes are reserved +/// and should not be used for parameter names. ++ (void)logEventWithName:(NSString *)name + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logEvent(_:parameters:)); + +/// Sets a user property to a given value. Up to 25 user property names are supported. Once set, +/// user property values persist throughout the app lifecycle and across sessions. +/// +/// The following user property names are reserved and cannot be used: +///
    +///
  • first_open_time
  • +///
  • last_deep_link_referrer
  • +///
  • user_id
  • +///
+/// +/// @param value The value of the user property. Values can be up to 36 characters long. Setting the +/// value to `nil` removes the user property. +/// @param name The name of the user property to set. Should contain 1 to 24 alphanumeric characters +/// or underscores and must start with an alphabetic character. The "firebase_", "google_", and +/// "ga_" prefixes are reserved and should not be used for user property names. ++ (void)setUserPropertyString:(nullable NSString *)value forName:(NSString *)name + NS_SWIFT_NAME(setUserProperty(_:forName:)); + +/// Sets the user ID property. This feature must be used in accordance with +/// Google's Privacy Policy +/// +/// @param userID The user ID to ascribe to the user of this app on this device, which must be +/// non-empty and no more than 256 characters long. Setting userID to `nil` removes the user ID. ++ (void)setUserID:(nullable NSString *)userID; + +/// Sets whether analytics collection is enabled for this app on this device. This setting is +/// persisted across app sessions. By default it is enabled. +/// +/// @param analyticsCollectionEnabled A flag that enables or disables Analytics collection. ++ (void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled; + +/// Sets the interval of inactivity in seconds that terminates the current session. The default +/// value is 1800 seconds (30 minutes). +/// +/// @param sessionTimeoutInterval The custom time of inactivity in seconds before the current +/// session terminates. ++ (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; + +/// Asynchronously retrieves the identifier of the current app session. +/// +/// The session ID retrieval could fail due to Analytics collection disabled, app session expired, +/// etc. +/// +/// @param completion The completion handler to call when the session ID retrieval is complete. This +/// handler is executed on a system-defined global concurrent queue. +/// This completion handler takes the following parameters: +/// sessionID The identifier of the current app session. The value is undefined if the +/// request failed. +/// error An error object that indicates why the request failed, or `nil` if the request +/// was successful. ++ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion; + +/// Returns the unique ID for this instance of the application or `nil` if +/// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`. +/// +/// @see `FIRAnalytics+Consent.h` ++ (nullable NSString *)appInstanceID; + +/// Clears all analytics data for this instance from the device and resets the app instance ID. ++ (void)resetAnalyticsData; + +/// Adds parameters that will be set on every event logged from the SDK, including automatic ones. +/// The values passed in the parameters dictionary will be added to the dictionary of default event +/// parameters. These parameters persist across app runs. They are of lower precedence than event +/// parameters, so if an event parameter and a parameter set using this API have the same name, the +/// value of the event parameter will be used. The same limitations on event parameters apply to +/// default event parameters. +/// +/// @param parameters Parameters to be added to the dictionary of parameters added to every event. +/// They will be added to the dictionary of default event parameters, replacing any existing +/// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's +/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all +/// parameters. ++ (void)setDefaultEventParameters:(nullable NSDictionary *)parameters; + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIREventNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIREventNames.h new file mode 100644 index 00000000000..1e69a44158b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIREventNames.h @@ -0,0 +1,418 @@ +/// @file FIREventNames.h +/// +/// Predefined event names. +/// +/// An Event is an important occurrence in your app that you want to measure. You can report up to +/// 500 different types of Events per app and you can associate up to 25 unique parameters with each +/// Event type. Some common events are suggested below, but you may also choose to specify custom +/// Event types that are associated with your specific app. Each event type is identified by a +/// unique name. Event names can be up to 40 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. The "firebase_", +/// "google_", and "ga_" prefixes are reserved and should not be used. + +#import + +/// Ad Impression event. This event signifies when a user sees an ad impression. Note: If you supply +/// the @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAdPlatform (String) (optional)
  • +///
  • @c AnalyticsParameterAdFormat (String) (optional)
  • +///
  • @c AnalyticsParameterAdSource (String) (optional)
  • +///
  • @c AnalyticsParameterAdUnitName (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAdImpression NS_SWIFT_NAME(AnalyticsEventAdImpression) = + @"ad_impression"; + +/// Add Payment Info event. This event signifies that a user has submitted their payment +/// information. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterPaymentType (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddPaymentInfo NS_SWIFT_NAME(AnalyticsEventAddPaymentInfo) = + @"add_payment_info"; + +/// Add Shipping Info event. This event signifies that a user has submitted their shipping +/// information. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShippingTier (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddShippingInfo NS_SWIFT_NAME(AnalyticsEventAddShippingInfo) = + @"add_shipping_info"; + +/// E-Commerce Add To Cart event. This event signifies that an item(s) was added to a cart for +/// purchase. Add this event to a funnel with @c AnalyticsEventPurchase to gauge the effectiveness +/// of your checkout process. Note: If you supply the @c AnalyticsParameterValue parameter, you must +/// also supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddToCart NS_SWIFT_NAME(AnalyticsEventAddToCart) = @"add_to_cart"; + +/// E-Commerce Add To Wishlist event. This event signifies that an item was added to a wishlist. Use +/// this event to identify popular gift items. Note: If you supply the @c AnalyticsParameterValue +/// parameter, you must also supply the @c AnalyticsParameterCurrency parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddToWishlist NS_SWIFT_NAME(AnalyticsEventAddToWishlist) = + @"add_to_wishlist"; + +/// App Open event. By logging this event when an App becomes active, developers can understand how +/// often users leave and return during the course of a Session. Although Sessions are automatically +/// reported, this event can provide further clarification around the continuous engagement of +/// app-users. +static NSString *const kFIREventAppOpen NS_SWIFT_NAME(AnalyticsEventAppOpen) = @"app_open"; + +/// E-Commerce Begin Checkout event. This event signifies that a user has begun the process of +/// checking out. Add this event to a funnel with your @c AnalyticsEventPurchase event to gauge the +/// effectiveness of your checkout process. Note: If you supply the @c AnalyticsParameterValue +/// parameter, you must also supply the @c AnalyticsParameterCurrency parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginCheckout) = + @"begin_checkout"; + +/// Campaign Detail event. Log this event to supply the referral details of a re-engagement +/// campaign. Note: you must supply at least one of the required parameters +/// AnalyticsParameterSource, AnalyticsParameterMedium or AnalyticsParameterCampaign. Params: +/// +///
    +///
  • @c AnalyticsParameterSource (String)
  • +///
  • @c AnalyticsParameterMedium (String)
  • +///
  • @c AnalyticsParameterCampaign (String)
  • +///
  • @c AnalyticsParameterTerm (String) (optional)
  • +///
  • @c AnalyticsParameterContent (String) (optional)
  • +///
  • @c AnalyticsParameterAdNetworkClickID (String) (optional)
  • +///
  • @c AnalyticsParameterCP1 (String) (optional)
  • +///
  • @c AnalyticsParameterCampaignID (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeFormat (String) (optional)
  • +///
  • @c AnalyticsParameterMarketingTactic (String) (optional)
  • +///
  • @c AnalyticsParameterSourcePlatform (String) (optional)
  • +///
+static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) = + @"campaign_details"; + +/// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log +/// this along with @c AnalyticsEventSpendVirtualCurrency to better understand your virtual economy. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • +///
  • @c AnalyticsParameterValue (Int or Double)
  • +///
+static NSString *const kFIREventEarnVirtualCurrency + NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency"; + +/// Generate Lead event. Log this event when a lead has been generated in the app to understand the +/// efficacy of your install and re-engagement campaigns. Note: If you supply the +/// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventGenerateLead NS_SWIFT_NAME(AnalyticsEventGenerateLead) = + @"generate_lead"; + +/// Join Group event. Log this event when a user joins a group such as a guild, team or family. Use +/// this event to analyze how popular certain groups or social features are in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterGroupID (String)
  • +///
+static NSString *const kFIREventJoinGroup NS_SWIFT_NAME(AnalyticsEventJoinGroup) = @"join_group"; + +/// Level End event. Log this event when the user finishes a level. Params: +/// +///
    +///
  • @c AnalyticsParameterLevelName (String)
  • +///
  • @c AnalyticsParameterSuccess (String)
  • +///
+static NSString *const kFIREventLevelEnd NS_SWIFT_NAME(AnalyticsEventLevelEnd) = @"level_end"; + +/// Level Start event. Log this event when the user starts a new level. Params: +/// +///
    +///
  • @c AnalyticsParameterLevelName (String)
  • +///
+static NSString *const kFIREventLevelStart NS_SWIFT_NAME(AnalyticsEventLevelStart) = @"level_start"; + +/// Level Up event. This event signifies that a player has leveled up in your gaming app. It can +/// help you gauge the level distribution of your userbase and help you identify certain levels that +/// are difficult to pass. Params: +/// +///
    +///
  • @c AnalyticsParameterLevel (Int)
  • +///
  • @c AnalyticsParameterCharacter (String) (optional)
  • +///
+static NSString *const kFIREventLevelUp NS_SWIFT_NAME(AnalyticsEventLevelUp) = @"level_up"; + +/// Login event. Apps with a login feature can report this event to signify that a user has logged +/// in. +static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"login"; + +/// Post Score event. Log this event when the user posts a score in your gaming app. This event can +/// help you understand how users are actually performing in your game and it can help you correlate +/// high scores with certain audiences or behaviors. Params: +/// +///
    +///
  • @c AnalyticsParameterScore (Int)
  • +///
  • @c AnalyticsParameterLevel (Int) (optional)
  • +///
  • @c AnalyticsParameterCharacter (String) (optional)
  • +///
+static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score"; + +/// E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: +/// This is different from the in-app purchase event, which is reported automatically for App +/// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also +/// supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterEndDate (String) (optional)
  • +///
  • @c AnalyticsParameterItemID (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShipping (Double) (optional)
  • +///
  • @c AnalyticsParameterStartDate (String) (optional)
  • +///
  • @c AnalyticsParameterTax (Double) (optional)
  • +///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventPurchase NS_SWIFT_NAME(AnalyticsEventPurchase) = @"purchase"; + +/// E-Commerce Refund event. This event signifies that a refund was issued. Note: If you supply the +/// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShipping (Double) (optional)
  • +///
  • @c AnalyticsParameterTax (Double) (optional)
  • +///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventRefund NS_SWIFT_NAME(AnalyticsEventRefund) = @"refund"; + +/// E-Commerce Remove from Cart event. This event signifies that an item(s) was removed from a cart. +/// Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply the @c +/// AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventRemoveFromCart NS_SWIFT_NAME(AnalyticsEventRemoveFromCart) = + @"remove_from_cart"; + +/// Screen View event. This event signifies a screen view. Use this when a screen transition occurs. +/// This event can be logged irrespective of whether automatic screen tracking is enabled. Params: +/// +///
    +///
  • @c AnalyticsParameterScreenClass (String) (optional)
  • +///
  • @c AnalyticsParameterScreenName (String) (optional)
  • +///
+static NSString *const kFIREventScreenView NS_SWIFT_NAME(AnalyticsEventScreenView) = @"screen_view"; + +/// Search event. Apps that support search features can use this event to contextualize search +/// operations by supplying the appropriate, corresponding parameters. This event can help you +/// identify the most popular content in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterSearchTerm (String)
  • +///
  • @c AnalyticsParameterStartDate (String) (optional)
  • +///
  • @c AnalyticsParameterEndDate (String) (optional)
  • +///
  • @c AnalyticsParameterNumberOfNights (Int) (optional) for hotel bookings
  • +///
  • @c AnalyticsParameterNumberOfRooms (Int) (optional) for hotel bookings
  • +///
  • @c AnalyticsParameterNumberOfPassengers (Int) (optional) for travel bookings
  • +///
  • @c AnalyticsParameterOrigin (String) (optional)
  • +///
  • @c AnalyticsParameterDestination (String) (optional)
  • +///
  • @c AnalyticsParameterTravelClass (String) (optional) for travel bookings
  • +///
+static NSString *const kFIREventSearch NS_SWIFT_NAME(AnalyticsEventSearch) = @"search"; + +/// Select Content event. This general purpose event signifies that a user has selected some content +/// of a certain type in an app. The content can be any object in your app. This event can help you +/// identify popular content and categories of content in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterContentType (String)
  • +///
  • @c AnalyticsParameterItemID (String)
  • +///
+static NSString *const kFIREventSelectContent NS_SWIFT_NAME(AnalyticsEventSelectContent) = + @"select_content"; + +/// Select Item event. This event signifies that an item was selected by a user from a list. Use the +/// appropriate parameters to contextualize the event. Use this event to discover the most popular +/// items selected. Params: +/// +///
    +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterItemListID (String) (optional)
  • +///
  • @c AnalyticsParameterItemListName (String) (optional)
  • +///
+static NSString *const kFIREventSelectItem NS_SWIFT_NAME(AnalyticsEventSelectItem) = @"select_item"; + +/// Select promotion event. This event signifies that a user has selected a promotion offer. Use the +/// appropriate parameters to contextualize the event, such as the item(s) for which the promotion +/// applies. Params: +/// +///
    +///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterLocationID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • +///
+static NSString *const kFIREventSelectPromotion NS_SWIFT_NAME(AnalyticsEventSelectPromotion) = + @"select_promotion"; + +/// Share event. Apps with social features can log the Share event to identify the most viral +/// content. Params: +/// +///
    +///
  • @c AnalyticsParameterContentType (String)
  • +///
  • @c AnalyticsParameterItemID (String)
  • +///
+static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"share"; + +/// Sign Up event. This event indicates that a user has signed up for an account in your app. The +/// parameter signifies the method by which the user signed up. Use this event to understand the +/// different behaviors between logged in and logged out users. Params: +/// +///
    +///
  • @c AnalyticsParameterMethod (String)
  • +///
+static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up"; + +/// Spend Virtual Currency event. This event tracks the sale of virtual goods in your app and can +/// help you identify which virtual goods are the most popular objects of purchase. Params: +/// +///
    +///
  • @c AnalyticsParameterItemName (String)
  • +///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • +///
  • @c AnalyticsParameterValue (Int or Double)
  • +///
+static NSString *const kFIREventSpendVirtualCurrency + NS_SWIFT_NAME(AnalyticsEventSpendVirtualCurrency) = @"spend_virtual_currency"; + +/// Tutorial Begin event. This event signifies the start of the on-boarding process in your app. Use +/// this in a funnel with @c AnalyticsEventTutorialComplete to understand how many users complete +/// this process and move on to the full app experience. +static NSString *const kFIREventTutorialBegin NS_SWIFT_NAME(AnalyticsEventTutorialBegin) = + @"tutorial_begin"; + +/// Tutorial End event. Use this event to signify the user's completion of your app's on-boarding +/// process. Add this to a funnel with @c AnalyticsEventTutorialBegin to gauge the completion rate +/// of your on-boarding process. +static NSString *const kFIREventTutorialComplete NS_SWIFT_NAME(AnalyticsEventTutorialComplete) = + @"tutorial_complete"; + +/// Unlock Achievement event. Log this event when the user has unlocked an achievement in your +/// game. Since achievements generally represent the breadth of a gaming experience, this event can +/// help you understand how many users are experiencing all that your game has to offer. Params: +/// +///
    +///
  • @c AnalyticsParameterAchievementID (String)
  • +///
+static NSString *const kFIREventUnlockAchievement NS_SWIFT_NAME(AnalyticsEventUnlockAchievement) = + @"unlock_achievement"; + +/// E-commerce View Cart event. This event signifies that a user has viewed their cart. Use this to +/// analyze your purchase funnel. Note: If you supply the @c AnalyticsParameterValue parameter, you +/// must also supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be +/// computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventViewCart NS_SWIFT_NAME(AnalyticsEventViewCart) = @"view_cart"; + +/// View Item event. This event signifies that a user has viewed an item. Use the appropriate +/// parameters to contextualize the event. Use this event to discover the most popular items viewed +/// in your app. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventViewItem NS_SWIFT_NAME(AnalyticsEventViewItem) = @"view_item"; + +/// View Item List event. Log this event when a user sees a list of items or offerings. Params: +/// +///
    +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterItemListID (String) (optional)
  • +///
  • @c AnalyticsParameterItemListName (String) (optional)
  • +///
+static NSString *const kFIREventViewItemList NS_SWIFT_NAME(AnalyticsEventViewItemList) = + @"view_item_list"; + +/// View Promotion event. This event signifies that a promotion was shown to a user. Add this event +/// to a funnel with the @c AnalyticsEventAddToCart and @c AnalyticsEventPurchase to gauge your +/// conversion process. Params: +/// +///
    +///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterLocationID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • +///
+static NSString *const kFIREventViewPromotion NS_SWIFT_NAME(AnalyticsEventViewPromotion) = + @"view_promotion"; + +/// View Search Results event. Log this event when the user has been presented with the results of a +/// search. Params: +/// +///
    +///
  • @c AnalyticsParameterSearchTerm (String)
  • +///
+static NSString *const kFIREventViewSearchResults NS_SWIFT_NAME(AnalyticsEventViewSearchResults) = + @"view_search_results"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRParameterNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRParameterNames.h new file mode 100644 index 00000000000..58a5a21df3b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRParameterNames.h @@ -0,0 +1,722 @@ +/// @file FIRParameterNames.h +/// +/// Predefined event parameter names. +/// +/// Params supply information that contextualize Events. You can associate up to 25 unique Params +/// with each Event type. Some Params are suggested below for certain common Events, but you are +/// not limited to these. You may supply extra Params for suggested Events or custom Params for +/// Custom events. Param names can be up to 40 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. Param values can +/// be up to 100 characters long for standard Google Analytics properties and up to 500 characters +/// long for Google Analytics 360 properties. The "firebase_", "google_", and "ga_" prefixes are +/// reserved and should not be used. + +#import + +/// Game achievement ID (String). +///
+///     let params = [
+///       AnalyticsParameterAchievementID : "10_matches_won",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAchievementID NS_SWIFT_NAME(AnalyticsParameterAchievementID) = + @"achievement_id"; + +/// The ad format (e.g. Banner, Interstitial, Rewarded, Native, Rewarded Interstitial, Instream). +/// (String). +///
+///     let params = [
+///       AnalyticsParameterAdFormat : "Banner",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdFormat NS_SWIFT_NAME(AnalyticsParameterAdFormat) = + @"ad_format"; + +/// Ad Network Click ID (String). Used for network-specific click IDs which vary in format. +///
+///     let params = [
+///       AnalyticsParameterAdNetworkClickID : "1234567",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdNetworkClickID + NS_SWIFT_NAME(AnalyticsParameterAdNetworkClickID) = @"aclid"; + +/// The ad platform (e.g. MoPub, IronSource) (String). +///
+///     let params = [
+///       AnalyticsParameterAdPlatform : "MoPub",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdPlatform NS_SWIFT_NAME(AnalyticsParameterAdPlatform) = + @"ad_platform"; + +/// The ad source (e.g. AdColony) (String). +///
+///     let params = [
+///       AnalyticsParameterAdSource : "AdColony",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdSource NS_SWIFT_NAME(AnalyticsParameterAdSource) = + @"ad_source"; + +/// The ad unit name (e.g. Banner_03) (String). +///
+///     let params = [
+///       AnalyticsParameterAdUnitName : "Banner_03",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdUnitName NS_SWIFT_NAME(AnalyticsParameterAdUnitName) = + @"ad_unit_name"; + +/// A product affiliation to designate a supplying company or brick and mortar store location +/// (String).
+///     let params = [
+///       AnalyticsParameterAffiliation : "Google Store",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAffiliation NS_SWIFT_NAME(AnalyticsParameterAffiliation) = + @"affiliation"; + +/// Campaign custom parameter (String). Used as a method of capturing custom data in a campaign. +/// Use varies by network. +///
+///     let params = [
+///       AnalyticsParameterCP1 : "custom_data",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCP1 NS_SWIFT_NAME(AnalyticsParameterCP1) = @"cp1"; + +/// The individual campaign name, slogan, promo code, etc. Some networks have pre-defined macro to +/// capture campaign information, otherwise can be populated by developer. Highly Recommended +/// (String). +///
+///     let params = [
+///       AnalyticsParameterCampaign : "winter_promotion",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCampaign NS_SWIFT_NAME(AnalyticsParameterCampaign) = + @"campaign"; + +/// Campaign ID (String). Used for keyword analysis to identify a specific product promotion or +/// strategic campaign. This is a required key for GA4 data import. +///
+///     let params = [
+///       AnalyticsParameterCampaignID : "7877652710",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCampaignID NS_SWIFT_NAME(AnalyticsParameterCampaignID) = + @"campaign_id"; + +/// Character used in game (String). +///
+///     let params = [
+///       AnalyticsParameterCharacter : "beat_boss",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) = + @"character"; + +/// Campaign content (String). +static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content"; + +/// Type of content selected (String). +///
+///     let params = [
+///       AnalyticsParameterContentType : "news article",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterContentType NS_SWIFT_NAME(AnalyticsParameterContentType) = + @"content_type"; + +/// Coupon code used for a purchase (String). +///
+///     let params = [
+///       AnalyticsParameterCoupon : "SUMMER_FUN",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCoupon NS_SWIFT_NAME(AnalyticsParameterCoupon) = @"coupon"; + +/// Creative Format (String). Used to identify the high-level classification of the type of ad +/// served by a specific campaign. +///
+///     let params = [
+///       AnalyticsParameterCreativeFormat : "display",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeFormat NS_SWIFT_NAME(AnalyticsParameterCreativeFormat) = + @"creative_format"; + +/// The name of a creative used in a promotional spot (String). +///
+///     let params = [
+///       AnalyticsParameterCreativeName : "Summer Sale",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeName NS_SWIFT_NAME(AnalyticsParameterCreativeName) = + @"creative_name"; + +/// The name of a creative slot (String). +///
+///     let params = [
+///       AnalyticsParameterCreativeSlot : "summer_banner2",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeSlot NS_SWIFT_NAME(AnalyticsParameterCreativeSlot) = + @"creative_slot"; + +/// Currency of the purchase or items associated with the event, in 3-letter +/// ISO_4217 format (String). +///
+///     let params = [
+///       AnalyticsParameterCurrency : "USD",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCurrency NS_SWIFT_NAME(AnalyticsParameterCurrency) = + @"currency"; + +/// Flight or Travel destination (String). +///
+///     let params = [
+///       AnalyticsParameterDestination : "Mountain View, CA",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterDestination NS_SWIFT_NAME(AnalyticsParameterDestination) = + @"destination"; + +/// Monetary value of discount associated with a purchase (Double). +///
+///     let params = [
+///       AnalyticsParameterDiscount : 2.0,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $2.00 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterDiscount NS_SWIFT_NAME(AnalyticsParameterDiscount) = + @"discount"; + +/// The arrival date, check-out date or rental end date for the item. This should be in +/// YYYY-MM-DD format (String). +///
+///     let params = [
+///       AnalyticsParameterEndDate : "2015-09-14",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterEndDate NS_SWIFT_NAME(AnalyticsParameterEndDate) = @"end_date"; + +/// Indicates that the associated event should either extend the current session or start a new +/// session if no session was active when the event was logged. Specify 1 to extend the current +/// session or to start a new session; any other value will not extend or start a session. +///
+///     let params = [
+///       AnalyticsParameterExtendSession : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterExtendSession NS_SWIFT_NAME(AnalyticsParameterExtendSession) = + @"extend_session"; + +/// Flight number for travel events (String). +///
+///     let params = [
+///       AnalyticsParameterFlightNumber : "ZZ800",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterFlightNumber NS_SWIFT_NAME(AnalyticsParameterFlightNumber) = + @"flight_number"; + +/// Group/clan/guild ID (String). +///
+///     let params = [
+///       AnalyticsParameterGroupID : "g1",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterGroupID NS_SWIFT_NAME(AnalyticsParameterGroupID) = @"group_id"; + +/// The index of the item in a list (Int). +///
+///     let params = [
+///       AnalyticsParameterIndex : 5,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterIndex NS_SWIFT_NAME(AnalyticsParameterIndex) = @"index"; + +/// Item brand (String). +///
+///     let params = [
+///       AnalyticsParameterItemBrand : "Google",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemBrand NS_SWIFT_NAME(AnalyticsParameterItemBrand) = + @"item_brand"; + +/// Item category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory NS_SWIFT_NAME(AnalyticsParameterItemCategory) = + @"item_category"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory2 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory2 NS_SWIFT_NAME(AnalyticsParameterItemCategory2) = + @"item_category2"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory3 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory3 NS_SWIFT_NAME(AnalyticsParameterItemCategory3) = + @"item_category3"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory4 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory4 NS_SWIFT_NAME(AnalyticsParameterItemCategory4) = + @"item_category4"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory5 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory5 NS_SWIFT_NAME(AnalyticsParameterItemCategory5) = + @"item_category5"; + +/// Item ID (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemID : "SKU_12345",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id"; + +/// The ID of the list in which the item was presented to the user (String). +///
+///     let params = [
+///       AnalyticsParameterItemListID : "ABC123",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemListID NS_SWIFT_NAME(AnalyticsParameterItemListID) = + @"item_list_id"; + +/// The name of the list in which the item was presented to the user (String). +///
+///     let params = [
+///       AnalyticsParameterItemListName : "Related products",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemListName NS_SWIFT_NAME(AnalyticsParameterItemListName) = + @"item_list_name"; + +/// Item Name (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemName : "jeggings",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemName NS_SWIFT_NAME(AnalyticsParameterItemName) = + @"item_name"; + +/// Item variant (String). +///
+///     let params = [
+///       AnalyticsParameterItemVariant : "Black",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemVariant NS_SWIFT_NAME(AnalyticsParameterItemVariant) = + @"item_variant"; + +/// The list of items involved in the transaction expressed as `[[String: Any]]`. +///
+///     let params = [
+///       AnalyticsParameterItems : [
+///         [AnalyticsParameterItemName : "jeggings", AnalyticsParameterItemCategory : "pants"],
+///         [AnalyticsParameterItemName : "boots", AnalyticsParameterItemCategory : "shoes"],
+///       ],
+///     ]
+/// 
+static NSString *const kFIRParameterItems NS_SWIFT_NAME(AnalyticsParameterItems) = @"items"; + +/// Level in game (Int). +///
+///     let params = [
+///       AnalyticsParameterLevel : 42,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLevel NS_SWIFT_NAME(AnalyticsParameterLevel) = @"level"; + +/// The name of a level in a game (String). +///
+///     let params = [
+///       AnalyticsParameterLevelName : "room_1",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLevelName NS_SWIFT_NAME(AnalyticsParameterLevelName) = + @"level_name"; + +/// Location (String). The Google Place ID +/// that corresponds to the associated event. Alternatively, you can supply your own custom +/// Location ID. +///
+///     let params = [
+///       AnalyticsParameterLocation : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLocation NS_SWIFT_NAME(AnalyticsParameterLocation) = + @"location"; + +/// The location associated with the event. Preferred to be the Google +/// Place ID that corresponds to the +/// associated item but could be overridden to a custom location ID string.(String). +///
+///     let params = [
+///       AnalyticsParameterLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLocationID NS_SWIFT_NAME(AnalyticsParameterLocationID) = + @"location_id"; + +/// Marketing Tactic (String). Used to identify the targeting criteria applied to a specific +/// campaign. +///
+///     let params = [
+///       AnalyticsParameterMarketingTactic : "Remarketing",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMarketingTactic + NS_SWIFT_NAME(AnalyticsParameterMarketingTactic) = @"marketing_tactic"; + +/// The advertising or marketing medium, for example: cpc, banner, email, push. Highly recommended +/// (String). +///
+///     let params = [
+///       AnalyticsParameterMedium : "email",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMedium NS_SWIFT_NAME(AnalyticsParameterMedium) = @"medium"; + +/// A particular approach used in an operation; for example, "facebook" or "email" in the context +/// of a sign_up or login event. (String). +///
+///     let params = [
+///       AnalyticsParameterMethod : "google",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMethod NS_SWIFT_NAME(AnalyticsParameterMethod) = @"method"; + +/// Number of nights staying at hotel (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfNights : 3,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfNights + NS_SWIFT_NAME(AnalyticsParameterNumberOfNights) = @"number_of_nights"; + +/// Number of passengers traveling (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfPassengers : 11,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfPassengers + NS_SWIFT_NAME(AnalyticsParameterNumberOfPassengers) = @"number_of_passengers"; + +/// Number of rooms for travel events (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfRooms : 2,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfRooms NS_SWIFT_NAME(AnalyticsParameterNumberOfRooms) = + @"number_of_rooms"; + +/// Flight or Travel origin (String). +///
+///     let params = [
+///       AnalyticsParameterOrigin : "Mountain View, CA",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterOrigin NS_SWIFT_NAME(AnalyticsParameterOrigin) = @"origin"; + +/// The chosen method of payment (String). +///
+///     let params = [
+///       AnalyticsParameterPaymentType : "Visa",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPaymentType NS_SWIFT_NAME(AnalyticsParameterPaymentType) = + @"payment_type"; + +/// Purchase price (Double). +///
+///     let params = [
+///       AnalyticsParameterPrice : 1.0,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $1.00 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPrice NS_SWIFT_NAME(AnalyticsParameterPrice) = @"price"; + +/// The ID of a product promotion (String). +///
+///     let params = [
+///       AnalyticsParameterPromotionID : "ABC123",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPromotionID NS_SWIFT_NAME(AnalyticsParameterPromotionID) = + @"promotion_id"; + +/// The name of a product promotion (String). +///
+///     let params = [
+///       AnalyticsParameterPromotionName : "Summer Sale",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPromotionName NS_SWIFT_NAME(AnalyticsParameterPromotionName) = + @"promotion_name"; + +/// Purchase quantity (Int). +///
+///     let params = [
+///       AnalyticsParameterQuantity : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterQuantity NS_SWIFT_NAME(AnalyticsParameterQuantity) = + @"quantity"; + +/// Score in game (Int). +///
+///     let params = [
+///       AnalyticsParameterScore : 4200,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScore NS_SWIFT_NAME(AnalyticsParameterScore) = @"score"; + +/// Current screen class, such as the class name of the UIViewController, logged with screen_view +/// event and added to every event (String). +///
+///     let params = [
+///       AnalyticsParameterScreenClass : "LoginViewController",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScreenClass NS_SWIFT_NAME(AnalyticsParameterScreenClass) = + @"screen_class"; + +/// Current screen name, such as the name of the UIViewController, logged with screen_view event and +/// added to every event (String). +///
+///     let params = [
+///       AnalyticsParameterScreenName : "LoginView",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScreenName NS_SWIFT_NAME(AnalyticsParameterScreenName) = + @"screen_name"; + +/// The search string/keywords used (String). +///
+///     let params = [
+///       AnalyticsParameterSearchTerm : "periodic table",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSearchTerm NS_SWIFT_NAME(AnalyticsParameterSearchTerm) = + @"search_term"; + +/// Shipping cost associated with a transaction (Double). +///
+///     let params = [
+///       AnalyticsParameterShipping : 5.99,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $5.99 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShipping) = + @"shipping"; + +/// The shipping tier (e.g. Ground, Air, Next-day) selected for delivery of the purchased item +/// (String). +///
+///     let params = [
+///       AnalyticsParameterShippingTier : "Ground",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterShippingTier NS_SWIFT_NAME(AnalyticsParameterShippingTier) = + @"shipping_tier"; + +/// The origin of your traffic, such as an Ad network (for example, google) or partner (urban +/// airship). Identify the advertiser, site, publication, etc. that is sending traffic to your +/// property. Highly recommended (String). +///
+///     let params = [
+///       AnalyticsParameterSource : "InMobi",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSource NS_SWIFT_NAME(AnalyticsParameterSource) = @"source"; + +/// Source Platform (String). Used to identify the platform responsible for directing traffic to a +/// given Analytics property (e.g., a buying platform where budgets, targeting criteria, etc. are +/// set, a platform for managing organic traffic data, etc.). +///
+///     let params = [
+///       AnalyticsParameterSourcePlatform : "sa360",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSourcePlatform NS_SWIFT_NAME(AnalyticsParameterSourcePlatform) = + @"source_platform"; + +/// The departure date, check-in date or rental start date for the item. This should be in +/// YYYY-MM-DD format (String). +///
+///     let params = [
+///       AnalyticsParameterStartDate : "2015-09-14",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterStartDate NS_SWIFT_NAME(AnalyticsParameterStartDate) = + @"start_date"; + +/// The result of an operation. Specify 1 to indicate success and 0 to indicate failure (Int). +///
+///     let params = [
+///       AnalyticsParameterSuccess : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSuccess NS_SWIFT_NAME(AnalyticsParameterSuccess) = @"success"; + +/// Tax cost associated with a transaction (Double). +///
+///     let params = [
+///       AnalyticsParameterTax : 2.43,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $2.43 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTax NS_SWIFT_NAME(AnalyticsParameterTax) = @"tax"; + +/// If you're manually tagging keyword campaigns, you should use utm_term to specify the keyword +/// (String). +///
+///     let params = [
+///       AnalyticsParameterTerm : "game",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTerm NS_SWIFT_NAME(AnalyticsParameterTerm) = @"term"; + +/// The unique identifier of a transaction (String). +///
+///     let params = [
+///       AnalyticsParameterTransactionID : "T12345",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTransactionID NS_SWIFT_NAME(AnalyticsParameterTransactionID) = + @"transaction_id"; + +/// Travel class (String). +///
+///     let params = [
+///       AnalyticsParameterTravelClass : "business",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTravelClass NS_SWIFT_NAME(AnalyticsParameterTravelClass) = + @"travel_class"; + +/// A context-specific numeric value which is accumulated automatically for each event type. This is +/// a general purpose parameter that is useful for accumulating a key metric that pertains to an +/// event. Examples include revenue, distance, time and points. Value should be specified as Int or +/// Double. +/// Notes: Values for pre-defined currency-related events (such as @c AnalyticsEventAddToCart) +/// should be supplied using Double and must be accompanied by a @c AnalyticsParameterCurrency +/// parameter. The valid range of accumulated values is +/// [-9,223,372,036,854.77, 9,223,372,036,854.77]. Supplying a non-numeric value, omitting the +/// corresponding @c AnalyticsParameterCurrency parameter, or supplying an invalid +/// currency code for conversion events will cause that +/// conversion to be omitted from reporting. +///
+///     let params = [
+///       AnalyticsParameterValue : 3.99,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $3.99 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterValue NS_SWIFT_NAME(AnalyticsParameterValue) = @"value"; + +/// Name of virtual currency type (String). +///
+///     let params = [
+///       AnalyticsParameterVirtualCurrencyName : "virtual_currency_name",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterVirtualCurrencyName + NS_SWIFT_NAME(AnalyticsParameterVirtualCurrencyName) = @"virtual_currency_name"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRUserPropertyNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRUserPropertyNames.h new file mode 100644 index 00000000000..2442d8a7ba7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FIRUserPropertyNames.h @@ -0,0 +1,28 @@ +/// @file FIRUserPropertyNames.h +/// +/// Predefined user property names. +/// +/// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can +/// later analyze different behaviors of various segments of your userbase. You may supply up to 25 +/// unique UserProperties per app, and you can use the name and value of your choosing for each one. +/// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and +/// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to +/// 36 characters long. The "firebase_", "google_", and "ga_" prefixes are reserved and should not +/// be used. + +#import + +/// Indicates whether events logged by Google Analytics can be used to personalize ads for the user. +/// Set to "YES" to enable, or "NO" to disable. Default is enabled. See the +/// documentation for +/// more details and information about related settings. +/// +///
+///     Analytics.setUserProperty("NO", forName: AnalyticsUserPropertyAllowAdPersonalizationSignals)
+/// 
+static NSString *const kFIRUserPropertyAllowAdPersonalizationSignals + NS_SWIFT_NAME(AnalyticsUserPropertyAllowAdPersonalizationSignals) = @"allow_personalized_ads"; + +/// The method used to sign in. For example, "google", "facebook" or "twitter". +static NSString *const kFIRUserPropertySignUpMethod + NS_SWIFT_NAME(AnalyticsUserPropertySignUpMethod) = @"sign_up_method"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-Swift.h new file mode 100644 index 00000000000..3dbf01a8de9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-Swift.h @@ -0,0 +1,620 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEANALYTICS_SWIFT_H +#define FIREBASEANALYTICS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseAnalytics",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEANALYTICS_SWIFT_H +#define FIREBASEANALYTICS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseAnalytics",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-umbrella.h new file mode 100644 index 00000000000..58342c67ac7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics-umbrella.h @@ -0,0 +1,24 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FirebaseAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +FOUNDATION_EXPORT double FirebaseAnalyticsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAnalyticsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics.h new file mode 100644 index 00000000000..351da20a92a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Headers/FirebaseAnalytics.h @@ -0,0 +1,7 @@ +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo new file mode 100644 index 00000000000..45a174dff87 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo new file mode 100644 index 00000000000..b30d50bab20 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.abi.json new file mode 100644 index 00000000000..665fe288dc6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.abi.json @@ -0,0 +1,288 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "Import", + "name": "SwiftUI", + "printedName": "SwiftUI", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "TypeDecl", + "name": "Analytics", + "printedName": "Analytics", + "children": [ + { + "kind": "Function", + "name": "logTransaction", + "printedName": "logTransaction(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transaction", + "printedName": "StoreKit.Transaction", + "usr": "s:8StoreKit11TransactionV" + } + ], + "declKind": "Func", + "usr": "s:So12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "mangledName": "$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "moduleName": "FirebaseAnalytics", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)FIRAnalytics", + "moduleName": "FirebaseAnalytics", + "isOpen": true, + "objc_name": "FIRAnalytics", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "View", + "printedName": "View", + "children": [ + { + "kind": "Function", + "name": "analyticsScreen", + "printedName": "analyticsScreen(name:class:extraParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModifiedContent", + "printedName": "SwiftUI.ModifiedContent<Ï„_0_0, FirebaseAnalytics.LoggedAnalyticsModifier>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + }, + { + "kind": "TypeNominal", + "name": "LoggedAnalyticsModifier", + "printedName": "FirebaseAnalytics.LoggedAnalyticsModifier", + "usr": "s:17FirebaseAnalytics06LoggedB8ModifierV" + } + ], + "usr": "s:7SwiftUI15ModifiedContentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "hasDefaultArg": true, + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "mangledName": "$s7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "moduleName": "FirebaseAnalytics", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : SwiftUI.View>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:7SwiftUI4ViewP", + "mangledName": "$s7SwiftUI4ViewP", + "moduleName": "SwiftUI", + "genericSig": "<Ï„_0_0.Body : SwiftUI.View>", + "sugared_genericSig": "", + "intro_Macosx": "10.15", + "intro_iOS": "13.0", + "intro_tvOS": "13.0", + "intro_watchOS": "6.0", + "declAttributes": [ + "TypeEraser", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1259, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1297, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2523, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2564, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2607, + "length": 1, + "value": "2" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2651, + "length": 1, + "value": "3" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2683, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "StringLiteral", + "offset": 2654, + "length": 6, + "value": "\"View\"" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "Dictionary", + "offset": 2701, + "length": 3, + "value": "[]" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.private.swiftinterface new file mode 100644 index 00000000000..6cc58c4ce7f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.private.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-macos10.15 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.swiftdoc new file mode 100644 index 00000000000..3846b1fc727 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.swiftinterface new file mode 100644 index 00000000000..6cc58c4ce7f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-macos.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-macos10.15 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.abi.json new file mode 100644 index 00000000000..665fe288dc6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.abi.json @@ -0,0 +1,288 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "Import", + "name": "SwiftUI", + "printedName": "SwiftUI", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "TypeDecl", + "name": "Analytics", + "printedName": "Analytics", + "children": [ + { + "kind": "Function", + "name": "logTransaction", + "printedName": "logTransaction(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transaction", + "printedName": "StoreKit.Transaction", + "usr": "s:8StoreKit11TransactionV" + } + ], + "declKind": "Func", + "usr": "s:So12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "mangledName": "$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "moduleName": "FirebaseAnalytics", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)FIRAnalytics", + "moduleName": "FirebaseAnalytics", + "isOpen": true, + "objc_name": "FIRAnalytics", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "View", + "printedName": "View", + "children": [ + { + "kind": "Function", + "name": "analyticsScreen", + "printedName": "analyticsScreen(name:class:extraParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModifiedContent", + "printedName": "SwiftUI.ModifiedContent<Ï„_0_0, FirebaseAnalytics.LoggedAnalyticsModifier>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + }, + { + "kind": "TypeNominal", + "name": "LoggedAnalyticsModifier", + "printedName": "FirebaseAnalytics.LoggedAnalyticsModifier", + "usr": "s:17FirebaseAnalytics06LoggedB8ModifierV" + } + ], + "usr": "s:7SwiftUI15ModifiedContentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "hasDefaultArg": true, + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "mangledName": "$s7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "moduleName": "FirebaseAnalytics", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : SwiftUI.View>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:7SwiftUI4ViewP", + "mangledName": "$s7SwiftUI4ViewP", + "moduleName": "SwiftUI", + "genericSig": "<Ï„_0_0.Body : SwiftUI.View>", + "sugared_genericSig": "", + "intro_Macosx": "10.15", + "intro_iOS": "13.0", + "intro_tvOS": "13.0", + "intro_watchOS": "6.0", + "declAttributes": [ + "TypeEraser", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1259, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1297, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2523, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2564, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2607, + "length": 1, + "value": "2" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2651, + "length": 1, + "value": "3" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2683, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "StringLiteral", + "offset": 2654, + "length": 6, + "value": "\"View\"" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "Dictionary", + "offset": 2701, + "length": 3, + "value": "[]" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.private.swiftinterface new file mode 100644 index 00000000000..ed5a9f3666f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.private.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-macos10.15 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.swiftdoc new file mode 100644 index 00000000000..88b706dd48d Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.swiftinterface new file mode 100644 index 00000000000..ed5a9f3666f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-macos.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-macos10.15 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..927d5c075f8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,16 @@ +framework module FirebaseAnalytics { +umbrella header "FirebaseAnalytics-umbrella.h" +export * +module * { export * } + link framework "AppKit" + link framework "Foundation" + link framework "Security" + link framework "SystemConfiguration" + link "c++" + link "sqlite3" + link "z" +} +module FirebaseAnalytics.Swift { + header "FirebaseAnalytics-Swift.h" + requires objc +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..c4a18041fcb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 23G93 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAnalytics + CFBundleIdentifier + org.cocoapods.FirebaseAnalytics + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAnalytics + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/FirebaseAnalytics b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/FirebaseAnalytics new file mode 100644 index 00000000000..71311257ca3 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/FirebaseAnalytics differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h new file mode 100644 index 00000000000..cb1e407690f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h @@ -0,0 +1,80 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Provides App Delegate handlers to be used in your App Delegate. +/// +/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not +/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle +/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead +/// to delegate manually, you can turn off the App Delegate Proxy by adding +/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and +/// adding the methods in this category to corresponding delegation handlers. +/// +/// To handle Universal Links, you must return `true` in +/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`. +@interface FIRAnalytics (AppDelegate) + +/// Handles events related to a URL session that are waiting to be processed. +/// +/// 1. If SwiftUI lifecycle is adopted, call this method from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation +/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set +/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method +/// from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// @param identifier The identifier of the URL session requiring attention. +/// @param completionHandler The completion handler to call when you finish processing the events. +/// Calling this completion handler lets the system know that your app's user interface is +/// updated and a new snapshot can be taken. ++ (void)handleEventsForBackgroundURLSession:(NSString *)identifier + completionHandler:(nullable void (^)(void))completionHandler; + +/// Handles the event when the app is launched by a URL (custom URL scheme or universal link). +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// this method in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and +/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate. +/// +/// @param url The URL resource to open. This resource can be a network resource or a file. ++ (void)handleOpenURL:(NSURL *)url; + +/// Handles the event when the app receives data associated with user activity that includes a +/// Universal Link. +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// `Analytics.handleOpen(_:)` instead in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when +/// NSUserActivity is available. See the [Apple +/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for +/// more details. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate. +/// +/// @param userActivity The activity object containing the data associated with the task the user +/// was performing. ++ (void)handleUserActivity:(id)userActivity; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h new file mode 100644 index 00000000000..77583906142 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h @@ -0,0 +1,51 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The type of consent to set. Supported consent types are `ConsentType.adStorage`, +/// `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and `ConsentType.adPersonalization`. +/// Omitting a type retains its previous status. +typedef NSString *FIRConsentType NS_TYPED_ENUM NS_SWIFT_NAME(ConsentType); + +/// Enables storage (such as device identifiers) related to advertising. +extern FIRConsentType const FIRConsentTypeAdStorage; + +/// Enables storage (such as app identifiers) related to analytics, e.g. visit duration. +extern FIRConsentType const FIRConsentTypeAnalyticsStorage; + +/// Sets consent for sending user data to Google for advertising purposes. +extern FIRConsentType const FIRConsentTypeAdUserData; + +/// Sets consent for personalized advertising. +extern FIRConsentType const FIRConsentTypeAdPersonalization; + +/// The status value of the consent type. Supported statuses are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. +typedef NSString *FIRConsentStatus NS_TYPED_ENUM NS_SWIFT_NAME(ConsentStatus); + +/// Consent status indicating consent is denied. For an overview of which data is sent when consent +/// is denied, see [SDK behavior with consent +/// mode](https://developers.google.com/tag-platform/security/concepts/consent-mode#tag-behavior). +extern FIRConsentStatus const FIRConsentStatusDenied; + +/// Consent status indicating consent is granted. +extern FIRConsentStatus const FIRConsentStatusGranted; + +/// Sets the applicable end user consent state. +@interface FIRAnalytics (Consent) + +/// Sets the applicable end user consent state (e.g. for device identifiers) for this app on this +/// device. Use the consent settings to specify individual consent type values. Settings are +/// persisted across app sessions. By default consent types are set to `ConsentStatus.granted`. +/// +/// @param consentSettings A Dictionary of consent types. Supported consent type keys are +/// `ConsentType.adStorage`, `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and +/// `ConsentType.adPersonalization`. Valid values are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. ++ (void)setConsent:(NSDictionary *)consentSettings; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h new file mode 100644 index 00000000000..0bfec8883e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h @@ -0,0 +1,44 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +API_UNAVAILABLE(macCatalyst, macos, tvos, watchos) +@interface FIRAnalytics (OnDevice) + +/// Initiates on-device conversion measurement given a user email address. Requires dependency +/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param emailAddress User email address. Include a domain name for all email addresses +/// (e.g. gmail.com or hotmail.co.jp). ++ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:)); + +/// Initiates on-device conversion measurement given a phone number in E.164 format. Requires +/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param phoneNumber User phone number. Must be in E.164 format, which means it must be +/// limited to a maximum of 15 digits and must include a plus sign (+) prefix and country code +/// with no dashes, parentheses, or spaces. ++ (void)initiateOnDeviceConversionMeasurementWithPhoneNumber:(NSString *)phoneNumber + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(phoneNumber:)); + +/// Initiates on-device conversion measurement given a sha256-hashed user email address. Requires +/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param hashedEmailAddress User email address as a UTF8-encoded string normalized and hashed +/// according to the instructions at +/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3. ++ (void)initiateOnDeviceConversionMeasurementWithHashedEmailAddress:(NSData *)hashedEmailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedEmailAddress:)); + +/// Initiates on-device conversion measurement given a sha256-hashed phone number in E.164 format. +/// Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a +/// no-op. +/// @param hashedPhoneNumber UTF8-encoded user phone number in E.164 format and then hashed +/// according to the instructions at +/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3. ++ (void)initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:(NSData *)hashedPhoneNumber + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedPhoneNumber:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h new file mode 100644 index 00000000000..e58d7dd7e10 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h @@ -0,0 +1,155 @@ +#import + +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The top level Firebase Analytics singleton that provides methods for logging events and setting +/// user properties. See the developer guides for general +/// information on using Firebase Analytics in your apps. +/// +/// @note The Analytics SDK uses SQLite to persist events and other app-specific data. Calling +/// certain thread-unsafe global SQLite methods like `sqlite3_shutdown()` can result in +/// unexpected crashes at runtime. +NS_SWIFT_NAME(Analytics) +@interface FIRAnalytics : NSObject + +/// Logs an app event. The event can have up to 25 parameters. Events with the same name must have +/// the same parameters. Up to 500 event names are supported. Using predefined events and/or +/// parameters is recommended for optimal reporting. +/// +/// The following event names are reserved and cannot be used: +///
    +///
  • ad_activeview
  • +///
  • ad_click
  • +///
  • ad_exposure
  • +///
  • ad_query
  • +///
  • ad_reward
  • +///
  • adunit_exposure
  • +///
  • app_clear_data
  • +///
  • app_exception
  • +///
  • app_remove
  • +///
  • app_store_refund
  • +///
  • app_store_subscription_cancel
  • +///
  • app_store_subscription_convert
  • +///
  • app_store_subscription_renew
  • +///
  • app_update
  • +///
  • app_upgrade
  • +///
  • dynamic_link_app_open
  • +///
  • dynamic_link_app_update
  • +///
  • dynamic_link_first_open
  • +///
  • error
  • +///
  • firebase_campaign
  • +///
  • first_open
  • +///
  • first_visit
  • +///
  • in_app_purchase
  • +///
  • notification_dismiss
  • +///
  • notification_foreground
  • +///
  • notification_open
  • +///
  • notification_receive
  • +///
  • os_update
  • +///
  • session_start
  • +///
  • session_start_with_rollout
  • +///
  • user_engagement
  • +///
+/// +/// @param name The name of the event. Should contain 1 to 40 alphanumeric characters or +/// underscores. The name must start with an alphabetic character. Some event names are +/// reserved. See FIREventNames.h for the list of reserved event names. The "firebase_", +/// "google_", and "ga_" prefixes are reserved and should not be used. Note that event names are +/// case-sensitive and that logging two events whose names differ only in case will result in +/// two distinct events. To manually log screen view events, use the `screen_view` event name. +/// @param parameters The dictionary of event parameters. Passing `nil` indicates that the event has +/// no parameters. Parameter names can be up to 40 characters long and must start with an +/// alphabetic character and contain only alphanumeric characters and underscores. Only String, +/// Int, and Double parameter types are supported. String parameter values can be up to 100 +/// characters long for standard Google Analytics properties, and up to 500 characters long for +/// Google Analytics 360 properties. The "firebase_", "google_", and "ga_" prefixes are reserved +/// and should not be used for parameter names. ++ (void)logEventWithName:(NSString *)name + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logEvent(_:parameters:)); + +/// Sets a user property to a given value. Up to 25 user property names are supported. Once set, +/// user property values persist throughout the app lifecycle and across sessions. +/// +/// The following user property names are reserved and cannot be used: +///
    +///
  • first_open_time
  • +///
  • last_deep_link_referrer
  • +///
  • user_id
  • +///
+/// +/// @param value The value of the user property. Values can be up to 36 characters long. Setting the +/// value to `nil` removes the user property. +/// @param name The name of the user property to set. Should contain 1 to 24 alphanumeric characters +/// or underscores and must start with an alphabetic character. The "firebase_", "google_", and +/// "ga_" prefixes are reserved and should not be used for user property names. ++ (void)setUserPropertyString:(nullable NSString *)value forName:(NSString *)name + NS_SWIFT_NAME(setUserProperty(_:forName:)); + +/// Sets the user ID property. This feature must be used in accordance with +/// Google's Privacy Policy +/// +/// @param userID The user ID to ascribe to the user of this app on this device, which must be +/// non-empty and no more than 256 characters long. Setting userID to `nil` removes the user ID. ++ (void)setUserID:(nullable NSString *)userID; + +/// Sets whether analytics collection is enabled for this app on this device. This setting is +/// persisted across app sessions. By default it is enabled. +/// +/// @param analyticsCollectionEnabled A flag that enables or disables Analytics collection. ++ (void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled; + +/// Sets the interval of inactivity in seconds that terminates the current session. The default +/// value is 1800 seconds (30 minutes). +/// +/// @param sessionTimeoutInterval The custom time of inactivity in seconds before the current +/// session terminates. ++ (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; + +/// Asynchronously retrieves the identifier of the current app session. +/// +/// The session ID retrieval could fail due to Analytics collection disabled, app session expired, +/// etc. +/// +/// @param completion The completion handler to call when the session ID retrieval is complete. This +/// handler is executed on a system-defined global concurrent queue. +/// This completion handler takes the following parameters: +/// sessionID The identifier of the current app session. The value is undefined if the +/// request failed. +/// error An error object that indicates why the request failed, or `nil` if the request +/// was successful. ++ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion; + +/// Returns the unique ID for this instance of the application or `nil` if +/// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`. +/// +/// @see `FIRAnalytics+Consent.h` ++ (nullable NSString *)appInstanceID; + +/// Clears all analytics data for this instance from the device and resets the app instance ID. ++ (void)resetAnalyticsData; + +/// Adds parameters that will be set on every event logged from the SDK, including automatic ones. +/// The values passed in the parameters dictionary will be added to the dictionary of default event +/// parameters. These parameters persist across app runs. They are of lower precedence than event +/// parameters, so if an event parameter and a parameter set using this API have the same name, the +/// value of the event parameter will be used. The same limitations on event parameters apply to +/// default event parameters. +/// +/// @param parameters Parameters to be added to the dictionary of parameters added to every event. +/// They will be added to the dictionary of default event parameters, replacing any existing +/// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's +/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all +/// parameters. ++ (void)setDefaultEventParameters:(nullable NSDictionary *)parameters; + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h new file mode 100644 index 00000000000..1e69a44158b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h @@ -0,0 +1,418 @@ +/// @file FIREventNames.h +/// +/// Predefined event names. +/// +/// An Event is an important occurrence in your app that you want to measure. You can report up to +/// 500 different types of Events per app and you can associate up to 25 unique parameters with each +/// Event type. Some common events are suggested below, but you may also choose to specify custom +/// Event types that are associated with your specific app. Each event type is identified by a +/// unique name. Event names can be up to 40 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. The "firebase_", +/// "google_", and "ga_" prefixes are reserved and should not be used. + +#import + +/// Ad Impression event. This event signifies when a user sees an ad impression. Note: If you supply +/// the @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAdPlatform (String) (optional)
  • +///
  • @c AnalyticsParameterAdFormat (String) (optional)
  • +///
  • @c AnalyticsParameterAdSource (String) (optional)
  • +///
  • @c AnalyticsParameterAdUnitName (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAdImpression NS_SWIFT_NAME(AnalyticsEventAdImpression) = + @"ad_impression"; + +/// Add Payment Info event. This event signifies that a user has submitted their payment +/// information. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterPaymentType (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddPaymentInfo NS_SWIFT_NAME(AnalyticsEventAddPaymentInfo) = + @"add_payment_info"; + +/// Add Shipping Info event. This event signifies that a user has submitted their shipping +/// information. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShippingTier (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddShippingInfo NS_SWIFT_NAME(AnalyticsEventAddShippingInfo) = + @"add_shipping_info"; + +/// E-Commerce Add To Cart event. This event signifies that an item(s) was added to a cart for +/// purchase. Add this event to a funnel with @c AnalyticsEventPurchase to gauge the effectiveness +/// of your checkout process. Note: If you supply the @c AnalyticsParameterValue parameter, you must +/// also supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddToCart NS_SWIFT_NAME(AnalyticsEventAddToCart) = @"add_to_cart"; + +/// E-Commerce Add To Wishlist event. This event signifies that an item was added to a wishlist. Use +/// this event to identify popular gift items. Note: If you supply the @c AnalyticsParameterValue +/// parameter, you must also supply the @c AnalyticsParameterCurrency parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddToWishlist NS_SWIFT_NAME(AnalyticsEventAddToWishlist) = + @"add_to_wishlist"; + +/// App Open event. By logging this event when an App becomes active, developers can understand how +/// often users leave and return during the course of a Session. Although Sessions are automatically +/// reported, this event can provide further clarification around the continuous engagement of +/// app-users. +static NSString *const kFIREventAppOpen NS_SWIFT_NAME(AnalyticsEventAppOpen) = @"app_open"; + +/// E-Commerce Begin Checkout event. This event signifies that a user has begun the process of +/// checking out. Add this event to a funnel with your @c AnalyticsEventPurchase event to gauge the +/// effectiveness of your checkout process. Note: If you supply the @c AnalyticsParameterValue +/// parameter, you must also supply the @c AnalyticsParameterCurrency parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginCheckout) = + @"begin_checkout"; + +/// Campaign Detail event. Log this event to supply the referral details of a re-engagement +/// campaign. Note: you must supply at least one of the required parameters +/// AnalyticsParameterSource, AnalyticsParameterMedium or AnalyticsParameterCampaign. Params: +/// +///
    +///
  • @c AnalyticsParameterSource (String)
  • +///
  • @c AnalyticsParameterMedium (String)
  • +///
  • @c AnalyticsParameterCampaign (String)
  • +///
  • @c AnalyticsParameterTerm (String) (optional)
  • +///
  • @c AnalyticsParameterContent (String) (optional)
  • +///
  • @c AnalyticsParameterAdNetworkClickID (String) (optional)
  • +///
  • @c AnalyticsParameterCP1 (String) (optional)
  • +///
  • @c AnalyticsParameterCampaignID (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeFormat (String) (optional)
  • +///
  • @c AnalyticsParameterMarketingTactic (String) (optional)
  • +///
  • @c AnalyticsParameterSourcePlatform (String) (optional)
  • +///
+static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) = + @"campaign_details"; + +/// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log +/// this along with @c AnalyticsEventSpendVirtualCurrency to better understand your virtual economy. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • +///
  • @c AnalyticsParameterValue (Int or Double)
  • +///
+static NSString *const kFIREventEarnVirtualCurrency + NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency"; + +/// Generate Lead event. Log this event when a lead has been generated in the app to understand the +/// efficacy of your install and re-engagement campaigns. Note: If you supply the +/// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventGenerateLead NS_SWIFT_NAME(AnalyticsEventGenerateLead) = + @"generate_lead"; + +/// Join Group event. Log this event when a user joins a group such as a guild, team or family. Use +/// this event to analyze how popular certain groups or social features are in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterGroupID (String)
  • +///
+static NSString *const kFIREventJoinGroup NS_SWIFT_NAME(AnalyticsEventJoinGroup) = @"join_group"; + +/// Level End event. Log this event when the user finishes a level. Params: +/// +///
    +///
  • @c AnalyticsParameterLevelName (String)
  • +///
  • @c AnalyticsParameterSuccess (String)
  • +///
+static NSString *const kFIREventLevelEnd NS_SWIFT_NAME(AnalyticsEventLevelEnd) = @"level_end"; + +/// Level Start event. Log this event when the user starts a new level. Params: +/// +///
    +///
  • @c AnalyticsParameterLevelName (String)
  • +///
+static NSString *const kFIREventLevelStart NS_SWIFT_NAME(AnalyticsEventLevelStart) = @"level_start"; + +/// Level Up event. This event signifies that a player has leveled up in your gaming app. It can +/// help you gauge the level distribution of your userbase and help you identify certain levels that +/// are difficult to pass. Params: +/// +///
    +///
  • @c AnalyticsParameterLevel (Int)
  • +///
  • @c AnalyticsParameterCharacter (String) (optional)
  • +///
+static NSString *const kFIREventLevelUp NS_SWIFT_NAME(AnalyticsEventLevelUp) = @"level_up"; + +/// Login event. Apps with a login feature can report this event to signify that a user has logged +/// in. +static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"login"; + +/// Post Score event. Log this event when the user posts a score in your gaming app. This event can +/// help you understand how users are actually performing in your game and it can help you correlate +/// high scores with certain audiences or behaviors. Params: +/// +///
    +///
  • @c AnalyticsParameterScore (Int)
  • +///
  • @c AnalyticsParameterLevel (Int) (optional)
  • +///
  • @c AnalyticsParameterCharacter (String) (optional)
  • +///
+static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score"; + +/// E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: +/// This is different from the in-app purchase event, which is reported automatically for App +/// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also +/// supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterEndDate (String) (optional)
  • +///
  • @c AnalyticsParameterItemID (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShipping (Double) (optional)
  • +///
  • @c AnalyticsParameterStartDate (String) (optional)
  • +///
  • @c AnalyticsParameterTax (Double) (optional)
  • +///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventPurchase NS_SWIFT_NAME(AnalyticsEventPurchase) = @"purchase"; + +/// E-Commerce Refund event. This event signifies that a refund was issued. Note: If you supply the +/// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShipping (Double) (optional)
  • +///
  • @c AnalyticsParameterTax (Double) (optional)
  • +///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventRefund NS_SWIFT_NAME(AnalyticsEventRefund) = @"refund"; + +/// E-Commerce Remove from Cart event. This event signifies that an item(s) was removed from a cart. +/// Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply the @c +/// AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventRemoveFromCart NS_SWIFT_NAME(AnalyticsEventRemoveFromCart) = + @"remove_from_cart"; + +/// Screen View event. This event signifies a screen view. Use this when a screen transition occurs. +/// This event can be logged irrespective of whether automatic screen tracking is enabled. Params: +/// +///
    +///
  • @c AnalyticsParameterScreenClass (String) (optional)
  • +///
  • @c AnalyticsParameterScreenName (String) (optional)
  • +///
+static NSString *const kFIREventScreenView NS_SWIFT_NAME(AnalyticsEventScreenView) = @"screen_view"; + +/// Search event. Apps that support search features can use this event to contextualize search +/// operations by supplying the appropriate, corresponding parameters. This event can help you +/// identify the most popular content in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterSearchTerm (String)
  • +///
  • @c AnalyticsParameterStartDate (String) (optional)
  • +///
  • @c AnalyticsParameterEndDate (String) (optional)
  • +///
  • @c AnalyticsParameterNumberOfNights (Int) (optional) for hotel bookings
  • +///
  • @c AnalyticsParameterNumberOfRooms (Int) (optional) for hotel bookings
  • +///
  • @c AnalyticsParameterNumberOfPassengers (Int) (optional) for travel bookings
  • +///
  • @c AnalyticsParameterOrigin (String) (optional)
  • +///
  • @c AnalyticsParameterDestination (String) (optional)
  • +///
  • @c AnalyticsParameterTravelClass (String) (optional) for travel bookings
  • +///
+static NSString *const kFIREventSearch NS_SWIFT_NAME(AnalyticsEventSearch) = @"search"; + +/// Select Content event. This general purpose event signifies that a user has selected some content +/// of a certain type in an app. The content can be any object in your app. This event can help you +/// identify popular content and categories of content in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterContentType (String)
  • +///
  • @c AnalyticsParameterItemID (String)
  • +///
+static NSString *const kFIREventSelectContent NS_SWIFT_NAME(AnalyticsEventSelectContent) = + @"select_content"; + +/// Select Item event. This event signifies that an item was selected by a user from a list. Use the +/// appropriate parameters to contextualize the event. Use this event to discover the most popular +/// items selected. Params: +/// +///
    +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterItemListID (String) (optional)
  • +///
  • @c AnalyticsParameterItemListName (String) (optional)
  • +///
+static NSString *const kFIREventSelectItem NS_SWIFT_NAME(AnalyticsEventSelectItem) = @"select_item"; + +/// Select promotion event. This event signifies that a user has selected a promotion offer. Use the +/// appropriate parameters to contextualize the event, such as the item(s) for which the promotion +/// applies. Params: +/// +///
    +///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterLocationID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • +///
+static NSString *const kFIREventSelectPromotion NS_SWIFT_NAME(AnalyticsEventSelectPromotion) = + @"select_promotion"; + +/// Share event. Apps with social features can log the Share event to identify the most viral +/// content. Params: +/// +///
    +///
  • @c AnalyticsParameterContentType (String)
  • +///
  • @c AnalyticsParameterItemID (String)
  • +///
+static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"share"; + +/// Sign Up event. This event indicates that a user has signed up for an account in your app. The +/// parameter signifies the method by which the user signed up. Use this event to understand the +/// different behaviors between logged in and logged out users. Params: +/// +///
    +///
  • @c AnalyticsParameterMethod (String)
  • +///
+static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up"; + +/// Spend Virtual Currency event. This event tracks the sale of virtual goods in your app and can +/// help you identify which virtual goods are the most popular objects of purchase. Params: +/// +///
    +///
  • @c AnalyticsParameterItemName (String)
  • +///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • +///
  • @c AnalyticsParameterValue (Int or Double)
  • +///
+static NSString *const kFIREventSpendVirtualCurrency + NS_SWIFT_NAME(AnalyticsEventSpendVirtualCurrency) = @"spend_virtual_currency"; + +/// Tutorial Begin event. This event signifies the start of the on-boarding process in your app. Use +/// this in a funnel with @c AnalyticsEventTutorialComplete to understand how many users complete +/// this process and move on to the full app experience. +static NSString *const kFIREventTutorialBegin NS_SWIFT_NAME(AnalyticsEventTutorialBegin) = + @"tutorial_begin"; + +/// Tutorial End event. Use this event to signify the user's completion of your app's on-boarding +/// process. Add this to a funnel with @c AnalyticsEventTutorialBegin to gauge the completion rate +/// of your on-boarding process. +static NSString *const kFIREventTutorialComplete NS_SWIFT_NAME(AnalyticsEventTutorialComplete) = + @"tutorial_complete"; + +/// Unlock Achievement event. Log this event when the user has unlocked an achievement in your +/// game. Since achievements generally represent the breadth of a gaming experience, this event can +/// help you understand how many users are experiencing all that your game has to offer. Params: +/// +///
    +///
  • @c AnalyticsParameterAchievementID (String)
  • +///
+static NSString *const kFIREventUnlockAchievement NS_SWIFT_NAME(AnalyticsEventUnlockAchievement) = + @"unlock_achievement"; + +/// E-commerce View Cart event. This event signifies that a user has viewed their cart. Use this to +/// analyze your purchase funnel. Note: If you supply the @c AnalyticsParameterValue parameter, you +/// must also supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be +/// computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventViewCart NS_SWIFT_NAME(AnalyticsEventViewCart) = @"view_cart"; + +/// View Item event. This event signifies that a user has viewed an item. Use the appropriate +/// parameters to contextualize the event. Use this event to discover the most popular items viewed +/// in your app. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventViewItem NS_SWIFT_NAME(AnalyticsEventViewItem) = @"view_item"; + +/// View Item List event. Log this event when a user sees a list of items or offerings. Params: +/// +///
    +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterItemListID (String) (optional)
  • +///
  • @c AnalyticsParameterItemListName (String) (optional)
  • +///
+static NSString *const kFIREventViewItemList NS_SWIFT_NAME(AnalyticsEventViewItemList) = + @"view_item_list"; + +/// View Promotion event. This event signifies that a promotion was shown to a user. Add this event +/// to a funnel with the @c AnalyticsEventAddToCart and @c AnalyticsEventPurchase to gauge your +/// conversion process. Params: +/// +///
    +///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterLocationID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • +///
+static NSString *const kFIREventViewPromotion NS_SWIFT_NAME(AnalyticsEventViewPromotion) = + @"view_promotion"; + +/// View Search Results event. Log this event when the user has been presented with the results of a +/// search. Params: +/// +///
    +///
  • @c AnalyticsParameterSearchTerm (String)
  • +///
+static NSString *const kFIREventViewSearchResults NS_SWIFT_NAME(AnalyticsEventViewSearchResults) = + @"view_search_results"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h new file mode 100644 index 00000000000..58a5a21df3b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h @@ -0,0 +1,722 @@ +/// @file FIRParameterNames.h +/// +/// Predefined event parameter names. +/// +/// Params supply information that contextualize Events. You can associate up to 25 unique Params +/// with each Event type. Some Params are suggested below for certain common Events, but you are +/// not limited to these. You may supply extra Params for suggested Events or custom Params for +/// Custom events. Param names can be up to 40 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. Param values can +/// be up to 100 characters long for standard Google Analytics properties and up to 500 characters +/// long for Google Analytics 360 properties. The "firebase_", "google_", and "ga_" prefixes are +/// reserved and should not be used. + +#import + +/// Game achievement ID (String). +///
+///     let params = [
+///       AnalyticsParameterAchievementID : "10_matches_won",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAchievementID NS_SWIFT_NAME(AnalyticsParameterAchievementID) = + @"achievement_id"; + +/// The ad format (e.g. Banner, Interstitial, Rewarded, Native, Rewarded Interstitial, Instream). +/// (String). +///
+///     let params = [
+///       AnalyticsParameterAdFormat : "Banner",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdFormat NS_SWIFT_NAME(AnalyticsParameterAdFormat) = + @"ad_format"; + +/// Ad Network Click ID (String). Used for network-specific click IDs which vary in format. +///
+///     let params = [
+///       AnalyticsParameterAdNetworkClickID : "1234567",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdNetworkClickID + NS_SWIFT_NAME(AnalyticsParameterAdNetworkClickID) = @"aclid"; + +/// The ad platform (e.g. MoPub, IronSource) (String). +///
+///     let params = [
+///       AnalyticsParameterAdPlatform : "MoPub",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdPlatform NS_SWIFT_NAME(AnalyticsParameterAdPlatform) = + @"ad_platform"; + +/// The ad source (e.g. AdColony) (String). +///
+///     let params = [
+///       AnalyticsParameterAdSource : "AdColony",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdSource NS_SWIFT_NAME(AnalyticsParameterAdSource) = + @"ad_source"; + +/// The ad unit name (e.g. Banner_03) (String). +///
+///     let params = [
+///       AnalyticsParameterAdUnitName : "Banner_03",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdUnitName NS_SWIFT_NAME(AnalyticsParameterAdUnitName) = + @"ad_unit_name"; + +/// A product affiliation to designate a supplying company or brick and mortar store location +/// (String).
+///     let params = [
+///       AnalyticsParameterAffiliation : "Google Store",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAffiliation NS_SWIFT_NAME(AnalyticsParameterAffiliation) = + @"affiliation"; + +/// Campaign custom parameter (String). Used as a method of capturing custom data in a campaign. +/// Use varies by network. +///
+///     let params = [
+///       AnalyticsParameterCP1 : "custom_data",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCP1 NS_SWIFT_NAME(AnalyticsParameterCP1) = @"cp1"; + +/// The individual campaign name, slogan, promo code, etc. Some networks have pre-defined macro to +/// capture campaign information, otherwise can be populated by developer. Highly Recommended +/// (String). +///
+///     let params = [
+///       AnalyticsParameterCampaign : "winter_promotion",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCampaign NS_SWIFT_NAME(AnalyticsParameterCampaign) = + @"campaign"; + +/// Campaign ID (String). Used for keyword analysis to identify a specific product promotion or +/// strategic campaign. This is a required key for GA4 data import. +///
+///     let params = [
+///       AnalyticsParameterCampaignID : "7877652710",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCampaignID NS_SWIFT_NAME(AnalyticsParameterCampaignID) = + @"campaign_id"; + +/// Character used in game (String). +///
+///     let params = [
+///       AnalyticsParameterCharacter : "beat_boss",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) = + @"character"; + +/// Campaign content (String). +static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content"; + +/// Type of content selected (String). +///
+///     let params = [
+///       AnalyticsParameterContentType : "news article",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterContentType NS_SWIFT_NAME(AnalyticsParameterContentType) = + @"content_type"; + +/// Coupon code used for a purchase (String). +///
+///     let params = [
+///       AnalyticsParameterCoupon : "SUMMER_FUN",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCoupon NS_SWIFT_NAME(AnalyticsParameterCoupon) = @"coupon"; + +/// Creative Format (String). Used to identify the high-level classification of the type of ad +/// served by a specific campaign. +///
+///     let params = [
+///       AnalyticsParameterCreativeFormat : "display",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeFormat NS_SWIFT_NAME(AnalyticsParameterCreativeFormat) = + @"creative_format"; + +/// The name of a creative used in a promotional spot (String). +///
+///     let params = [
+///       AnalyticsParameterCreativeName : "Summer Sale",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeName NS_SWIFT_NAME(AnalyticsParameterCreativeName) = + @"creative_name"; + +/// The name of a creative slot (String). +///
+///     let params = [
+///       AnalyticsParameterCreativeSlot : "summer_banner2",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeSlot NS_SWIFT_NAME(AnalyticsParameterCreativeSlot) = + @"creative_slot"; + +/// Currency of the purchase or items associated with the event, in 3-letter +/// ISO_4217 format (String). +///
+///     let params = [
+///       AnalyticsParameterCurrency : "USD",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCurrency NS_SWIFT_NAME(AnalyticsParameterCurrency) = + @"currency"; + +/// Flight or Travel destination (String). +///
+///     let params = [
+///       AnalyticsParameterDestination : "Mountain View, CA",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterDestination NS_SWIFT_NAME(AnalyticsParameterDestination) = + @"destination"; + +/// Monetary value of discount associated with a purchase (Double). +///
+///     let params = [
+///       AnalyticsParameterDiscount : 2.0,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $2.00 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterDiscount NS_SWIFT_NAME(AnalyticsParameterDiscount) = + @"discount"; + +/// The arrival date, check-out date or rental end date for the item. This should be in +/// YYYY-MM-DD format (String). +///
+///     let params = [
+///       AnalyticsParameterEndDate : "2015-09-14",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterEndDate NS_SWIFT_NAME(AnalyticsParameterEndDate) = @"end_date"; + +/// Indicates that the associated event should either extend the current session or start a new +/// session if no session was active when the event was logged. Specify 1 to extend the current +/// session or to start a new session; any other value will not extend or start a session. +///
+///     let params = [
+///       AnalyticsParameterExtendSession : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterExtendSession NS_SWIFT_NAME(AnalyticsParameterExtendSession) = + @"extend_session"; + +/// Flight number for travel events (String). +///
+///     let params = [
+///       AnalyticsParameterFlightNumber : "ZZ800",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterFlightNumber NS_SWIFT_NAME(AnalyticsParameterFlightNumber) = + @"flight_number"; + +/// Group/clan/guild ID (String). +///
+///     let params = [
+///       AnalyticsParameterGroupID : "g1",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterGroupID NS_SWIFT_NAME(AnalyticsParameterGroupID) = @"group_id"; + +/// The index of the item in a list (Int). +///
+///     let params = [
+///       AnalyticsParameterIndex : 5,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterIndex NS_SWIFT_NAME(AnalyticsParameterIndex) = @"index"; + +/// Item brand (String). +///
+///     let params = [
+///       AnalyticsParameterItemBrand : "Google",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemBrand NS_SWIFT_NAME(AnalyticsParameterItemBrand) = + @"item_brand"; + +/// Item category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory NS_SWIFT_NAME(AnalyticsParameterItemCategory) = + @"item_category"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory2 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory2 NS_SWIFT_NAME(AnalyticsParameterItemCategory2) = + @"item_category2"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory3 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory3 NS_SWIFT_NAME(AnalyticsParameterItemCategory3) = + @"item_category3"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory4 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory4 NS_SWIFT_NAME(AnalyticsParameterItemCategory4) = + @"item_category4"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory5 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory5 NS_SWIFT_NAME(AnalyticsParameterItemCategory5) = + @"item_category5"; + +/// Item ID (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemID : "SKU_12345",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id"; + +/// The ID of the list in which the item was presented to the user (String). +///
+///     let params = [
+///       AnalyticsParameterItemListID : "ABC123",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemListID NS_SWIFT_NAME(AnalyticsParameterItemListID) = + @"item_list_id"; + +/// The name of the list in which the item was presented to the user (String). +///
+///     let params = [
+///       AnalyticsParameterItemListName : "Related products",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemListName NS_SWIFT_NAME(AnalyticsParameterItemListName) = + @"item_list_name"; + +/// Item Name (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemName : "jeggings",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemName NS_SWIFT_NAME(AnalyticsParameterItemName) = + @"item_name"; + +/// Item variant (String). +///
+///     let params = [
+///       AnalyticsParameterItemVariant : "Black",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemVariant NS_SWIFT_NAME(AnalyticsParameterItemVariant) = + @"item_variant"; + +/// The list of items involved in the transaction expressed as `[[String: Any]]`. +///
+///     let params = [
+///       AnalyticsParameterItems : [
+///         [AnalyticsParameterItemName : "jeggings", AnalyticsParameterItemCategory : "pants"],
+///         [AnalyticsParameterItemName : "boots", AnalyticsParameterItemCategory : "shoes"],
+///       ],
+///     ]
+/// 
+static NSString *const kFIRParameterItems NS_SWIFT_NAME(AnalyticsParameterItems) = @"items"; + +/// Level in game (Int). +///
+///     let params = [
+///       AnalyticsParameterLevel : 42,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLevel NS_SWIFT_NAME(AnalyticsParameterLevel) = @"level"; + +/// The name of a level in a game (String). +///
+///     let params = [
+///       AnalyticsParameterLevelName : "room_1",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLevelName NS_SWIFT_NAME(AnalyticsParameterLevelName) = + @"level_name"; + +/// Location (String). The Google Place ID +/// that corresponds to the associated event. Alternatively, you can supply your own custom +/// Location ID. +///
+///     let params = [
+///       AnalyticsParameterLocation : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLocation NS_SWIFT_NAME(AnalyticsParameterLocation) = + @"location"; + +/// The location associated with the event. Preferred to be the Google +/// Place ID that corresponds to the +/// associated item but could be overridden to a custom location ID string.(String). +///
+///     let params = [
+///       AnalyticsParameterLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLocationID NS_SWIFT_NAME(AnalyticsParameterLocationID) = + @"location_id"; + +/// Marketing Tactic (String). Used to identify the targeting criteria applied to a specific +/// campaign. +///
+///     let params = [
+///       AnalyticsParameterMarketingTactic : "Remarketing",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMarketingTactic + NS_SWIFT_NAME(AnalyticsParameterMarketingTactic) = @"marketing_tactic"; + +/// The advertising or marketing medium, for example: cpc, banner, email, push. Highly recommended +/// (String). +///
+///     let params = [
+///       AnalyticsParameterMedium : "email",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMedium NS_SWIFT_NAME(AnalyticsParameterMedium) = @"medium"; + +/// A particular approach used in an operation; for example, "facebook" or "email" in the context +/// of a sign_up or login event. (String). +///
+///     let params = [
+///       AnalyticsParameterMethod : "google",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMethod NS_SWIFT_NAME(AnalyticsParameterMethod) = @"method"; + +/// Number of nights staying at hotel (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfNights : 3,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfNights + NS_SWIFT_NAME(AnalyticsParameterNumberOfNights) = @"number_of_nights"; + +/// Number of passengers traveling (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfPassengers : 11,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfPassengers + NS_SWIFT_NAME(AnalyticsParameterNumberOfPassengers) = @"number_of_passengers"; + +/// Number of rooms for travel events (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfRooms : 2,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfRooms NS_SWIFT_NAME(AnalyticsParameterNumberOfRooms) = + @"number_of_rooms"; + +/// Flight or Travel origin (String). +///
+///     let params = [
+///       AnalyticsParameterOrigin : "Mountain View, CA",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterOrigin NS_SWIFT_NAME(AnalyticsParameterOrigin) = @"origin"; + +/// The chosen method of payment (String). +///
+///     let params = [
+///       AnalyticsParameterPaymentType : "Visa",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPaymentType NS_SWIFT_NAME(AnalyticsParameterPaymentType) = + @"payment_type"; + +/// Purchase price (Double). +///
+///     let params = [
+///       AnalyticsParameterPrice : 1.0,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $1.00 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPrice NS_SWIFT_NAME(AnalyticsParameterPrice) = @"price"; + +/// The ID of a product promotion (String). +///
+///     let params = [
+///       AnalyticsParameterPromotionID : "ABC123",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPromotionID NS_SWIFT_NAME(AnalyticsParameterPromotionID) = + @"promotion_id"; + +/// The name of a product promotion (String). +///
+///     let params = [
+///       AnalyticsParameterPromotionName : "Summer Sale",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPromotionName NS_SWIFT_NAME(AnalyticsParameterPromotionName) = + @"promotion_name"; + +/// Purchase quantity (Int). +///
+///     let params = [
+///       AnalyticsParameterQuantity : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterQuantity NS_SWIFT_NAME(AnalyticsParameterQuantity) = + @"quantity"; + +/// Score in game (Int). +///
+///     let params = [
+///       AnalyticsParameterScore : 4200,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScore NS_SWIFT_NAME(AnalyticsParameterScore) = @"score"; + +/// Current screen class, such as the class name of the UIViewController, logged with screen_view +/// event and added to every event (String). +///
+///     let params = [
+///       AnalyticsParameterScreenClass : "LoginViewController",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScreenClass NS_SWIFT_NAME(AnalyticsParameterScreenClass) = + @"screen_class"; + +/// Current screen name, such as the name of the UIViewController, logged with screen_view event and +/// added to every event (String). +///
+///     let params = [
+///       AnalyticsParameterScreenName : "LoginView",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScreenName NS_SWIFT_NAME(AnalyticsParameterScreenName) = + @"screen_name"; + +/// The search string/keywords used (String). +///
+///     let params = [
+///       AnalyticsParameterSearchTerm : "periodic table",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSearchTerm NS_SWIFT_NAME(AnalyticsParameterSearchTerm) = + @"search_term"; + +/// Shipping cost associated with a transaction (Double). +///
+///     let params = [
+///       AnalyticsParameterShipping : 5.99,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $5.99 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShipping) = + @"shipping"; + +/// The shipping tier (e.g. Ground, Air, Next-day) selected for delivery of the purchased item +/// (String). +///
+///     let params = [
+///       AnalyticsParameterShippingTier : "Ground",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterShippingTier NS_SWIFT_NAME(AnalyticsParameterShippingTier) = + @"shipping_tier"; + +/// The origin of your traffic, such as an Ad network (for example, google) or partner (urban +/// airship). Identify the advertiser, site, publication, etc. that is sending traffic to your +/// property. Highly recommended (String). +///
+///     let params = [
+///       AnalyticsParameterSource : "InMobi",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSource NS_SWIFT_NAME(AnalyticsParameterSource) = @"source"; + +/// Source Platform (String). Used to identify the platform responsible for directing traffic to a +/// given Analytics property (e.g., a buying platform where budgets, targeting criteria, etc. are +/// set, a platform for managing organic traffic data, etc.). +///
+///     let params = [
+///       AnalyticsParameterSourcePlatform : "sa360",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSourcePlatform NS_SWIFT_NAME(AnalyticsParameterSourcePlatform) = + @"source_platform"; + +/// The departure date, check-in date or rental start date for the item. This should be in +/// YYYY-MM-DD format (String). +///
+///     let params = [
+///       AnalyticsParameterStartDate : "2015-09-14",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterStartDate NS_SWIFT_NAME(AnalyticsParameterStartDate) = + @"start_date"; + +/// The result of an operation. Specify 1 to indicate success and 0 to indicate failure (Int). +///
+///     let params = [
+///       AnalyticsParameterSuccess : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSuccess NS_SWIFT_NAME(AnalyticsParameterSuccess) = @"success"; + +/// Tax cost associated with a transaction (Double). +///
+///     let params = [
+///       AnalyticsParameterTax : 2.43,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $2.43 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTax NS_SWIFT_NAME(AnalyticsParameterTax) = @"tax"; + +/// If you're manually tagging keyword campaigns, you should use utm_term to specify the keyword +/// (String). +///
+///     let params = [
+///       AnalyticsParameterTerm : "game",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTerm NS_SWIFT_NAME(AnalyticsParameterTerm) = @"term"; + +/// The unique identifier of a transaction (String). +///
+///     let params = [
+///       AnalyticsParameterTransactionID : "T12345",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTransactionID NS_SWIFT_NAME(AnalyticsParameterTransactionID) = + @"transaction_id"; + +/// Travel class (String). +///
+///     let params = [
+///       AnalyticsParameterTravelClass : "business",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTravelClass NS_SWIFT_NAME(AnalyticsParameterTravelClass) = + @"travel_class"; + +/// A context-specific numeric value which is accumulated automatically for each event type. This is +/// a general purpose parameter that is useful for accumulating a key metric that pertains to an +/// event. Examples include revenue, distance, time and points. Value should be specified as Int or +/// Double. +/// Notes: Values for pre-defined currency-related events (such as @c AnalyticsEventAddToCart) +/// should be supplied using Double and must be accompanied by a @c AnalyticsParameterCurrency +/// parameter. The valid range of accumulated values is +/// [-9,223,372,036,854.77, 9,223,372,036,854.77]. Supplying a non-numeric value, omitting the +/// corresponding @c AnalyticsParameterCurrency parameter, or supplying an invalid +/// currency code for conversion events will cause that +/// conversion to be omitted from reporting. +///
+///     let params = [
+///       AnalyticsParameterValue : 3.99,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $3.99 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterValue NS_SWIFT_NAME(AnalyticsParameterValue) = @"value"; + +/// Name of virtual currency type (String). +///
+///     let params = [
+///       AnalyticsParameterVirtualCurrencyName : "virtual_currency_name",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterVirtualCurrencyName + NS_SWIFT_NAME(AnalyticsParameterVirtualCurrencyName) = @"virtual_currency_name"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h new file mode 100644 index 00000000000..2442d8a7ba7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h @@ -0,0 +1,28 @@ +/// @file FIRUserPropertyNames.h +/// +/// Predefined user property names. +/// +/// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can +/// later analyze different behaviors of various segments of your userbase. You may supply up to 25 +/// unique UserProperties per app, and you can use the name and value of your choosing for each one. +/// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and +/// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to +/// 36 characters long. The "firebase_", "google_", and "ga_" prefixes are reserved and should not +/// be used. + +#import + +/// Indicates whether events logged by Google Analytics can be used to personalize ads for the user. +/// Set to "YES" to enable, or "NO" to disable. Default is enabled. See the +/// documentation for +/// more details and information about related settings. +/// +///
+///     Analytics.setUserProperty("NO", forName: AnalyticsUserPropertyAllowAdPersonalizationSignals)
+/// 
+static NSString *const kFIRUserPropertyAllowAdPersonalizationSignals + NS_SWIFT_NAME(AnalyticsUserPropertyAllowAdPersonalizationSignals) = @"allow_personalized_ads"; + +/// The method used to sign in. For example, "google", "facebook" or "twitter". +static NSString *const kFIRUserPropertySignUpMethod + NS_SWIFT_NAME(AnalyticsUserPropertySignUpMethod) = @"sign_up_method"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h new file mode 100644 index 00000000000..127576fb869 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h @@ -0,0 +1,312 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEANALYTICS_SWIFT_H +#define FIREBASEANALYTICS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseAnalytics",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h new file mode 100644 index 00000000000..ad84fbb8f60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h @@ -0,0 +1,24 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FirebaseAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +FOUNDATION_EXPORT double FirebaseAnalyticsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAnalyticsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h new file mode 100644 index 00000000000..351da20a92a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h @@ -0,0 +1,7 @@ +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Info.plist new file mode 100644 index 00000000000..77661262de9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 23G93 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAnalytics + CFBundleIdentifier + org.cocoapods.FirebaseAnalytics + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAnalytics + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo new file mode 100644 index 00000000000..4dd70cfd162 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.abi.json new file mode 100644 index 00000000000..665fe288dc6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.abi.json @@ -0,0 +1,288 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "Import", + "name": "SwiftUI", + "printedName": "SwiftUI", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "TypeDecl", + "name": "Analytics", + "printedName": "Analytics", + "children": [ + { + "kind": "Function", + "name": "logTransaction", + "printedName": "logTransaction(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transaction", + "printedName": "StoreKit.Transaction", + "usr": "s:8StoreKit11TransactionV" + } + ], + "declKind": "Func", + "usr": "s:So12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "mangledName": "$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "moduleName": "FirebaseAnalytics", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)FIRAnalytics", + "moduleName": "FirebaseAnalytics", + "isOpen": true, + "objc_name": "FIRAnalytics", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "View", + "printedName": "View", + "children": [ + { + "kind": "Function", + "name": "analyticsScreen", + "printedName": "analyticsScreen(name:class:extraParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModifiedContent", + "printedName": "SwiftUI.ModifiedContent<Ï„_0_0, FirebaseAnalytics.LoggedAnalyticsModifier>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + }, + { + "kind": "TypeNominal", + "name": "LoggedAnalyticsModifier", + "printedName": "FirebaseAnalytics.LoggedAnalyticsModifier", + "usr": "s:17FirebaseAnalytics06LoggedB8ModifierV" + } + ], + "usr": "s:7SwiftUI15ModifiedContentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "hasDefaultArg": true, + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "mangledName": "$s7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "moduleName": "FirebaseAnalytics", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : SwiftUI.View>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:7SwiftUI4ViewP", + "mangledName": "$s7SwiftUI4ViewP", + "moduleName": "SwiftUI", + "genericSig": "<Ï„_0_0.Body : SwiftUI.View>", + "sugared_genericSig": "", + "intro_Macosx": "10.15", + "intro_iOS": "13.0", + "intro_tvOS": "13.0", + "intro_watchOS": "6.0", + "declAttributes": [ + "TypeEraser", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1259, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1297, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2523, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2564, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2607, + "length": 1, + "value": "2" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2651, + "length": 1, + "value": "3" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2683, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "StringLiteral", + "offset": 2654, + "length": 6, + "value": "\"View\"" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "Dictionary", + "offset": 2701, + "length": 3, + "value": "[]" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.private.swiftinterface new file mode 100644 index 00000000000..ddb8384d201 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.private.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-tvos13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.swiftdoc new file mode 100644 index 00000000000..c852ce863a4 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.swiftinterface new file mode 100644 index 00000000000..ddb8384d201 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-tvos13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/module.modulemap new file mode 100644 index 00000000000..fa10817ef61 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/module.modulemap @@ -0,0 +1,16 @@ +framework module FirebaseAnalytics { +umbrella header "FirebaseAnalytics-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "SystemConfiguration" + link framework "UIKit" + link "c++" + link "sqlite3" + link "z" +} +module FirebaseAnalytics.Swift { + header "FirebaseAnalytics-Swift.h" + requires objc +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics new file mode 100644 index 00000000000..583ff8726e4 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h new file mode 100644 index 00000000000..cb1e407690f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h @@ -0,0 +1,80 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Provides App Delegate handlers to be used in your App Delegate. +/// +/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not +/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle +/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead +/// to delegate manually, you can turn off the App Delegate Proxy by adding +/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and +/// adding the methods in this category to corresponding delegation handlers. +/// +/// To handle Universal Links, you must return `true` in +/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`. +@interface FIRAnalytics (AppDelegate) + +/// Handles events related to a URL session that are waiting to be processed. +/// +/// 1. If SwiftUI lifecycle is adopted, call this method from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation +/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set +/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method +/// from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// @param identifier The identifier of the URL session requiring attention. +/// @param completionHandler The completion handler to call when you finish processing the events. +/// Calling this completion handler lets the system know that your app's user interface is +/// updated and a new snapshot can be taken. ++ (void)handleEventsForBackgroundURLSession:(NSString *)identifier + completionHandler:(nullable void (^)(void))completionHandler; + +/// Handles the event when the app is launched by a URL (custom URL scheme or universal link). +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// this method in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and +/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate. +/// +/// @param url The URL resource to open. This resource can be a network resource or a file. ++ (void)handleOpenURL:(NSURL *)url; + +/// Handles the event when the app receives data associated with user activity that includes a +/// Universal Link. +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// `Analytics.handleOpen(_:)` instead in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when +/// NSUserActivity is available. See the [Apple +/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for +/// more details. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate. +/// +/// @param userActivity The activity object containing the data associated with the task the user +/// was performing. ++ (void)handleUserActivity:(id)userActivity; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h new file mode 100644 index 00000000000..77583906142 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h @@ -0,0 +1,51 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The type of consent to set. Supported consent types are `ConsentType.adStorage`, +/// `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and `ConsentType.adPersonalization`. +/// Omitting a type retains its previous status. +typedef NSString *FIRConsentType NS_TYPED_ENUM NS_SWIFT_NAME(ConsentType); + +/// Enables storage (such as device identifiers) related to advertising. +extern FIRConsentType const FIRConsentTypeAdStorage; + +/// Enables storage (such as app identifiers) related to analytics, e.g. visit duration. +extern FIRConsentType const FIRConsentTypeAnalyticsStorage; + +/// Sets consent for sending user data to Google for advertising purposes. +extern FIRConsentType const FIRConsentTypeAdUserData; + +/// Sets consent for personalized advertising. +extern FIRConsentType const FIRConsentTypeAdPersonalization; + +/// The status value of the consent type. Supported statuses are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. +typedef NSString *FIRConsentStatus NS_TYPED_ENUM NS_SWIFT_NAME(ConsentStatus); + +/// Consent status indicating consent is denied. For an overview of which data is sent when consent +/// is denied, see [SDK behavior with consent +/// mode](https://developers.google.com/tag-platform/security/concepts/consent-mode#tag-behavior). +extern FIRConsentStatus const FIRConsentStatusDenied; + +/// Consent status indicating consent is granted. +extern FIRConsentStatus const FIRConsentStatusGranted; + +/// Sets the applicable end user consent state. +@interface FIRAnalytics (Consent) + +/// Sets the applicable end user consent state (e.g. for device identifiers) for this app on this +/// device. Use the consent settings to specify individual consent type values. Settings are +/// persisted across app sessions. By default consent types are set to `ConsentStatus.granted`. +/// +/// @param consentSettings A Dictionary of consent types. Supported consent type keys are +/// `ConsentType.adStorage`, `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and +/// `ConsentType.adPersonalization`. Valid values are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. ++ (void)setConsent:(NSDictionary *)consentSettings; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h new file mode 100644 index 00000000000..0bfec8883e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h @@ -0,0 +1,44 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +API_UNAVAILABLE(macCatalyst, macos, tvos, watchos) +@interface FIRAnalytics (OnDevice) + +/// Initiates on-device conversion measurement given a user email address. Requires dependency +/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param emailAddress User email address. Include a domain name for all email addresses +/// (e.g. gmail.com or hotmail.co.jp). ++ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:)); + +/// Initiates on-device conversion measurement given a phone number in E.164 format. Requires +/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param phoneNumber User phone number. Must be in E.164 format, which means it must be +/// limited to a maximum of 15 digits and must include a plus sign (+) prefix and country code +/// with no dashes, parentheses, or spaces. ++ (void)initiateOnDeviceConversionMeasurementWithPhoneNumber:(NSString *)phoneNumber + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(phoneNumber:)); + +/// Initiates on-device conversion measurement given a sha256-hashed user email address. Requires +/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param hashedEmailAddress User email address as a UTF8-encoded string normalized and hashed +/// according to the instructions at +/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3. ++ (void)initiateOnDeviceConversionMeasurementWithHashedEmailAddress:(NSData *)hashedEmailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedEmailAddress:)); + +/// Initiates on-device conversion measurement given a sha256-hashed phone number in E.164 format. +/// Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a +/// no-op. +/// @param hashedPhoneNumber UTF8-encoded user phone number in E.164 format and then hashed +/// according to the instructions at +/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3. ++ (void)initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:(NSData *)hashedPhoneNumber + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedPhoneNumber:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h new file mode 100644 index 00000000000..e58d7dd7e10 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h @@ -0,0 +1,155 @@ +#import + +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The top level Firebase Analytics singleton that provides methods for logging events and setting +/// user properties. See the developer guides for general +/// information on using Firebase Analytics in your apps. +/// +/// @note The Analytics SDK uses SQLite to persist events and other app-specific data. Calling +/// certain thread-unsafe global SQLite methods like `sqlite3_shutdown()` can result in +/// unexpected crashes at runtime. +NS_SWIFT_NAME(Analytics) +@interface FIRAnalytics : NSObject + +/// Logs an app event. The event can have up to 25 parameters. Events with the same name must have +/// the same parameters. Up to 500 event names are supported. Using predefined events and/or +/// parameters is recommended for optimal reporting. +/// +/// The following event names are reserved and cannot be used: +///
    +///
  • ad_activeview
  • +///
  • ad_click
  • +///
  • ad_exposure
  • +///
  • ad_query
  • +///
  • ad_reward
  • +///
  • adunit_exposure
  • +///
  • app_clear_data
  • +///
  • app_exception
  • +///
  • app_remove
  • +///
  • app_store_refund
  • +///
  • app_store_subscription_cancel
  • +///
  • app_store_subscription_convert
  • +///
  • app_store_subscription_renew
  • +///
  • app_update
  • +///
  • app_upgrade
  • +///
  • dynamic_link_app_open
  • +///
  • dynamic_link_app_update
  • +///
  • dynamic_link_first_open
  • +///
  • error
  • +///
  • firebase_campaign
  • +///
  • first_open
  • +///
  • first_visit
  • +///
  • in_app_purchase
  • +///
  • notification_dismiss
  • +///
  • notification_foreground
  • +///
  • notification_open
  • +///
  • notification_receive
  • +///
  • os_update
  • +///
  • session_start
  • +///
  • session_start_with_rollout
  • +///
  • user_engagement
  • +///
+/// +/// @param name The name of the event. Should contain 1 to 40 alphanumeric characters or +/// underscores. The name must start with an alphabetic character. Some event names are +/// reserved. See FIREventNames.h for the list of reserved event names. The "firebase_", +/// "google_", and "ga_" prefixes are reserved and should not be used. Note that event names are +/// case-sensitive and that logging two events whose names differ only in case will result in +/// two distinct events. To manually log screen view events, use the `screen_view` event name. +/// @param parameters The dictionary of event parameters. Passing `nil` indicates that the event has +/// no parameters. Parameter names can be up to 40 characters long and must start with an +/// alphabetic character and contain only alphanumeric characters and underscores. Only String, +/// Int, and Double parameter types are supported. String parameter values can be up to 100 +/// characters long for standard Google Analytics properties, and up to 500 characters long for +/// Google Analytics 360 properties. The "firebase_", "google_", and "ga_" prefixes are reserved +/// and should not be used for parameter names. ++ (void)logEventWithName:(NSString *)name + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logEvent(_:parameters:)); + +/// Sets a user property to a given value. Up to 25 user property names are supported. Once set, +/// user property values persist throughout the app lifecycle and across sessions. +/// +/// The following user property names are reserved and cannot be used: +///
    +///
  • first_open_time
  • +///
  • last_deep_link_referrer
  • +///
  • user_id
  • +///
+/// +/// @param value The value of the user property. Values can be up to 36 characters long. Setting the +/// value to `nil` removes the user property. +/// @param name The name of the user property to set. Should contain 1 to 24 alphanumeric characters +/// or underscores and must start with an alphabetic character. The "firebase_", "google_", and +/// "ga_" prefixes are reserved and should not be used for user property names. ++ (void)setUserPropertyString:(nullable NSString *)value forName:(NSString *)name + NS_SWIFT_NAME(setUserProperty(_:forName:)); + +/// Sets the user ID property. This feature must be used in accordance with +/// Google's Privacy Policy +/// +/// @param userID The user ID to ascribe to the user of this app on this device, which must be +/// non-empty and no more than 256 characters long. Setting userID to `nil` removes the user ID. ++ (void)setUserID:(nullable NSString *)userID; + +/// Sets whether analytics collection is enabled for this app on this device. This setting is +/// persisted across app sessions. By default it is enabled. +/// +/// @param analyticsCollectionEnabled A flag that enables or disables Analytics collection. ++ (void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled; + +/// Sets the interval of inactivity in seconds that terminates the current session. The default +/// value is 1800 seconds (30 minutes). +/// +/// @param sessionTimeoutInterval The custom time of inactivity in seconds before the current +/// session terminates. ++ (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; + +/// Asynchronously retrieves the identifier of the current app session. +/// +/// The session ID retrieval could fail due to Analytics collection disabled, app session expired, +/// etc. +/// +/// @param completion The completion handler to call when the session ID retrieval is complete. This +/// handler is executed on a system-defined global concurrent queue. +/// This completion handler takes the following parameters: +/// sessionID The identifier of the current app session. The value is undefined if the +/// request failed. +/// error An error object that indicates why the request failed, or `nil` if the request +/// was successful. ++ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion; + +/// Returns the unique ID for this instance of the application or `nil` if +/// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`. +/// +/// @see `FIRAnalytics+Consent.h` ++ (nullable NSString *)appInstanceID; + +/// Clears all analytics data for this instance from the device and resets the app instance ID. ++ (void)resetAnalyticsData; + +/// Adds parameters that will be set on every event logged from the SDK, including automatic ones. +/// The values passed in the parameters dictionary will be added to the dictionary of default event +/// parameters. These parameters persist across app runs. They are of lower precedence than event +/// parameters, so if an event parameter and a parameter set using this API have the same name, the +/// value of the event parameter will be used. The same limitations on event parameters apply to +/// default event parameters. +/// +/// @param parameters Parameters to be added to the dictionary of parameters added to every event. +/// They will be added to the dictionary of default event parameters, replacing any existing +/// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's +/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all +/// parameters. ++ (void)setDefaultEventParameters:(nullable NSDictionary *)parameters; + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h new file mode 100644 index 00000000000..1e69a44158b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h @@ -0,0 +1,418 @@ +/// @file FIREventNames.h +/// +/// Predefined event names. +/// +/// An Event is an important occurrence in your app that you want to measure. You can report up to +/// 500 different types of Events per app and you can associate up to 25 unique parameters with each +/// Event type. Some common events are suggested below, but you may also choose to specify custom +/// Event types that are associated with your specific app. Each event type is identified by a +/// unique name. Event names can be up to 40 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. The "firebase_", +/// "google_", and "ga_" prefixes are reserved and should not be used. + +#import + +/// Ad Impression event. This event signifies when a user sees an ad impression. Note: If you supply +/// the @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAdPlatform (String) (optional)
  • +///
  • @c AnalyticsParameterAdFormat (String) (optional)
  • +///
  • @c AnalyticsParameterAdSource (String) (optional)
  • +///
  • @c AnalyticsParameterAdUnitName (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAdImpression NS_SWIFT_NAME(AnalyticsEventAdImpression) = + @"ad_impression"; + +/// Add Payment Info event. This event signifies that a user has submitted their payment +/// information. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterPaymentType (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddPaymentInfo NS_SWIFT_NAME(AnalyticsEventAddPaymentInfo) = + @"add_payment_info"; + +/// Add Shipping Info event. This event signifies that a user has submitted their shipping +/// information. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShippingTier (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddShippingInfo NS_SWIFT_NAME(AnalyticsEventAddShippingInfo) = + @"add_shipping_info"; + +/// E-Commerce Add To Cart event. This event signifies that an item(s) was added to a cart for +/// purchase. Add this event to a funnel with @c AnalyticsEventPurchase to gauge the effectiveness +/// of your checkout process. Note: If you supply the @c AnalyticsParameterValue parameter, you must +/// also supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddToCart NS_SWIFT_NAME(AnalyticsEventAddToCart) = @"add_to_cart"; + +/// E-Commerce Add To Wishlist event. This event signifies that an item was added to a wishlist. Use +/// this event to identify popular gift items. Note: If you supply the @c AnalyticsParameterValue +/// parameter, you must also supply the @c AnalyticsParameterCurrency parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventAddToWishlist NS_SWIFT_NAME(AnalyticsEventAddToWishlist) = + @"add_to_wishlist"; + +/// App Open event. By logging this event when an App becomes active, developers can understand how +/// often users leave and return during the course of a Session. Although Sessions are automatically +/// reported, this event can provide further clarification around the continuous engagement of +/// app-users. +static NSString *const kFIREventAppOpen NS_SWIFT_NAME(AnalyticsEventAppOpen) = @"app_open"; + +/// E-Commerce Begin Checkout event. This event signifies that a user has begun the process of +/// checking out. Add this event to a funnel with your @c AnalyticsEventPurchase event to gauge the +/// effectiveness of your checkout process. Note: If you supply the @c AnalyticsParameterValue +/// parameter, you must also supply the @c AnalyticsParameterCurrency parameter so that revenue +/// metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginCheckout) = + @"begin_checkout"; + +/// Campaign Detail event. Log this event to supply the referral details of a re-engagement +/// campaign. Note: you must supply at least one of the required parameters +/// AnalyticsParameterSource, AnalyticsParameterMedium or AnalyticsParameterCampaign. Params: +/// +///
    +///
  • @c AnalyticsParameterSource (String)
  • +///
  • @c AnalyticsParameterMedium (String)
  • +///
  • @c AnalyticsParameterCampaign (String)
  • +///
  • @c AnalyticsParameterTerm (String) (optional)
  • +///
  • @c AnalyticsParameterContent (String) (optional)
  • +///
  • @c AnalyticsParameterAdNetworkClickID (String) (optional)
  • +///
  • @c AnalyticsParameterCP1 (String) (optional)
  • +///
  • @c AnalyticsParameterCampaignID (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeFormat (String) (optional)
  • +///
  • @c AnalyticsParameterMarketingTactic (String) (optional)
  • +///
  • @c AnalyticsParameterSourcePlatform (String) (optional)
  • +///
+static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) = + @"campaign_details"; + +/// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log +/// this along with @c AnalyticsEventSpendVirtualCurrency to better understand your virtual economy. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • +///
  • @c AnalyticsParameterValue (Int or Double)
  • +///
+static NSString *const kFIREventEarnVirtualCurrency + NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency"; + +/// Generate Lead event. Log this event when a lead has been generated in the app to understand the +/// efficacy of your install and re-engagement campaigns. Note: If you supply the +/// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventGenerateLead NS_SWIFT_NAME(AnalyticsEventGenerateLead) = + @"generate_lead"; + +/// Join Group event. Log this event when a user joins a group such as a guild, team or family. Use +/// this event to analyze how popular certain groups or social features are in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterGroupID (String)
  • +///
+static NSString *const kFIREventJoinGroup NS_SWIFT_NAME(AnalyticsEventJoinGroup) = @"join_group"; + +/// Level End event. Log this event when the user finishes a level. Params: +/// +///
    +///
  • @c AnalyticsParameterLevelName (String)
  • +///
  • @c AnalyticsParameterSuccess (String)
  • +///
+static NSString *const kFIREventLevelEnd NS_SWIFT_NAME(AnalyticsEventLevelEnd) = @"level_end"; + +/// Level Start event. Log this event when the user starts a new level. Params: +/// +///
    +///
  • @c AnalyticsParameterLevelName (String)
  • +///
+static NSString *const kFIREventLevelStart NS_SWIFT_NAME(AnalyticsEventLevelStart) = @"level_start"; + +/// Level Up event. This event signifies that a player has leveled up in your gaming app. It can +/// help you gauge the level distribution of your userbase and help you identify certain levels that +/// are difficult to pass. Params: +/// +///
    +///
  • @c AnalyticsParameterLevel (Int)
  • +///
  • @c AnalyticsParameterCharacter (String) (optional)
  • +///
+static NSString *const kFIREventLevelUp NS_SWIFT_NAME(AnalyticsEventLevelUp) = @"level_up"; + +/// Login event. Apps with a login feature can report this event to signify that a user has logged +/// in. +static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"login"; + +/// Post Score event. Log this event when the user posts a score in your gaming app. This event can +/// help you understand how users are actually performing in your game and it can help you correlate +/// high scores with certain audiences or behaviors. Params: +/// +///
    +///
  • @c AnalyticsParameterScore (Int)
  • +///
  • @c AnalyticsParameterLevel (Int) (optional)
  • +///
  • @c AnalyticsParameterCharacter (String) (optional)
  • +///
+static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score"; + +/// E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: +/// This is different from the in-app purchase event, which is reported automatically for App +/// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also +/// supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed +/// accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterEndDate (String) (optional)
  • +///
  • @c AnalyticsParameterItemID (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShipping (Double) (optional)
  • +///
  • @c AnalyticsParameterStartDate (String) (optional)
  • +///
  • @c AnalyticsParameterTax (Double) (optional)
  • +///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventPurchase NS_SWIFT_NAME(AnalyticsEventPurchase) = @"purchase"; + +/// E-Commerce Refund event. This event signifies that a refund was issued. Note: If you supply the +/// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency +/// parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • +///
  • @c AnalyticsParameterCoupon (String) (optional)
  • +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterShipping (Double) (optional)
  • +///
  • @c AnalyticsParameterTax (Double) (optional)
  • +///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventRefund NS_SWIFT_NAME(AnalyticsEventRefund) = @"refund"; + +/// E-Commerce Remove from Cart event. This event signifies that an item(s) was removed from a cart. +/// Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply the @c +/// AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventRemoveFromCart NS_SWIFT_NAME(AnalyticsEventRemoveFromCart) = + @"remove_from_cart"; + +/// Screen View event. This event signifies a screen view. Use this when a screen transition occurs. +/// This event can be logged irrespective of whether automatic screen tracking is enabled. Params: +/// +///
    +///
  • @c AnalyticsParameterScreenClass (String) (optional)
  • +///
  • @c AnalyticsParameterScreenName (String) (optional)
  • +///
+static NSString *const kFIREventScreenView NS_SWIFT_NAME(AnalyticsEventScreenView) = @"screen_view"; + +/// Search event. Apps that support search features can use this event to contextualize search +/// operations by supplying the appropriate, corresponding parameters. This event can help you +/// identify the most popular content in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterSearchTerm (String)
  • +///
  • @c AnalyticsParameterStartDate (String) (optional)
  • +///
  • @c AnalyticsParameterEndDate (String) (optional)
  • +///
  • @c AnalyticsParameterNumberOfNights (Int) (optional) for hotel bookings
  • +///
  • @c AnalyticsParameterNumberOfRooms (Int) (optional) for hotel bookings
  • +///
  • @c AnalyticsParameterNumberOfPassengers (Int) (optional) for travel bookings
  • +///
  • @c AnalyticsParameterOrigin (String) (optional)
  • +///
  • @c AnalyticsParameterDestination (String) (optional)
  • +///
  • @c AnalyticsParameterTravelClass (String) (optional) for travel bookings
  • +///
+static NSString *const kFIREventSearch NS_SWIFT_NAME(AnalyticsEventSearch) = @"search"; + +/// Select Content event. This general purpose event signifies that a user has selected some content +/// of a certain type in an app. The content can be any object in your app. This event can help you +/// identify popular content and categories of content in your app. Params: +/// +///
    +///
  • @c AnalyticsParameterContentType (String)
  • +///
  • @c AnalyticsParameterItemID (String)
  • +///
+static NSString *const kFIREventSelectContent NS_SWIFT_NAME(AnalyticsEventSelectContent) = + @"select_content"; + +/// Select Item event. This event signifies that an item was selected by a user from a list. Use the +/// appropriate parameters to contextualize the event. Use this event to discover the most popular +/// items selected. Params: +/// +///
    +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterItemListID (String) (optional)
  • +///
  • @c AnalyticsParameterItemListName (String) (optional)
  • +///
+static NSString *const kFIREventSelectItem NS_SWIFT_NAME(AnalyticsEventSelectItem) = @"select_item"; + +/// Select promotion event. This event signifies that a user has selected a promotion offer. Use the +/// appropriate parameters to contextualize the event, such as the item(s) for which the promotion +/// applies. Params: +/// +///
    +///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterLocationID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • +///
+static NSString *const kFIREventSelectPromotion NS_SWIFT_NAME(AnalyticsEventSelectPromotion) = + @"select_promotion"; + +/// Share event. Apps with social features can log the Share event to identify the most viral +/// content. Params: +/// +///
    +///
  • @c AnalyticsParameterContentType (String)
  • +///
  • @c AnalyticsParameterItemID (String)
  • +///
+static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"share"; + +/// Sign Up event. This event indicates that a user has signed up for an account in your app. The +/// parameter signifies the method by which the user signed up. Use this event to understand the +/// different behaviors between logged in and logged out users. Params: +/// +///
    +///
  • @c AnalyticsParameterMethod (String)
  • +///
+static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up"; + +/// Spend Virtual Currency event. This event tracks the sale of virtual goods in your app and can +/// help you identify which virtual goods are the most popular objects of purchase. Params: +/// +///
    +///
  • @c AnalyticsParameterItemName (String)
  • +///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • +///
  • @c AnalyticsParameterValue (Int or Double)
  • +///
+static NSString *const kFIREventSpendVirtualCurrency + NS_SWIFT_NAME(AnalyticsEventSpendVirtualCurrency) = @"spend_virtual_currency"; + +/// Tutorial Begin event. This event signifies the start of the on-boarding process in your app. Use +/// this in a funnel with @c AnalyticsEventTutorialComplete to understand how many users complete +/// this process and move on to the full app experience. +static NSString *const kFIREventTutorialBegin NS_SWIFT_NAME(AnalyticsEventTutorialBegin) = + @"tutorial_begin"; + +/// Tutorial End event. Use this event to signify the user's completion of your app's on-boarding +/// process. Add this to a funnel with @c AnalyticsEventTutorialBegin to gauge the completion rate +/// of your on-boarding process. +static NSString *const kFIREventTutorialComplete NS_SWIFT_NAME(AnalyticsEventTutorialComplete) = + @"tutorial_complete"; + +/// Unlock Achievement event. Log this event when the user has unlocked an achievement in your +/// game. Since achievements generally represent the breadth of a gaming experience, this event can +/// help you understand how many users are experiencing all that your game has to offer. Params: +/// +///
    +///
  • @c AnalyticsParameterAchievementID (String)
  • +///
+static NSString *const kFIREventUnlockAchievement NS_SWIFT_NAME(AnalyticsEventUnlockAchievement) = + @"unlock_achievement"; + +/// E-commerce View Cart event. This event signifies that a user has viewed their cart. Use this to +/// analyze your purchase funnel. Note: If you supply the @c AnalyticsParameterValue parameter, you +/// must also supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be +/// computed accurately. Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventViewCart NS_SWIFT_NAME(AnalyticsEventViewCart) = @"view_cart"; + +/// View Item event. This event signifies that a user has viewed an item. Use the appropriate +/// parameters to contextualize the event. Use this event to discover the most popular items viewed +/// in your app. Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply +/// the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. +/// Params: +/// +///
    +///
  • @c AnalyticsParameterCurrency (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterValue (Double) (optional)
  • +///
+static NSString *const kFIREventViewItem NS_SWIFT_NAME(AnalyticsEventViewItem) = @"view_item"; + +/// View Item List event. Log this event when a user sees a list of items or offerings. Params: +/// +///
    +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterItemListID (String) (optional)
  • +///
  • @c AnalyticsParameterItemListName (String) (optional)
  • +///
+static NSString *const kFIREventViewItemList NS_SWIFT_NAME(AnalyticsEventViewItemList) = + @"view_item_list"; + +/// View Promotion event. This event signifies that a promotion was shown to a user. Add this event +/// to a funnel with the @c AnalyticsEventAddToCart and @c AnalyticsEventPurchase to gauge your +/// conversion process. Params: +/// +///
    +///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • +///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • +///
  • @c AnalyticsParameterItems ([[String: Any]]) (optional)
  • +///
  • @c AnalyticsParameterLocationID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • +///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • +///
+static NSString *const kFIREventViewPromotion NS_SWIFT_NAME(AnalyticsEventViewPromotion) = + @"view_promotion"; + +/// View Search Results event. Log this event when the user has been presented with the results of a +/// search. Params: +/// +///
    +///
  • @c AnalyticsParameterSearchTerm (String)
  • +///
+static NSString *const kFIREventViewSearchResults NS_SWIFT_NAME(AnalyticsEventViewSearchResults) = + @"view_search_results"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h new file mode 100644 index 00000000000..58a5a21df3b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h @@ -0,0 +1,722 @@ +/// @file FIRParameterNames.h +/// +/// Predefined event parameter names. +/// +/// Params supply information that contextualize Events. You can associate up to 25 unique Params +/// with each Event type. Some Params are suggested below for certain common Events, but you are +/// not limited to these. You may supply extra Params for suggested Events or custom Params for +/// Custom events. Param names can be up to 40 characters long, may only contain alphanumeric +/// characters and underscores ("_"), and must start with an alphabetic character. Param values can +/// be up to 100 characters long for standard Google Analytics properties and up to 500 characters +/// long for Google Analytics 360 properties. The "firebase_", "google_", and "ga_" prefixes are +/// reserved and should not be used. + +#import + +/// Game achievement ID (String). +///
+///     let params = [
+///       AnalyticsParameterAchievementID : "10_matches_won",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAchievementID NS_SWIFT_NAME(AnalyticsParameterAchievementID) = + @"achievement_id"; + +/// The ad format (e.g. Banner, Interstitial, Rewarded, Native, Rewarded Interstitial, Instream). +/// (String). +///
+///     let params = [
+///       AnalyticsParameterAdFormat : "Banner",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdFormat NS_SWIFT_NAME(AnalyticsParameterAdFormat) = + @"ad_format"; + +/// Ad Network Click ID (String). Used for network-specific click IDs which vary in format. +///
+///     let params = [
+///       AnalyticsParameterAdNetworkClickID : "1234567",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdNetworkClickID + NS_SWIFT_NAME(AnalyticsParameterAdNetworkClickID) = @"aclid"; + +/// The ad platform (e.g. MoPub, IronSource) (String). +///
+///     let params = [
+///       AnalyticsParameterAdPlatform : "MoPub",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdPlatform NS_SWIFT_NAME(AnalyticsParameterAdPlatform) = + @"ad_platform"; + +/// The ad source (e.g. AdColony) (String). +///
+///     let params = [
+///       AnalyticsParameterAdSource : "AdColony",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdSource NS_SWIFT_NAME(AnalyticsParameterAdSource) = + @"ad_source"; + +/// The ad unit name (e.g. Banner_03) (String). +///
+///     let params = [
+///       AnalyticsParameterAdUnitName : "Banner_03",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAdUnitName NS_SWIFT_NAME(AnalyticsParameterAdUnitName) = + @"ad_unit_name"; + +/// A product affiliation to designate a supplying company or brick and mortar store location +/// (String).
+///     let params = [
+///       AnalyticsParameterAffiliation : "Google Store",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterAffiliation NS_SWIFT_NAME(AnalyticsParameterAffiliation) = + @"affiliation"; + +/// Campaign custom parameter (String). Used as a method of capturing custom data in a campaign. +/// Use varies by network. +///
+///     let params = [
+///       AnalyticsParameterCP1 : "custom_data",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCP1 NS_SWIFT_NAME(AnalyticsParameterCP1) = @"cp1"; + +/// The individual campaign name, slogan, promo code, etc. Some networks have pre-defined macro to +/// capture campaign information, otherwise can be populated by developer. Highly Recommended +/// (String). +///
+///     let params = [
+///       AnalyticsParameterCampaign : "winter_promotion",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCampaign NS_SWIFT_NAME(AnalyticsParameterCampaign) = + @"campaign"; + +/// Campaign ID (String). Used for keyword analysis to identify a specific product promotion or +/// strategic campaign. This is a required key for GA4 data import. +///
+///     let params = [
+///       AnalyticsParameterCampaignID : "7877652710",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCampaignID NS_SWIFT_NAME(AnalyticsParameterCampaignID) = + @"campaign_id"; + +/// Character used in game (String). +///
+///     let params = [
+///       AnalyticsParameterCharacter : "beat_boss",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) = + @"character"; + +/// Campaign content (String). +static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content"; + +/// Type of content selected (String). +///
+///     let params = [
+///       AnalyticsParameterContentType : "news article",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterContentType NS_SWIFT_NAME(AnalyticsParameterContentType) = + @"content_type"; + +/// Coupon code used for a purchase (String). +///
+///     let params = [
+///       AnalyticsParameterCoupon : "SUMMER_FUN",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCoupon NS_SWIFT_NAME(AnalyticsParameterCoupon) = @"coupon"; + +/// Creative Format (String). Used to identify the high-level classification of the type of ad +/// served by a specific campaign. +///
+///     let params = [
+///       AnalyticsParameterCreativeFormat : "display",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeFormat NS_SWIFT_NAME(AnalyticsParameterCreativeFormat) = + @"creative_format"; + +/// The name of a creative used in a promotional spot (String). +///
+///     let params = [
+///       AnalyticsParameterCreativeName : "Summer Sale",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeName NS_SWIFT_NAME(AnalyticsParameterCreativeName) = + @"creative_name"; + +/// The name of a creative slot (String). +///
+///     let params = [
+///       AnalyticsParameterCreativeSlot : "summer_banner2",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCreativeSlot NS_SWIFT_NAME(AnalyticsParameterCreativeSlot) = + @"creative_slot"; + +/// Currency of the purchase or items associated with the event, in 3-letter +/// ISO_4217 format (String). +///
+///     let params = [
+///       AnalyticsParameterCurrency : "USD",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterCurrency NS_SWIFT_NAME(AnalyticsParameterCurrency) = + @"currency"; + +/// Flight or Travel destination (String). +///
+///     let params = [
+///       AnalyticsParameterDestination : "Mountain View, CA",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterDestination NS_SWIFT_NAME(AnalyticsParameterDestination) = + @"destination"; + +/// Monetary value of discount associated with a purchase (Double). +///
+///     let params = [
+///       AnalyticsParameterDiscount : 2.0,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $2.00 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterDiscount NS_SWIFT_NAME(AnalyticsParameterDiscount) = + @"discount"; + +/// The arrival date, check-out date or rental end date for the item. This should be in +/// YYYY-MM-DD format (String). +///
+///     let params = [
+///       AnalyticsParameterEndDate : "2015-09-14",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterEndDate NS_SWIFT_NAME(AnalyticsParameterEndDate) = @"end_date"; + +/// Indicates that the associated event should either extend the current session or start a new +/// session if no session was active when the event was logged. Specify 1 to extend the current +/// session or to start a new session; any other value will not extend or start a session. +///
+///     let params = [
+///       AnalyticsParameterExtendSession : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterExtendSession NS_SWIFT_NAME(AnalyticsParameterExtendSession) = + @"extend_session"; + +/// Flight number for travel events (String). +///
+///     let params = [
+///       AnalyticsParameterFlightNumber : "ZZ800",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterFlightNumber NS_SWIFT_NAME(AnalyticsParameterFlightNumber) = + @"flight_number"; + +/// Group/clan/guild ID (String). +///
+///     let params = [
+///       AnalyticsParameterGroupID : "g1",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterGroupID NS_SWIFT_NAME(AnalyticsParameterGroupID) = @"group_id"; + +/// The index of the item in a list (Int). +///
+///     let params = [
+///       AnalyticsParameterIndex : 5,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterIndex NS_SWIFT_NAME(AnalyticsParameterIndex) = @"index"; + +/// Item brand (String). +///
+///     let params = [
+///       AnalyticsParameterItemBrand : "Google",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemBrand NS_SWIFT_NAME(AnalyticsParameterItemBrand) = + @"item_brand"; + +/// Item category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory NS_SWIFT_NAME(AnalyticsParameterItemCategory) = + @"item_category"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory2 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory2 NS_SWIFT_NAME(AnalyticsParameterItemCategory2) = + @"item_category2"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory3 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory3 NS_SWIFT_NAME(AnalyticsParameterItemCategory3) = + @"item_category3"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory4 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory4 NS_SWIFT_NAME(AnalyticsParameterItemCategory4) = + @"item_category4"; + +/// Item Category (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemCategory5 : "pants",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemCategory5 NS_SWIFT_NAME(AnalyticsParameterItemCategory5) = + @"item_category5"; + +/// Item ID (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemID : "SKU_12345",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id"; + +/// The ID of the list in which the item was presented to the user (String). +///
+///     let params = [
+///       AnalyticsParameterItemListID : "ABC123",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemListID NS_SWIFT_NAME(AnalyticsParameterItemListID) = + @"item_list_id"; + +/// The name of the list in which the item was presented to the user (String). +///
+///     let params = [
+///       AnalyticsParameterItemListName : "Related products",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemListName NS_SWIFT_NAME(AnalyticsParameterItemListName) = + @"item_list_name"; + +/// Item Name (context-specific) (String). +///
+///     let params = [
+///       AnalyticsParameterItemName : "jeggings",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemName NS_SWIFT_NAME(AnalyticsParameterItemName) = + @"item_name"; + +/// Item variant (String). +///
+///     let params = [
+///       AnalyticsParameterItemVariant : "Black",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterItemVariant NS_SWIFT_NAME(AnalyticsParameterItemVariant) = + @"item_variant"; + +/// The list of items involved in the transaction expressed as `[[String: Any]]`. +///
+///     let params = [
+///       AnalyticsParameterItems : [
+///         [AnalyticsParameterItemName : "jeggings", AnalyticsParameterItemCategory : "pants"],
+///         [AnalyticsParameterItemName : "boots", AnalyticsParameterItemCategory : "shoes"],
+///       ],
+///     ]
+/// 
+static NSString *const kFIRParameterItems NS_SWIFT_NAME(AnalyticsParameterItems) = @"items"; + +/// Level in game (Int). +///
+///     let params = [
+///       AnalyticsParameterLevel : 42,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLevel NS_SWIFT_NAME(AnalyticsParameterLevel) = @"level"; + +/// The name of a level in a game (String). +///
+///     let params = [
+///       AnalyticsParameterLevelName : "room_1",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLevelName NS_SWIFT_NAME(AnalyticsParameterLevelName) = + @"level_name"; + +/// Location (String). The Google Place ID +/// that corresponds to the associated event. Alternatively, you can supply your own custom +/// Location ID. +///
+///     let params = [
+///       AnalyticsParameterLocation : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLocation NS_SWIFT_NAME(AnalyticsParameterLocation) = + @"location"; + +/// The location associated with the event. Preferred to be the Google +/// Place ID that corresponds to the +/// associated item but could be overridden to a custom location ID string.(String). +///
+///     let params = [
+///       AnalyticsParameterLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterLocationID NS_SWIFT_NAME(AnalyticsParameterLocationID) = + @"location_id"; + +/// Marketing Tactic (String). Used to identify the targeting criteria applied to a specific +/// campaign. +///
+///     let params = [
+///       AnalyticsParameterMarketingTactic : "Remarketing",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMarketingTactic + NS_SWIFT_NAME(AnalyticsParameterMarketingTactic) = @"marketing_tactic"; + +/// The advertising or marketing medium, for example: cpc, banner, email, push. Highly recommended +/// (String). +///
+///     let params = [
+///       AnalyticsParameterMedium : "email",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMedium NS_SWIFT_NAME(AnalyticsParameterMedium) = @"medium"; + +/// A particular approach used in an operation; for example, "facebook" or "email" in the context +/// of a sign_up or login event. (String). +///
+///     let params = [
+///       AnalyticsParameterMethod : "google",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterMethod NS_SWIFT_NAME(AnalyticsParameterMethod) = @"method"; + +/// Number of nights staying at hotel (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfNights : 3,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfNights + NS_SWIFT_NAME(AnalyticsParameterNumberOfNights) = @"number_of_nights"; + +/// Number of passengers traveling (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfPassengers : 11,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfPassengers + NS_SWIFT_NAME(AnalyticsParameterNumberOfPassengers) = @"number_of_passengers"; + +/// Number of rooms for travel events (Int). +///
+///     let params = [
+///       AnalyticsParameterNumberOfRooms : 2,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterNumberOfRooms NS_SWIFT_NAME(AnalyticsParameterNumberOfRooms) = + @"number_of_rooms"; + +/// Flight or Travel origin (String). +///
+///     let params = [
+///       AnalyticsParameterOrigin : "Mountain View, CA",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterOrigin NS_SWIFT_NAME(AnalyticsParameterOrigin) = @"origin"; + +/// The chosen method of payment (String). +///
+///     let params = [
+///       AnalyticsParameterPaymentType : "Visa",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPaymentType NS_SWIFT_NAME(AnalyticsParameterPaymentType) = + @"payment_type"; + +/// Purchase price (Double). +///
+///     let params = [
+///       AnalyticsParameterPrice : 1.0,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $1.00 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPrice NS_SWIFT_NAME(AnalyticsParameterPrice) = @"price"; + +/// The ID of a product promotion (String). +///
+///     let params = [
+///       AnalyticsParameterPromotionID : "ABC123",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPromotionID NS_SWIFT_NAME(AnalyticsParameterPromotionID) = + @"promotion_id"; + +/// The name of a product promotion (String). +///
+///     let params = [
+///       AnalyticsParameterPromotionName : "Summer Sale",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterPromotionName NS_SWIFT_NAME(AnalyticsParameterPromotionName) = + @"promotion_name"; + +/// Purchase quantity (Int). +///
+///     let params = [
+///       AnalyticsParameterQuantity : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterQuantity NS_SWIFT_NAME(AnalyticsParameterQuantity) = + @"quantity"; + +/// Score in game (Int). +///
+///     let params = [
+///       AnalyticsParameterScore : 4200,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScore NS_SWIFT_NAME(AnalyticsParameterScore) = @"score"; + +/// Current screen class, such as the class name of the UIViewController, logged with screen_view +/// event and added to every event (String). +///
+///     let params = [
+///       AnalyticsParameterScreenClass : "LoginViewController",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScreenClass NS_SWIFT_NAME(AnalyticsParameterScreenClass) = + @"screen_class"; + +/// Current screen name, such as the name of the UIViewController, logged with screen_view event and +/// added to every event (String). +///
+///     let params = [
+///       AnalyticsParameterScreenName : "LoginView",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterScreenName NS_SWIFT_NAME(AnalyticsParameterScreenName) = + @"screen_name"; + +/// The search string/keywords used (String). +///
+///     let params = [
+///       AnalyticsParameterSearchTerm : "periodic table",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSearchTerm NS_SWIFT_NAME(AnalyticsParameterSearchTerm) = + @"search_term"; + +/// Shipping cost associated with a transaction (Double). +///
+///     let params = [
+///       AnalyticsParameterShipping : 5.99,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $5.99 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShipping) = + @"shipping"; + +/// The shipping tier (e.g. Ground, Air, Next-day) selected for delivery of the purchased item +/// (String). +///
+///     let params = [
+///       AnalyticsParameterShippingTier : "Ground",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterShippingTier NS_SWIFT_NAME(AnalyticsParameterShippingTier) = + @"shipping_tier"; + +/// The origin of your traffic, such as an Ad network (for example, google) or partner (urban +/// airship). Identify the advertiser, site, publication, etc. that is sending traffic to your +/// property. Highly recommended (String). +///
+///     let params = [
+///       AnalyticsParameterSource : "InMobi",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSource NS_SWIFT_NAME(AnalyticsParameterSource) = @"source"; + +/// Source Platform (String). Used to identify the platform responsible for directing traffic to a +/// given Analytics property (e.g., a buying platform where budgets, targeting criteria, etc. are +/// set, a platform for managing organic traffic data, etc.). +///
+///     let params = [
+///       AnalyticsParameterSourcePlatform : "sa360",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSourcePlatform NS_SWIFT_NAME(AnalyticsParameterSourcePlatform) = + @"source_platform"; + +/// The departure date, check-in date or rental start date for the item. This should be in +/// YYYY-MM-DD format (String). +///
+///     let params = [
+///       AnalyticsParameterStartDate : "2015-09-14",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterStartDate NS_SWIFT_NAME(AnalyticsParameterStartDate) = + @"start_date"; + +/// The result of an operation. Specify 1 to indicate success and 0 to indicate failure (Int). +///
+///     let params = [
+///       AnalyticsParameterSuccess : 1,
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterSuccess NS_SWIFT_NAME(AnalyticsParameterSuccess) = @"success"; + +/// Tax cost associated with a transaction (Double). +///
+///     let params = [
+///       AnalyticsParameterTax : 2.43,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $2.43 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTax NS_SWIFT_NAME(AnalyticsParameterTax) = @"tax"; + +/// If you're manually tagging keyword campaigns, you should use utm_term to specify the keyword +/// (String). +///
+///     let params = [
+///       AnalyticsParameterTerm : "game",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTerm NS_SWIFT_NAME(AnalyticsParameterTerm) = @"term"; + +/// The unique identifier of a transaction (String). +///
+///     let params = [
+///       AnalyticsParameterTransactionID : "T12345",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTransactionID NS_SWIFT_NAME(AnalyticsParameterTransactionID) = + @"transaction_id"; + +/// Travel class (String). +///
+///     let params = [
+///       AnalyticsParameterTravelClass : "business",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterTravelClass NS_SWIFT_NAME(AnalyticsParameterTravelClass) = + @"travel_class"; + +/// A context-specific numeric value which is accumulated automatically for each event type. This is +/// a general purpose parameter that is useful for accumulating a key metric that pertains to an +/// event. Examples include revenue, distance, time and points. Value should be specified as Int or +/// Double. +/// Notes: Values for pre-defined currency-related events (such as @c AnalyticsEventAddToCart) +/// should be supplied using Double and must be accompanied by a @c AnalyticsParameterCurrency +/// parameter. The valid range of accumulated values is +/// [-9,223,372,036,854.77, 9,223,372,036,854.77]. Supplying a non-numeric value, omitting the +/// corresponding @c AnalyticsParameterCurrency parameter, or supplying an invalid +/// currency code for conversion events will cause that +/// conversion to be omitted from reporting. +///
+///     let params = [
+///       AnalyticsParameterValue : 3.99,
+///       AnalyticsParameterCurrency : "USD",  // e.g. $3.99 USD
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterValue NS_SWIFT_NAME(AnalyticsParameterValue) = @"value"; + +/// Name of virtual currency type (String). +///
+///     let params = [
+///       AnalyticsParameterVirtualCurrencyName : "virtual_currency_name",
+///       // ...
+///     ]
+/// 
+static NSString *const kFIRParameterVirtualCurrencyName + NS_SWIFT_NAME(AnalyticsParameterVirtualCurrencyName) = @"virtual_currency_name"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h new file mode 100644 index 00000000000..2442d8a7ba7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h @@ -0,0 +1,28 @@ +/// @file FIRUserPropertyNames.h +/// +/// Predefined user property names. +/// +/// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can +/// later analyze different behaviors of various segments of your userbase. You may supply up to 25 +/// unique UserProperties per app, and you can use the name and value of your choosing for each one. +/// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and +/// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to +/// 36 characters long. The "firebase_", "google_", and "ga_" prefixes are reserved and should not +/// be used. + +#import + +/// Indicates whether events logged by Google Analytics can be used to personalize ads for the user. +/// Set to "YES" to enable, or "NO" to disable. Default is enabled. See the +/// documentation for +/// more details and information about related settings. +/// +///
+///     Analytics.setUserProperty("NO", forName: AnalyticsUserPropertyAllowAdPersonalizationSignals)
+/// 
+static NSString *const kFIRUserPropertyAllowAdPersonalizationSignals + NS_SWIFT_NAME(AnalyticsUserPropertyAllowAdPersonalizationSignals) = @"allow_personalized_ads"; + +/// The method used to sign in. For example, "google", "facebook" or "twitter". +static NSString *const kFIRUserPropertySignUpMethod + NS_SWIFT_NAME(AnalyticsUserPropertySignUpMethod) = @"sign_up_method"; diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h new file mode 100644 index 00000000000..3dbf01a8de9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-Swift.h @@ -0,0 +1,620 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEANALYTICS_SWIFT_H +#define FIREBASEANALYTICS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseAnalytics",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEANALYTICS_SWIFT_H +#define FIREBASEANALYTICS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseAnalytics",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h new file mode 100644 index 00000000000..ad84fbb8f60 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h @@ -0,0 +1,24 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FirebaseAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +FOUNDATION_EXPORT double FirebaseAnalyticsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAnalyticsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h new file mode 100644 index 00000000000..351da20a92a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h @@ -0,0 +1,7 @@ +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist new file mode 100644 index 00000000000..6a51dbd59ef --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 23G93 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAnalytics + CFBundleIdentifier + org.cocoapods.FirebaseAnalytics + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAnalytics + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo new file mode 100644 index 00000000000..10bf057a4d2 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo new file mode 100644 index 00000000000..7c406b6fb36 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.abi.json new file mode 100644 index 00000000000..665fe288dc6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.abi.json @@ -0,0 +1,288 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "Import", + "name": "SwiftUI", + "printedName": "SwiftUI", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "TypeDecl", + "name": "Analytics", + "printedName": "Analytics", + "children": [ + { + "kind": "Function", + "name": "logTransaction", + "printedName": "logTransaction(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transaction", + "printedName": "StoreKit.Transaction", + "usr": "s:8StoreKit11TransactionV" + } + ], + "declKind": "Func", + "usr": "s:So12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "mangledName": "$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "moduleName": "FirebaseAnalytics", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)FIRAnalytics", + "moduleName": "FirebaseAnalytics", + "isOpen": true, + "objc_name": "FIRAnalytics", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "View", + "printedName": "View", + "children": [ + { + "kind": "Function", + "name": "analyticsScreen", + "printedName": "analyticsScreen(name:class:extraParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModifiedContent", + "printedName": "SwiftUI.ModifiedContent<Ï„_0_0, FirebaseAnalytics.LoggedAnalyticsModifier>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + }, + { + "kind": "TypeNominal", + "name": "LoggedAnalyticsModifier", + "printedName": "FirebaseAnalytics.LoggedAnalyticsModifier", + "usr": "s:17FirebaseAnalytics06LoggedB8ModifierV" + } + ], + "usr": "s:7SwiftUI15ModifiedContentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "hasDefaultArg": true, + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "mangledName": "$s7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "moduleName": "FirebaseAnalytics", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : SwiftUI.View>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:7SwiftUI4ViewP", + "mangledName": "$s7SwiftUI4ViewP", + "moduleName": "SwiftUI", + "genericSig": "<Ï„_0_0.Body : SwiftUI.View>", + "sugared_genericSig": "", + "intro_Macosx": "10.15", + "intro_iOS": "13.0", + "intro_tvOS": "13.0", + "intro_watchOS": "6.0", + "declAttributes": [ + "TypeEraser", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1259, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1297, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2523, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2564, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2607, + "length": 1, + "value": "2" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2651, + "length": 1, + "value": "3" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2683, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "StringLiteral", + "offset": 2654, + "length": 6, + "value": "\"View\"" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "Dictionary", + "offset": 2701, + "length": 3, + "value": "[]" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface new file mode 100644 index 00000000000..4f9c398b399 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-tvos13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.swiftdoc new file mode 100644 index 00000000000..389577d1616 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.swiftinterface new file mode 100644 index 00000000000..4f9c398b399 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/arm64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-tvos13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.abi.json new file mode 100644 index 00000000000..665fe288dc6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.abi.json @@ -0,0 +1,288 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "Import", + "name": "SwiftUI", + "printedName": "SwiftUI", + "declKind": "Import", + "moduleName": "FirebaseAnalytics" + }, + { + "kind": "TypeDecl", + "name": "Analytics", + "printedName": "Analytics", + "children": [ + { + "kind": "Function", + "name": "logTransaction", + "printedName": "logTransaction(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transaction", + "printedName": "StoreKit.Transaction", + "usr": "s:8StoreKit11TransactionV" + } + ], + "declKind": "Func", + "usr": "s:So12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "mangledName": "$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ", + "moduleName": "FirebaseAnalytics", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)FIRAnalytics", + "moduleName": "FirebaseAnalytics", + "isOpen": true, + "objc_name": "FIRAnalytics", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "View", + "printedName": "View", + "children": [ + { + "kind": "Function", + "name": "analyticsScreen", + "printedName": "analyticsScreen(name:class:extraParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModifiedContent", + "printedName": "SwiftUI.ModifiedContent<Ï„_0_0, FirebaseAnalytics.LoggedAnalyticsModifier>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + }, + { + "kind": "TypeNominal", + "name": "LoggedAnalyticsModifier", + "printedName": "FirebaseAnalytics.LoggedAnalyticsModifier", + "usr": "s:17FirebaseAnalytics06LoggedB8ModifierV" + } + ], + "usr": "s:7SwiftUI15ModifiedContentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "hasDefaultArg": true, + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "mangledName": "$s7SwiftUI4ViewP17FirebaseAnalyticsE15analyticsScreen4name5class15extraParametersQrSS_SSSDySSypGtF", + "moduleName": "FirebaseAnalytics", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : SwiftUI.View>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:7SwiftUI4ViewP", + "mangledName": "$s7SwiftUI4ViewP", + "moduleName": "SwiftUI", + "genericSig": "<Ï„_0_0.Body : SwiftUI.View>", + "sugared_genericSig": "", + "intro_Macosx": "10.15", + "intro_iOS": "13.0", + "intro_tvOS": "13.0", + "intro_watchOS": "6.0", + "declAttributes": [ + "TypeEraser", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1259, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "BooleanLiteral", + "offset": 1297, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2523, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2564, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2607, + "length": 1, + "value": "2" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2651, + "length": 1, + "value": "3" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+StoreKit.swift", + "kind": "IntegerLiteral", + "offset": 2683, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "StringLiteral", + "offset": 2654, + "length": 6, + "value": "\"View\"" + }, + { + "filePath": "\/Volumes\/google\/src\/cloud\/hantran\/m152\/google3\/googlemac\/iPhone\/Firebase\/Analytics\/Sources\/Swift\/Analytics+SwiftUI.swift", + "kind": "Dictionary", + "offset": 2701, + "length": 3, + "value": "[]" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface new file mode 100644 index 00000000000..fd735f73e2a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-tvos13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc new file mode 100644 index 00000000000..82cf8a88c86 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface new file mode 100644 index 00000000000..fd735f73e2a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,22 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-tvos13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseAnalytics +import StoreKit +import Swift +import SwiftUI +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) +@available(watchOS, unavailable) +extension FirebaseAnalytics.Analytics { + public static func logTransaction(_ transaction: StoreKit.Transaction) +} +@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) +@available(watchOS, unavailable) +extension SwiftUI.View { + public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View + +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap new file mode 100644 index 00000000000..fa10817ef61 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap @@ -0,0 +1,16 @@ +framework module FirebaseAnalytics { +umbrella header "FirebaseAnalytics-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "SystemConfiguration" + link framework "UIKit" + link "c++" + link "sqlite3" + link "z" +} +module FirebaseAnalytics.Swift { + header "FirebaseAnalytics-Swift.h" + requires objc +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/Info.plist new file mode 100644 index 00000000000..eab9aa3a153 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/Info.plist @@ -0,0 +1,139 @@ + + + + + AvailableLibraries + + + BinaryPath + FirebaseAppCheck.framework/FirebaseAppCheck + LibraryIdentifier + ios-arm64 + LibraryPath + FirebaseAppCheck.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + FirebaseAppCheck.framework/FirebaseAppCheck + LibraryIdentifier + watchos-arm64_x86_64-simulator + LibraryPath + FirebaseAppCheck.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + watchos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseAppCheck.framework/FirebaseAppCheck + LibraryIdentifier + tvos-arm64 + LibraryPath + FirebaseAppCheck.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + FirebaseAppCheck.framework/Versions/A/FirebaseAppCheck + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FirebaseAppCheck.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + BinaryPath + FirebaseAppCheck.framework/Versions/A/FirebaseAppCheck + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + FirebaseAppCheck.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + BinaryPath + FirebaseAppCheck.framework/FirebaseAppCheck + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FirebaseAppCheck.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseAppCheck.framework/FirebaseAppCheck + LibraryIdentifier + watchos-arm64_arm64_32 + LibraryPath + FirebaseAppCheck.framework + SupportedArchitectures + + arm64 + arm64_32 + + SupportedPlatform + watchos + + + BinaryPath + FirebaseAppCheck.framework/FirebaseAppCheck + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FirebaseAppCheck.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/FirebaseAppCheck b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/FirebaseAppCheck new file mode 100644 index 00000000000..0fabeb9a713 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/FirebaseAppCheck differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h new file mode 100644 index 00000000000..e75042102ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h @@ -0,0 +1,65 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +#import "FIRAppCheckAvailability.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppAttestProvider) +@interface FIRAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `AppAttestProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheck.h new file mode 100644 index 00000000000..f7a6e11e594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheck.h @@ -0,0 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRAppCheckToken; +@protocol FIRAppCheckProviderFactory; + +NS_ASSUME_NONNULL_BEGIN + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `kFIRAppCheckTokenNotificationKey` and +/// `kFIRAppCheckAppNameNotificationKey` keys. +FOUNDATION_EXPORT const NSNotificationName + FIRAppCheckAppCheckTokenDidChangeNotification NS_SWIFT_NAME(AppCheckTokenDidChange); + +/// `userInfo` key for the `FirebaseApp.name` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckTokenNotificationKey NS_SWIFT_NAME(AppCheckTokenNotificationKey); +/// `userInfo` key for the `AppCheckToken` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckAppNameNotificationKey NS_SWIFT_NAME(AppCheckAppNameNotificationKey); + +/// A class used to manage app check tokens for a given Firebase app. +NS_SWIFT_NAME(AppCheck) +@interface FIRAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns a default instance of `AppCheck`. +/// @return An instance of `AppCheck` for `FirebaseApp.defaultApp()`. +/// @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` +/// options are missing. ++ (instancetype)appCheck NS_SWIFT_NAME(appCheck()); + +/// Returns an instance of `AppCheck` for an application. +/// @param firebaseApp A configured `FirebaseApp` instance if exists. +/// @return An instance of `AppCheck` corresponding to the passed application. +/// @throw Throws an exception if required `FirebaseApp` options are missing. ++ (nullable instancetype)appCheckWithApp:(FIRApp *)firebaseApp NS_SWIFT_NAME(appCheck(app:)); + +/// Sets the `AppCheckProviderFactory` to use to generate +/// `AppCheckDebugProvider` objects. +/// +/// An instance of `DeviceCheckProviderFactory` is used by default, but you can +/// also use a custom `AppCheckProviderFactory` implementation or an +/// instance of `AppCheckDebugProviderFactory` to test your app on a simulator +/// on a local machine or a build server. +/// +/// NOTE: Make sure to call this method before `FirebaseApp.configure()`. If +/// this method is called after configuring Firebase, the changes will not take +/// effect. ++ (void)setAppCheckProviderFactory:(nullable id)factory; + +/// If this flag is disabled then Firebase app check will not periodically auto-refresh the app +/// check token. The default value of the flag is equal to +/// `FirebaseApp.dataCollectionDefaultEnabled`. To disable the flag by default set +/// `FirebaseAppCheckTokenAutoRefreshEnabled` flag in the app Info.plist to `NO`. Once the flag is +/// set explicitly, the value will be persisted and used as a default value on next app launches. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +/// Requests Firebase app check token. This method should *only* be used if you need to authorize +/// requests to a non-Firebase backend. Requests to Firebase backend are authorized automatically if +/// configured. +/// +/// If your non-Firebase backend exposes sensitive or expensive endpoints that have low traffic +/// volume, consider protecting it with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// In this case, use the ``limitedUseToken(completion:)`` instead to obtain a limited-use token. +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler. Includes the app check token if the request succeeds, +/// or an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Requests a limited-use Firebase App Check token. This method should be used only if you need to +/// authorize requests to a non-Firebase backend. +/// +/// Returns limited-use tokens that are intended for use with your non-Firebase backend endpoints +/// that are protected with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +- (void)limitedUseTokenWithCompletion:(void (^)(FIRAppCheckToken *_Nullable token, + NSError *_Nullable error))handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h new file mode 100644 index 00000000000..45f7457b010 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h @@ -0,0 +1,44 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// Targets where DeviceCheck framework is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_DEVICE_CHECK_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `DeviceCheckProvider` availability. +#define FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// Targets where `DCAppAttestService` is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_APP_ATTEST_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `AppAttestProvider` availability annotations +#define FIR_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h new file mode 100644 index 00000000000..08502c6d8f6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// A Firebase App Check provider that can exchange a debug token registered +/// in the Firebase console for a Firebase App Check token. The debug provider +/// is designed to enable testing applications on a simulator or test +/// environment. +/// +/// NOTE: Do not use the debug provider in applications used by real users. +/// +/// WARNING: Keep the Firebase App Check debug token secret. If you +/// accidentally share one (e.g. commit to a public source repo), remove it in +/// the Firebase console ASAP. +/// +/// To use `AppCheckDebugProvider` on a local simulator: +/// 1. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()`: +/// ```AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())``` +/// 2. Enable debug logging by adding the `-FIRDebugEnabled` launch argument to +/// the app target. +/// 3. Launch the app. A local debug token will be logged when Firebase is +/// configured. For example: +/// "[Firebase/AppCheck][I-FAA001001] Firebase App Check Debug Token: +/// '3BA09C8C-8A0D-4030-ACD5-B96D99DB73F9'". +/// 4. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered the debug provider will be able to provide a valid Firebase +/// App Check token. +/// +/// To use `AppCheckDebugProvider` on a simulator on a build server: +/// 1. Create a new Firebase App Check debug token in the Firebase console +/// 2. Add the debug token to the secure storage of your build environment. E.g. see [Encrypted +/// secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for GitHub Actions, +/// etc. +/// 3. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()` +/// `AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())` +/// 4. Add an environment variable to the scheme with a name `FIRAAppCheckDebugToken` and value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as the environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +/// +NS_SWIFT_NAME(AppCheckDebugProvider) +@interface FIRAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/** Return the locally generated token. */ +- (NSString *)localDebugToken; + +/** Returns the currently used App Check debug token. The priority: + * - `FIRAAppCheckDebugToken` env variable value + * - A previously generated token, stored locally on the device + * - A newly generated random token. The generated token will be stored + * locally for future use + * @return The currently used App Check debug token. + */ +- (NSString *)currentDebugToken; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h new file mode 100644 index 00000000000..07f9bd138dc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h @@ -0,0 +1,30 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `AppCheckDebugProvider` when requested. +NS_SWIFT_NAME(AppCheckDebugProviderFactory) +@interface FIRAppCheckDebugProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h new file mode 100644 index 00000000000..27b0c989527 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h @@ -0,0 +1,39 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const FIRAppCheckErrorDomain NS_SWIFT_NAME(AppCheckErrorDomain); + +typedef NS_ERROR_ENUM(FIRAppCheckErrorDomain, FIRAppCheckErrorCode){ + /// An unknown or non-actionable error. + FIRAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + FIRAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + FIRAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + FIRAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + FIRAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h new file mode 100644 index 00000000000..10ccfa323db --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h @@ -0,0 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// Defines the methods required to be implemented by a specific Firebase App Check +/// provider. +NS_SWIFT_NAME(AppCheckProvider) +@protocol FIRAppCheckProvider + +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +@optional + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h new file mode 100644 index 00000000000..8b4d3472094 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// This protocol defines the interface for classes that can create Firebase App Check providers. +NS_SWIFT_NAME(AppCheckProviderFactory) +@protocol FIRAppCheckProviderFactory + +/// Creates a new instance of a Firebase App Check provider. +/// @param app An instance of `FirebaseApp` to create the provider for. +/// @return A new instance implementing `AppCheckProvider` protocol. +- (nullable id)createProviderWithApp:(FIRApp *)app; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h new file mode 100644 index 00000000000..368b900ae06 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing a Firebase App Check token. +NS_SWIFT_NAME(AppCheckToken) +@interface FIRAppCheckToken : NSObject + +/// A Firebase App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h new file mode 100644 index 00000000000..ae0f88de50c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h @@ -0,0 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProvider.h" + +@class FIRApp; +@protocol FIRDeviceCheckAPIServiceProtocol; +@protocol FIRDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProvider) +@interface FIRDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `DeviceCheckProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h new file mode 100644 index 00000000000..e20bb9869e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `DeviceCheckProvider` for the specified `FirebaseApp` on request. Currently +/// `DeviceCheckProviderFactory` is the default that will be used by Firebase App Check if no other +/// provider is specified. See `AppCheck` class for more details. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProviderFactory) +@interface FIRDeviceCheckProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h new file mode 100644 index 00000000000..d258639fa52 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h @@ -0,0 +1,28 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppAttestProvider.h" +#import "FIRAppCheck.h" +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" +#import "FirebaseAppCheck.h" + +FOUNDATION_EXPORT double FirebaseAppCheckVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h new file mode 100644 index 00000000000..807336e29b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheck.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" + +// Debug provider +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" + +// DeviceCheck provider +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" + +// App Attest provider. +#import "FIRAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Info.plist new file mode 100644 index 00000000000..ac41690f806 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheck + CFBundleIdentifier + org.cocoapods.FirebaseAppCheck + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheck + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Modules/module.modulemap new file mode 100644 index 00000000000..9a55a2d5fc3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64/FirebaseAppCheck.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseAppCheck { +umbrella header "FirebaseAppCheck-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/FirebaseAppCheck b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/FirebaseAppCheck new file mode 120000 index 00000000000..0bb5b144155 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/FirebaseAppCheck @@ -0,0 +1 @@ +Versions/Current/FirebaseAppCheck \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/FirebaseAppCheck b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/FirebaseAppCheck new file mode 100644 index 00000000000..8e591b194b3 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/FirebaseAppCheck differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppAttestProvider.h new file mode 100644 index 00000000000..e75042102ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppAttestProvider.h @@ -0,0 +1,65 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +#import "FIRAppCheckAvailability.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppAttestProvider) +@interface FIRAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `AppAttestProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheck.h new file mode 100644 index 00000000000..f7a6e11e594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheck.h @@ -0,0 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRAppCheckToken; +@protocol FIRAppCheckProviderFactory; + +NS_ASSUME_NONNULL_BEGIN + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `kFIRAppCheckTokenNotificationKey` and +/// `kFIRAppCheckAppNameNotificationKey` keys. +FOUNDATION_EXPORT const NSNotificationName + FIRAppCheckAppCheckTokenDidChangeNotification NS_SWIFT_NAME(AppCheckTokenDidChange); + +/// `userInfo` key for the `FirebaseApp.name` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckTokenNotificationKey NS_SWIFT_NAME(AppCheckTokenNotificationKey); +/// `userInfo` key for the `AppCheckToken` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckAppNameNotificationKey NS_SWIFT_NAME(AppCheckAppNameNotificationKey); + +/// A class used to manage app check tokens for a given Firebase app. +NS_SWIFT_NAME(AppCheck) +@interface FIRAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns a default instance of `AppCheck`. +/// @return An instance of `AppCheck` for `FirebaseApp.defaultApp()`. +/// @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` +/// options are missing. ++ (instancetype)appCheck NS_SWIFT_NAME(appCheck()); + +/// Returns an instance of `AppCheck` for an application. +/// @param firebaseApp A configured `FirebaseApp` instance if exists. +/// @return An instance of `AppCheck` corresponding to the passed application. +/// @throw Throws an exception if required `FirebaseApp` options are missing. ++ (nullable instancetype)appCheckWithApp:(FIRApp *)firebaseApp NS_SWIFT_NAME(appCheck(app:)); + +/// Sets the `AppCheckProviderFactory` to use to generate +/// `AppCheckDebugProvider` objects. +/// +/// An instance of `DeviceCheckProviderFactory` is used by default, but you can +/// also use a custom `AppCheckProviderFactory` implementation or an +/// instance of `AppCheckDebugProviderFactory` to test your app on a simulator +/// on a local machine or a build server. +/// +/// NOTE: Make sure to call this method before `FirebaseApp.configure()`. If +/// this method is called after configuring Firebase, the changes will not take +/// effect. ++ (void)setAppCheckProviderFactory:(nullable id)factory; + +/// If this flag is disabled then Firebase app check will not periodically auto-refresh the app +/// check token. The default value of the flag is equal to +/// `FirebaseApp.dataCollectionDefaultEnabled`. To disable the flag by default set +/// `FirebaseAppCheckTokenAutoRefreshEnabled` flag in the app Info.plist to `NO`. Once the flag is +/// set explicitly, the value will be persisted and used as a default value on next app launches. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +/// Requests Firebase app check token. This method should *only* be used if you need to authorize +/// requests to a non-Firebase backend. Requests to Firebase backend are authorized automatically if +/// configured. +/// +/// If your non-Firebase backend exposes sensitive or expensive endpoints that have low traffic +/// volume, consider protecting it with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// In this case, use the ``limitedUseToken(completion:)`` instead to obtain a limited-use token. +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler. Includes the app check token if the request succeeds, +/// or an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Requests a limited-use Firebase App Check token. This method should be used only if you need to +/// authorize requests to a non-Firebase backend. +/// +/// Returns limited-use tokens that are intended for use with your non-Firebase backend endpoints +/// that are protected with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +- (void)limitedUseTokenWithCompletion:(void (^)(FIRAppCheckToken *_Nullable token, + NSError *_Nullable error))handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckAvailability.h new file mode 100644 index 00000000000..45f7457b010 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckAvailability.h @@ -0,0 +1,44 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// Targets where DeviceCheck framework is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_DEVICE_CHECK_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `DeviceCheckProvider` availability. +#define FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// Targets where `DCAppAttestService` is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_APP_ATTEST_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `AppAttestProvider` availability annotations +#define FIR_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckDebugProvider.h new file mode 100644 index 00000000000..08502c6d8f6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckDebugProvider.h @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// A Firebase App Check provider that can exchange a debug token registered +/// in the Firebase console for a Firebase App Check token. The debug provider +/// is designed to enable testing applications on a simulator or test +/// environment. +/// +/// NOTE: Do not use the debug provider in applications used by real users. +/// +/// WARNING: Keep the Firebase App Check debug token secret. If you +/// accidentally share one (e.g. commit to a public source repo), remove it in +/// the Firebase console ASAP. +/// +/// To use `AppCheckDebugProvider` on a local simulator: +/// 1. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()`: +/// ```AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())``` +/// 2. Enable debug logging by adding the `-FIRDebugEnabled` launch argument to +/// the app target. +/// 3. Launch the app. A local debug token will be logged when Firebase is +/// configured. For example: +/// "[Firebase/AppCheck][I-FAA001001] Firebase App Check Debug Token: +/// '3BA09C8C-8A0D-4030-ACD5-B96D99DB73F9'". +/// 4. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered the debug provider will be able to provide a valid Firebase +/// App Check token. +/// +/// To use `AppCheckDebugProvider` on a simulator on a build server: +/// 1. Create a new Firebase App Check debug token in the Firebase console +/// 2. Add the debug token to the secure storage of your build environment. E.g. see [Encrypted +/// secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for GitHub Actions, +/// etc. +/// 3. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()` +/// `AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())` +/// 4. Add an environment variable to the scheme with a name `FIRAAppCheckDebugToken` and value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as the environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +/// +NS_SWIFT_NAME(AppCheckDebugProvider) +@interface FIRAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/** Return the locally generated token. */ +- (NSString *)localDebugToken; + +/** Returns the currently used App Check debug token. The priority: + * - `FIRAAppCheckDebugToken` env variable value + * - A previously generated token, stored locally on the device + * - A newly generated random token. The generated token will be stored + * locally for future use + * @return The currently used App Check debug token. + */ +- (NSString *)currentDebugToken; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckDebugProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckDebugProviderFactory.h new file mode 100644 index 00000000000..07f9bd138dc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckDebugProviderFactory.h @@ -0,0 +1,30 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `AppCheckDebugProvider` when requested. +NS_SWIFT_NAME(AppCheckDebugProviderFactory) +@interface FIRAppCheckDebugProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckErrors.h new file mode 100644 index 00000000000..27b0c989527 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckErrors.h @@ -0,0 +1,39 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const FIRAppCheckErrorDomain NS_SWIFT_NAME(AppCheckErrorDomain); + +typedef NS_ERROR_ENUM(FIRAppCheckErrorDomain, FIRAppCheckErrorCode){ + /// An unknown or non-actionable error. + FIRAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + FIRAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + FIRAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + FIRAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + FIRAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckProvider.h new file mode 100644 index 00000000000..10ccfa323db --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckProvider.h @@ -0,0 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// Defines the methods required to be implemented by a specific Firebase App Check +/// provider. +NS_SWIFT_NAME(AppCheckProvider) +@protocol FIRAppCheckProvider + +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +@optional + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckProviderFactory.h new file mode 100644 index 00000000000..8b4d3472094 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// This protocol defines the interface for classes that can create Firebase App Check providers. +NS_SWIFT_NAME(AppCheckProviderFactory) +@protocol FIRAppCheckProviderFactory + +/// Creates a new instance of a Firebase App Check provider. +/// @param app An instance of `FirebaseApp` to create the provider for. +/// @return A new instance implementing `AppCheckProvider` protocol. +- (nullable id)createProviderWithApp:(FIRApp *)app; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckToken.h new file mode 100644 index 00000000000..368b900ae06 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckToken.h @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing a Firebase App Check token. +NS_SWIFT_NAME(AppCheckToken) +@interface FIRAppCheckToken : NSObject + +/// A Firebase App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRDeviceCheckProvider.h new file mode 100644 index 00000000000..ae0f88de50c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRDeviceCheckProvider.h @@ -0,0 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProvider.h" + +@class FIRApp; +@protocol FIRDeviceCheckAPIServiceProtocol; +@protocol FIRDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProvider) +@interface FIRDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `DeviceCheckProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRDeviceCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRDeviceCheckProviderFactory.h new file mode 100644 index 00000000000..e20bb9869e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FIRDeviceCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `DeviceCheckProvider` for the specified `FirebaseApp` on request. Currently +/// `DeviceCheckProviderFactory` is the default that will be used by Firebase App Check if no other +/// provider is specified. See `AppCheck` class for more details. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProviderFactory) +@interface FIRDeviceCheckProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FirebaseAppCheck-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FirebaseAppCheck-umbrella.h new file mode 100644 index 00000000000..d258639fa52 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FirebaseAppCheck-umbrella.h @@ -0,0 +1,28 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppAttestProvider.h" +#import "FIRAppCheck.h" +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" +#import "FirebaseAppCheck.h" + +FOUNDATION_EXPORT double FirebaseAppCheckVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FirebaseAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FirebaseAppCheck.h new file mode 100644 index 00000000000..807336e29b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Headers/FirebaseAppCheck.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheck.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" + +// Debug provider +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" + +// DeviceCheck provider +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" + +// App Attest provider. +#import "FIRAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..9a55a2d5fc3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseAppCheck { +umbrella header "FirebaseAppCheck-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..95b832c9b36 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheck + CFBundleIdentifier + org.cocoapods.FirebaseAppCheck + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheck + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheck.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/FirebaseAppCheck b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/FirebaseAppCheck new file mode 100644 index 00000000000..0312da60242 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/FirebaseAppCheck differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h new file mode 100644 index 00000000000..e75042102ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h @@ -0,0 +1,65 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +#import "FIRAppCheckAvailability.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppAttestProvider) +@interface FIRAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `AppAttestProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheck.h new file mode 100644 index 00000000000..f7a6e11e594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheck.h @@ -0,0 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRAppCheckToken; +@protocol FIRAppCheckProviderFactory; + +NS_ASSUME_NONNULL_BEGIN + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `kFIRAppCheckTokenNotificationKey` and +/// `kFIRAppCheckAppNameNotificationKey` keys. +FOUNDATION_EXPORT const NSNotificationName + FIRAppCheckAppCheckTokenDidChangeNotification NS_SWIFT_NAME(AppCheckTokenDidChange); + +/// `userInfo` key for the `FirebaseApp.name` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckTokenNotificationKey NS_SWIFT_NAME(AppCheckTokenNotificationKey); +/// `userInfo` key for the `AppCheckToken` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckAppNameNotificationKey NS_SWIFT_NAME(AppCheckAppNameNotificationKey); + +/// A class used to manage app check tokens for a given Firebase app. +NS_SWIFT_NAME(AppCheck) +@interface FIRAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns a default instance of `AppCheck`. +/// @return An instance of `AppCheck` for `FirebaseApp.defaultApp()`. +/// @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` +/// options are missing. ++ (instancetype)appCheck NS_SWIFT_NAME(appCheck()); + +/// Returns an instance of `AppCheck` for an application. +/// @param firebaseApp A configured `FirebaseApp` instance if exists. +/// @return An instance of `AppCheck` corresponding to the passed application. +/// @throw Throws an exception if required `FirebaseApp` options are missing. ++ (nullable instancetype)appCheckWithApp:(FIRApp *)firebaseApp NS_SWIFT_NAME(appCheck(app:)); + +/// Sets the `AppCheckProviderFactory` to use to generate +/// `AppCheckDebugProvider` objects. +/// +/// An instance of `DeviceCheckProviderFactory` is used by default, but you can +/// also use a custom `AppCheckProviderFactory` implementation or an +/// instance of `AppCheckDebugProviderFactory` to test your app on a simulator +/// on a local machine or a build server. +/// +/// NOTE: Make sure to call this method before `FirebaseApp.configure()`. If +/// this method is called after configuring Firebase, the changes will not take +/// effect. ++ (void)setAppCheckProviderFactory:(nullable id)factory; + +/// If this flag is disabled then Firebase app check will not periodically auto-refresh the app +/// check token. The default value of the flag is equal to +/// `FirebaseApp.dataCollectionDefaultEnabled`. To disable the flag by default set +/// `FirebaseAppCheckTokenAutoRefreshEnabled` flag in the app Info.plist to `NO`. Once the flag is +/// set explicitly, the value will be persisted and used as a default value on next app launches. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +/// Requests Firebase app check token. This method should *only* be used if you need to authorize +/// requests to a non-Firebase backend. Requests to Firebase backend are authorized automatically if +/// configured. +/// +/// If your non-Firebase backend exposes sensitive or expensive endpoints that have low traffic +/// volume, consider protecting it with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// In this case, use the ``limitedUseToken(completion:)`` instead to obtain a limited-use token. +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler. Includes the app check token if the request succeeds, +/// or an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Requests a limited-use Firebase App Check token. This method should be used only if you need to +/// authorize requests to a non-Firebase backend. +/// +/// Returns limited-use tokens that are intended for use with your non-Firebase backend endpoints +/// that are protected with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +- (void)limitedUseTokenWithCompletion:(void (^)(FIRAppCheckToken *_Nullable token, + NSError *_Nullable error))handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h new file mode 100644 index 00000000000..45f7457b010 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h @@ -0,0 +1,44 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// Targets where DeviceCheck framework is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_DEVICE_CHECK_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `DeviceCheckProvider` availability. +#define FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// Targets where `DCAppAttestService` is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_APP_ATTEST_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `AppAttestProvider` availability annotations +#define FIR_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h new file mode 100644 index 00000000000..08502c6d8f6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// A Firebase App Check provider that can exchange a debug token registered +/// in the Firebase console for a Firebase App Check token. The debug provider +/// is designed to enable testing applications on a simulator or test +/// environment. +/// +/// NOTE: Do not use the debug provider in applications used by real users. +/// +/// WARNING: Keep the Firebase App Check debug token secret. If you +/// accidentally share one (e.g. commit to a public source repo), remove it in +/// the Firebase console ASAP. +/// +/// To use `AppCheckDebugProvider` on a local simulator: +/// 1. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()`: +/// ```AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())``` +/// 2. Enable debug logging by adding the `-FIRDebugEnabled` launch argument to +/// the app target. +/// 3. Launch the app. A local debug token will be logged when Firebase is +/// configured. For example: +/// "[Firebase/AppCheck][I-FAA001001] Firebase App Check Debug Token: +/// '3BA09C8C-8A0D-4030-ACD5-B96D99DB73F9'". +/// 4. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered the debug provider will be able to provide a valid Firebase +/// App Check token. +/// +/// To use `AppCheckDebugProvider` on a simulator on a build server: +/// 1. Create a new Firebase App Check debug token in the Firebase console +/// 2. Add the debug token to the secure storage of your build environment. E.g. see [Encrypted +/// secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for GitHub Actions, +/// etc. +/// 3. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()` +/// `AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())` +/// 4. Add an environment variable to the scheme with a name `FIRAAppCheckDebugToken` and value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as the environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +/// +NS_SWIFT_NAME(AppCheckDebugProvider) +@interface FIRAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/** Return the locally generated token. */ +- (NSString *)localDebugToken; + +/** Returns the currently used App Check debug token. The priority: + * - `FIRAAppCheckDebugToken` env variable value + * - A previously generated token, stored locally on the device + * - A newly generated random token. The generated token will be stored + * locally for future use + * @return The currently used App Check debug token. + */ +- (NSString *)currentDebugToken; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h new file mode 100644 index 00000000000..07f9bd138dc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h @@ -0,0 +1,30 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `AppCheckDebugProvider` when requested. +NS_SWIFT_NAME(AppCheckDebugProviderFactory) +@interface FIRAppCheckDebugProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h new file mode 100644 index 00000000000..27b0c989527 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h @@ -0,0 +1,39 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const FIRAppCheckErrorDomain NS_SWIFT_NAME(AppCheckErrorDomain); + +typedef NS_ERROR_ENUM(FIRAppCheckErrorDomain, FIRAppCheckErrorCode){ + /// An unknown or non-actionable error. + FIRAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + FIRAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + FIRAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + FIRAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + FIRAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h new file mode 100644 index 00000000000..10ccfa323db --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h @@ -0,0 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// Defines the methods required to be implemented by a specific Firebase App Check +/// provider. +NS_SWIFT_NAME(AppCheckProvider) +@protocol FIRAppCheckProvider + +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +@optional + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h new file mode 100644 index 00000000000..8b4d3472094 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// This protocol defines the interface for classes that can create Firebase App Check providers. +NS_SWIFT_NAME(AppCheckProviderFactory) +@protocol FIRAppCheckProviderFactory + +/// Creates a new instance of a Firebase App Check provider. +/// @param app An instance of `FirebaseApp` to create the provider for. +/// @return A new instance implementing `AppCheckProvider` protocol. +- (nullable id)createProviderWithApp:(FIRApp *)app; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h new file mode 100644 index 00000000000..368b900ae06 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing a Firebase App Check token. +NS_SWIFT_NAME(AppCheckToken) +@interface FIRAppCheckToken : NSObject + +/// A Firebase App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h new file mode 100644 index 00000000000..ae0f88de50c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h @@ -0,0 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProvider.h" + +@class FIRApp; +@protocol FIRDeviceCheckAPIServiceProtocol; +@protocol FIRDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProvider) +@interface FIRDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `DeviceCheckProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h new file mode 100644 index 00000000000..e20bb9869e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `DeviceCheckProvider` for the specified `FirebaseApp` on request. Currently +/// `DeviceCheckProviderFactory` is the default that will be used by Firebase App Check if no other +/// provider is specified. See `AppCheck` class for more details. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProviderFactory) +@interface FIRDeviceCheckProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h new file mode 100644 index 00000000000..d258639fa52 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h @@ -0,0 +1,28 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppAttestProvider.h" +#import "FIRAppCheck.h" +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" +#import "FirebaseAppCheck.h" + +FOUNDATION_EXPORT double FirebaseAppCheckVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h new file mode 100644 index 00000000000..807336e29b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheck.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" + +// Debug provider +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" + +// DeviceCheck provider +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" + +// App Attest provider. +#import "FIRAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Info.plist new file mode 100644 index 00000000000..6549034fab6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheck + CFBundleIdentifier + org.cocoapods.FirebaseAppCheck + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheck + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Modules/module.modulemap new file mode 100644 index 00000000000..9a55a2d5fc3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheck.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseAppCheck { +umbrella header "FirebaseAppCheck-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/FirebaseAppCheck b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/FirebaseAppCheck new file mode 120000 index 00000000000..0bb5b144155 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/FirebaseAppCheck @@ -0,0 +1 @@ +Versions/Current/FirebaseAppCheck \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/FirebaseAppCheck b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/FirebaseAppCheck new file mode 100644 index 00000000000..431043dd6c6 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/FirebaseAppCheck differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppAttestProvider.h new file mode 100644 index 00000000000..e75042102ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppAttestProvider.h @@ -0,0 +1,65 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +#import "FIRAppCheckAvailability.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppAttestProvider) +@interface FIRAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `AppAttestProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheck.h new file mode 100644 index 00000000000..f7a6e11e594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheck.h @@ -0,0 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRAppCheckToken; +@protocol FIRAppCheckProviderFactory; + +NS_ASSUME_NONNULL_BEGIN + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `kFIRAppCheckTokenNotificationKey` and +/// `kFIRAppCheckAppNameNotificationKey` keys. +FOUNDATION_EXPORT const NSNotificationName + FIRAppCheckAppCheckTokenDidChangeNotification NS_SWIFT_NAME(AppCheckTokenDidChange); + +/// `userInfo` key for the `FirebaseApp.name` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckTokenNotificationKey NS_SWIFT_NAME(AppCheckTokenNotificationKey); +/// `userInfo` key for the `AppCheckToken` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckAppNameNotificationKey NS_SWIFT_NAME(AppCheckAppNameNotificationKey); + +/// A class used to manage app check tokens for a given Firebase app. +NS_SWIFT_NAME(AppCheck) +@interface FIRAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns a default instance of `AppCheck`. +/// @return An instance of `AppCheck` for `FirebaseApp.defaultApp()`. +/// @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` +/// options are missing. ++ (instancetype)appCheck NS_SWIFT_NAME(appCheck()); + +/// Returns an instance of `AppCheck` for an application. +/// @param firebaseApp A configured `FirebaseApp` instance if exists. +/// @return An instance of `AppCheck` corresponding to the passed application. +/// @throw Throws an exception if required `FirebaseApp` options are missing. ++ (nullable instancetype)appCheckWithApp:(FIRApp *)firebaseApp NS_SWIFT_NAME(appCheck(app:)); + +/// Sets the `AppCheckProviderFactory` to use to generate +/// `AppCheckDebugProvider` objects. +/// +/// An instance of `DeviceCheckProviderFactory` is used by default, but you can +/// also use a custom `AppCheckProviderFactory` implementation or an +/// instance of `AppCheckDebugProviderFactory` to test your app on a simulator +/// on a local machine or a build server. +/// +/// NOTE: Make sure to call this method before `FirebaseApp.configure()`. If +/// this method is called after configuring Firebase, the changes will not take +/// effect. ++ (void)setAppCheckProviderFactory:(nullable id)factory; + +/// If this flag is disabled then Firebase app check will not periodically auto-refresh the app +/// check token. The default value of the flag is equal to +/// `FirebaseApp.dataCollectionDefaultEnabled`. To disable the flag by default set +/// `FirebaseAppCheckTokenAutoRefreshEnabled` flag in the app Info.plist to `NO`. Once the flag is +/// set explicitly, the value will be persisted and used as a default value on next app launches. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +/// Requests Firebase app check token. This method should *only* be used if you need to authorize +/// requests to a non-Firebase backend. Requests to Firebase backend are authorized automatically if +/// configured. +/// +/// If your non-Firebase backend exposes sensitive or expensive endpoints that have low traffic +/// volume, consider protecting it with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// In this case, use the ``limitedUseToken(completion:)`` instead to obtain a limited-use token. +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler. Includes the app check token if the request succeeds, +/// or an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Requests a limited-use Firebase App Check token. This method should be used only if you need to +/// authorize requests to a non-Firebase backend. +/// +/// Returns limited-use tokens that are intended for use with your non-Firebase backend endpoints +/// that are protected with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +- (void)limitedUseTokenWithCompletion:(void (^)(FIRAppCheckToken *_Nullable token, + NSError *_Nullable error))handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckAvailability.h new file mode 100644 index 00000000000..45f7457b010 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckAvailability.h @@ -0,0 +1,44 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// Targets where DeviceCheck framework is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_DEVICE_CHECK_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `DeviceCheckProvider` availability. +#define FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// Targets where `DCAppAttestService` is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_APP_ATTEST_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `AppAttestProvider` availability annotations +#define FIR_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckDebugProvider.h new file mode 100644 index 00000000000..08502c6d8f6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckDebugProvider.h @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// A Firebase App Check provider that can exchange a debug token registered +/// in the Firebase console for a Firebase App Check token. The debug provider +/// is designed to enable testing applications on a simulator or test +/// environment. +/// +/// NOTE: Do not use the debug provider in applications used by real users. +/// +/// WARNING: Keep the Firebase App Check debug token secret. If you +/// accidentally share one (e.g. commit to a public source repo), remove it in +/// the Firebase console ASAP. +/// +/// To use `AppCheckDebugProvider` on a local simulator: +/// 1. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()`: +/// ```AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())``` +/// 2. Enable debug logging by adding the `-FIRDebugEnabled` launch argument to +/// the app target. +/// 3. Launch the app. A local debug token will be logged when Firebase is +/// configured. For example: +/// "[Firebase/AppCheck][I-FAA001001] Firebase App Check Debug Token: +/// '3BA09C8C-8A0D-4030-ACD5-B96D99DB73F9'". +/// 4. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered the debug provider will be able to provide a valid Firebase +/// App Check token. +/// +/// To use `AppCheckDebugProvider` on a simulator on a build server: +/// 1. Create a new Firebase App Check debug token in the Firebase console +/// 2. Add the debug token to the secure storage of your build environment. E.g. see [Encrypted +/// secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for GitHub Actions, +/// etc. +/// 3. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()` +/// `AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())` +/// 4. Add an environment variable to the scheme with a name `FIRAAppCheckDebugToken` and value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as the environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +/// +NS_SWIFT_NAME(AppCheckDebugProvider) +@interface FIRAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/** Return the locally generated token. */ +- (NSString *)localDebugToken; + +/** Returns the currently used App Check debug token. The priority: + * - `FIRAAppCheckDebugToken` env variable value + * - A previously generated token, stored locally on the device + * - A newly generated random token. The generated token will be stored + * locally for future use + * @return The currently used App Check debug token. + */ +- (NSString *)currentDebugToken; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckDebugProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckDebugProviderFactory.h new file mode 100644 index 00000000000..07f9bd138dc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckDebugProviderFactory.h @@ -0,0 +1,30 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `AppCheckDebugProvider` when requested. +NS_SWIFT_NAME(AppCheckDebugProviderFactory) +@interface FIRAppCheckDebugProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckErrors.h new file mode 100644 index 00000000000..27b0c989527 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckErrors.h @@ -0,0 +1,39 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const FIRAppCheckErrorDomain NS_SWIFT_NAME(AppCheckErrorDomain); + +typedef NS_ERROR_ENUM(FIRAppCheckErrorDomain, FIRAppCheckErrorCode){ + /// An unknown or non-actionable error. + FIRAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + FIRAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + FIRAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + FIRAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + FIRAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckProvider.h new file mode 100644 index 00000000000..10ccfa323db --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckProvider.h @@ -0,0 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// Defines the methods required to be implemented by a specific Firebase App Check +/// provider. +NS_SWIFT_NAME(AppCheckProvider) +@protocol FIRAppCheckProvider + +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +@optional + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckProviderFactory.h new file mode 100644 index 00000000000..8b4d3472094 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// This protocol defines the interface for classes that can create Firebase App Check providers. +NS_SWIFT_NAME(AppCheckProviderFactory) +@protocol FIRAppCheckProviderFactory + +/// Creates a new instance of a Firebase App Check provider. +/// @param app An instance of `FirebaseApp` to create the provider for. +/// @return A new instance implementing `AppCheckProvider` protocol. +- (nullable id)createProviderWithApp:(FIRApp *)app; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckToken.h new file mode 100644 index 00000000000..368b900ae06 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRAppCheckToken.h @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing a Firebase App Check token. +NS_SWIFT_NAME(AppCheckToken) +@interface FIRAppCheckToken : NSObject + +/// A Firebase App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRDeviceCheckProvider.h new file mode 100644 index 00000000000..ae0f88de50c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRDeviceCheckProvider.h @@ -0,0 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProvider.h" + +@class FIRApp; +@protocol FIRDeviceCheckAPIServiceProtocol; +@protocol FIRDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProvider) +@interface FIRDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `DeviceCheckProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRDeviceCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRDeviceCheckProviderFactory.h new file mode 100644 index 00000000000..e20bb9869e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FIRDeviceCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `DeviceCheckProvider` for the specified `FirebaseApp` on request. Currently +/// `DeviceCheckProviderFactory` is the default that will be used by Firebase App Check if no other +/// provider is specified. See `AppCheck` class for more details. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProviderFactory) +@interface FIRDeviceCheckProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FirebaseAppCheck-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FirebaseAppCheck-umbrella.h new file mode 100644 index 00000000000..3681f599dfa --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FirebaseAppCheck-umbrella.h @@ -0,0 +1,28 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppAttestProvider.h" +#import "FIRAppCheck.h" +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" +#import "FirebaseAppCheck.h" + +FOUNDATION_EXPORT double FirebaseAppCheckVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FirebaseAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FirebaseAppCheck.h new file mode 100644 index 00000000000..807336e29b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Headers/FirebaseAppCheck.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheck.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" + +// Debug provider +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" + +// DeviceCheck provider +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" + +// App Attest provider. +#import "FIRAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..37d6bd9b2f5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseAppCheck { +umbrella header "FirebaseAppCheck-umbrella.h" +export * +module * { export * } + link framework "AppKit" + link framework "Foundation" + link framework "Security" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..9ef672492ab --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheck + CFBundleIdentifier + org.cocoapods.FirebaseAppCheck + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheck + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/macos-arm64_x86_64/FirebaseAppCheck.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/FirebaseAppCheck b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/FirebaseAppCheck new file mode 100644 index 00000000000..40d0c83cb47 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/FirebaseAppCheck differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h new file mode 100644 index 00000000000..e75042102ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h @@ -0,0 +1,65 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +#import "FIRAppCheckAvailability.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppAttestProvider) +@interface FIRAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `AppAttestProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheck.h new file mode 100644 index 00000000000..f7a6e11e594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheck.h @@ -0,0 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRAppCheckToken; +@protocol FIRAppCheckProviderFactory; + +NS_ASSUME_NONNULL_BEGIN + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `kFIRAppCheckTokenNotificationKey` and +/// `kFIRAppCheckAppNameNotificationKey` keys. +FOUNDATION_EXPORT const NSNotificationName + FIRAppCheckAppCheckTokenDidChangeNotification NS_SWIFT_NAME(AppCheckTokenDidChange); + +/// `userInfo` key for the `FirebaseApp.name` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckTokenNotificationKey NS_SWIFT_NAME(AppCheckTokenNotificationKey); +/// `userInfo` key for the `AppCheckToken` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckAppNameNotificationKey NS_SWIFT_NAME(AppCheckAppNameNotificationKey); + +/// A class used to manage app check tokens for a given Firebase app. +NS_SWIFT_NAME(AppCheck) +@interface FIRAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns a default instance of `AppCheck`. +/// @return An instance of `AppCheck` for `FirebaseApp.defaultApp()`. +/// @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` +/// options are missing. ++ (instancetype)appCheck NS_SWIFT_NAME(appCheck()); + +/// Returns an instance of `AppCheck` for an application. +/// @param firebaseApp A configured `FirebaseApp` instance if exists. +/// @return An instance of `AppCheck` corresponding to the passed application. +/// @throw Throws an exception if required `FirebaseApp` options are missing. ++ (nullable instancetype)appCheckWithApp:(FIRApp *)firebaseApp NS_SWIFT_NAME(appCheck(app:)); + +/// Sets the `AppCheckProviderFactory` to use to generate +/// `AppCheckDebugProvider` objects. +/// +/// An instance of `DeviceCheckProviderFactory` is used by default, but you can +/// also use a custom `AppCheckProviderFactory` implementation or an +/// instance of `AppCheckDebugProviderFactory` to test your app on a simulator +/// on a local machine or a build server. +/// +/// NOTE: Make sure to call this method before `FirebaseApp.configure()`. If +/// this method is called after configuring Firebase, the changes will not take +/// effect. ++ (void)setAppCheckProviderFactory:(nullable id)factory; + +/// If this flag is disabled then Firebase app check will not periodically auto-refresh the app +/// check token. The default value of the flag is equal to +/// `FirebaseApp.dataCollectionDefaultEnabled`. To disable the flag by default set +/// `FirebaseAppCheckTokenAutoRefreshEnabled` flag in the app Info.plist to `NO`. Once the flag is +/// set explicitly, the value will be persisted and used as a default value on next app launches. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +/// Requests Firebase app check token. This method should *only* be used if you need to authorize +/// requests to a non-Firebase backend. Requests to Firebase backend are authorized automatically if +/// configured. +/// +/// If your non-Firebase backend exposes sensitive or expensive endpoints that have low traffic +/// volume, consider protecting it with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// In this case, use the ``limitedUseToken(completion:)`` instead to obtain a limited-use token. +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler. Includes the app check token if the request succeeds, +/// or an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Requests a limited-use Firebase App Check token. This method should be used only if you need to +/// authorize requests to a non-Firebase backend. +/// +/// Returns limited-use tokens that are intended for use with your non-Firebase backend endpoints +/// that are protected with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +- (void)limitedUseTokenWithCompletion:(void (^)(FIRAppCheckToken *_Nullable token, + NSError *_Nullable error))handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h new file mode 100644 index 00000000000..45f7457b010 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h @@ -0,0 +1,44 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// Targets where DeviceCheck framework is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_DEVICE_CHECK_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `DeviceCheckProvider` availability. +#define FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// Targets where `DCAppAttestService` is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_APP_ATTEST_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `AppAttestProvider` availability annotations +#define FIR_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h new file mode 100644 index 00000000000..08502c6d8f6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// A Firebase App Check provider that can exchange a debug token registered +/// in the Firebase console for a Firebase App Check token. The debug provider +/// is designed to enable testing applications on a simulator or test +/// environment. +/// +/// NOTE: Do not use the debug provider in applications used by real users. +/// +/// WARNING: Keep the Firebase App Check debug token secret. If you +/// accidentally share one (e.g. commit to a public source repo), remove it in +/// the Firebase console ASAP. +/// +/// To use `AppCheckDebugProvider` on a local simulator: +/// 1. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()`: +/// ```AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())``` +/// 2. Enable debug logging by adding the `-FIRDebugEnabled` launch argument to +/// the app target. +/// 3. Launch the app. A local debug token will be logged when Firebase is +/// configured. For example: +/// "[Firebase/AppCheck][I-FAA001001] Firebase App Check Debug Token: +/// '3BA09C8C-8A0D-4030-ACD5-B96D99DB73F9'". +/// 4. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered the debug provider will be able to provide a valid Firebase +/// App Check token. +/// +/// To use `AppCheckDebugProvider` on a simulator on a build server: +/// 1. Create a new Firebase App Check debug token in the Firebase console +/// 2. Add the debug token to the secure storage of your build environment. E.g. see [Encrypted +/// secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for GitHub Actions, +/// etc. +/// 3. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()` +/// `AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())` +/// 4. Add an environment variable to the scheme with a name `FIRAAppCheckDebugToken` and value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as the environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +/// +NS_SWIFT_NAME(AppCheckDebugProvider) +@interface FIRAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/** Return the locally generated token. */ +- (NSString *)localDebugToken; + +/** Returns the currently used App Check debug token. The priority: + * - `FIRAAppCheckDebugToken` env variable value + * - A previously generated token, stored locally on the device + * - A newly generated random token. The generated token will be stored + * locally for future use + * @return The currently used App Check debug token. + */ +- (NSString *)currentDebugToken; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h new file mode 100644 index 00000000000..07f9bd138dc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h @@ -0,0 +1,30 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `AppCheckDebugProvider` when requested. +NS_SWIFT_NAME(AppCheckDebugProviderFactory) +@interface FIRAppCheckDebugProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h new file mode 100644 index 00000000000..27b0c989527 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h @@ -0,0 +1,39 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const FIRAppCheckErrorDomain NS_SWIFT_NAME(AppCheckErrorDomain); + +typedef NS_ERROR_ENUM(FIRAppCheckErrorDomain, FIRAppCheckErrorCode){ + /// An unknown or non-actionable error. + FIRAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + FIRAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + FIRAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + FIRAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + FIRAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h new file mode 100644 index 00000000000..10ccfa323db --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h @@ -0,0 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// Defines the methods required to be implemented by a specific Firebase App Check +/// provider. +NS_SWIFT_NAME(AppCheckProvider) +@protocol FIRAppCheckProvider + +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +@optional + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h new file mode 100644 index 00000000000..8b4d3472094 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// This protocol defines the interface for classes that can create Firebase App Check providers. +NS_SWIFT_NAME(AppCheckProviderFactory) +@protocol FIRAppCheckProviderFactory + +/// Creates a new instance of a Firebase App Check provider. +/// @param app An instance of `FirebaseApp` to create the provider for. +/// @return A new instance implementing `AppCheckProvider` protocol. +- (nullable id)createProviderWithApp:(FIRApp *)app; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h new file mode 100644 index 00000000000..368b900ae06 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing a Firebase App Check token. +NS_SWIFT_NAME(AppCheckToken) +@interface FIRAppCheckToken : NSObject + +/// A Firebase App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h new file mode 100644 index 00000000000..ae0f88de50c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h @@ -0,0 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProvider.h" + +@class FIRApp; +@protocol FIRDeviceCheckAPIServiceProtocol; +@protocol FIRDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProvider) +@interface FIRDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `DeviceCheckProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h new file mode 100644 index 00000000000..e20bb9869e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `DeviceCheckProvider` for the specified `FirebaseApp` on request. Currently +/// `DeviceCheckProviderFactory` is the default that will be used by Firebase App Check if no other +/// provider is specified. See `AppCheck` class for more details. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProviderFactory) +@interface FIRDeviceCheckProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h new file mode 100644 index 00000000000..d258639fa52 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h @@ -0,0 +1,28 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppAttestProvider.h" +#import "FIRAppCheck.h" +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" +#import "FirebaseAppCheck.h" + +FOUNDATION_EXPORT double FirebaseAppCheckVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h new file mode 100644 index 00000000000..807336e29b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheck.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" + +// Debug provider +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" + +// DeviceCheck provider +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" + +// App Attest provider. +#import "FIRAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Info.plist new file mode 100644 index 00000000000..f7125fa58b6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheck + CFBundleIdentifier + org.cocoapods.FirebaseAppCheck + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheck + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Modules/module.modulemap new file mode 100644 index 00000000000..9a55a2d5fc3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64/FirebaseAppCheck.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseAppCheck { +umbrella header "FirebaseAppCheck-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/FirebaseAppCheck b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/FirebaseAppCheck new file mode 100644 index 00000000000..4981ec9197e Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/FirebaseAppCheck differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h new file mode 100644 index 00000000000..e75042102ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h @@ -0,0 +1,65 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +#import "FIRAppCheckAvailability.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppAttestProvider) +@interface FIRAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `AppAttestProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheck.h new file mode 100644 index 00000000000..f7a6e11e594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheck.h @@ -0,0 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRAppCheckToken; +@protocol FIRAppCheckProviderFactory; + +NS_ASSUME_NONNULL_BEGIN + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `kFIRAppCheckTokenNotificationKey` and +/// `kFIRAppCheckAppNameNotificationKey` keys. +FOUNDATION_EXPORT const NSNotificationName + FIRAppCheckAppCheckTokenDidChangeNotification NS_SWIFT_NAME(AppCheckTokenDidChange); + +/// `userInfo` key for the `FirebaseApp.name` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckTokenNotificationKey NS_SWIFT_NAME(AppCheckTokenNotificationKey); +/// `userInfo` key for the `AppCheckToken` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckAppNameNotificationKey NS_SWIFT_NAME(AppCheckAppNameNotificationKey); + +/// A class used to manage app check tokens for a given Firebase app. +NS_SWIFT_NAME(AppCheck) +@interface FIRAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns a default instance of `AppCheck`. +/// @return An instance of `AppCheck` for `FirebaseApp.defaultApp()`. +/// @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` +/// options are missing. ++ (instancetype)appCheck NS_SWIFT_NAME(appCheck()); + +/// Returns an instance of `AppCheck` for an application. +/// @param firebaseApp A configured `FirebaseApp` instance if exists. +/// @return An instance of `AppCheck` corresponding to the passed application. +/// @throw Throws an exception if required `FirebaseApp` options are missing. ++ (nullable instancetype)appCheckWithApp:(FIRApp *)firebaseApp NS_SWIFT_NAME(appCheck(app:)); + +/// Sets the `AppCheckProviderFactory` to use to generate +/// `AppCheckDebugProvider` objects. +/// +/// An instance of `DeviceCheckProviderFactory` is used by default, but you can +/// also use a custom `AppCheckProviderFactory` implementation or an +/// instance of `AppCheckDebugProviderFactory` to test your app on a simulator +/// on a local machine or a build server. +/// +/// NOTE: Make sure to call this method before `FirebaseApp.configure()`. If +/// this method is called after configuring Firebase, the changes will not take +/// effect. ++ (void)setAppCheckProviderFactory:(nullable id)factory; + +/// If this flag is disabled then Firebase app check will not periodically auto-refresh the app +/// check token. The default value of the flag is equal to +/// `FirebaseApp.dataCollectionDefaultEnabled`. To disable the flag by default set +/// `FirebaseAppCheckTokenAutoRefreshEnabled` flag in the app Info.plist to `NO`. Once the flag is +/// set explicitly, the value will be persisted and used as a default value on next app launches. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +/// Requests Firebase app check token. This method should *only* be used if you need to authorize +/// requests to a non-Firebase backend. Requests to Firebase backend are authorized automatically if +/// configured. +/// +/// If your non-Firebase backend exposes sensitive or expensive endpoints that have low traffic +/// volume, consider protecting it with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// In this case, use the ``limitedUseToken(completion:)`` instead to obtain a limited-use token. +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler. Includes the app check token if the request succeeds, +/// or an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Requests a limited-use Firebase App Check token. This method should be used only if you need to +/// authorize requests to a non-Firebase backend. +/// +/// Returns limited-use tokens that are intended for use with your non-Firebase backend endpoints +/// that are protected with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +- (void)limitedUseTokenWithCompletion:(void (^)(FIRAppCheckToken *_Nullable token, + NSError *_Nullable error))handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h new file mode 100644 index 00000000000..45f7457b010 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h @@ -0,0 +1,44 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// Targets where DeviceCheck framework is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_DEVICE_CHECK_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `DeviceCheckProvider` availability. +#define FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// Targets where `DCAppAttestService` is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_APP_ATTEST_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `AppAttestProvider` availability annotations +#define FIR_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h new file mode 100644 index 00000000000..08502c6d8f6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// A Firebase App Check provider that can exchange a debug token registered +/// in the Firebase console for a Firebase App Check token. The debug provider +/// is designed to enable testing applications on a simulator or test +/// environment. +/// +/// NOTE: Do not use the debug provider in applications used by real users. +/// +/// WARNING: Keep the Firebase App Check debug token secret. If you +/// accidentally share one (e.g. commit to a public source repo), remove it in +/// the Firebase console ASAP. +/// +/// To use `AppCheckDebugProvider` on a local simulator: +/// 1. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()`: +/// ```AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())``` +/// 2. Enable debug logging by adding the `-FIRDebugEnabled` launch argument to +/// the app target. +/// 3. Launch the app. A local debug token will be logged when Firebase is +/// configured. For example: +/// "[Firebase/AppCheck][I-FAA001001] Firebase App Check Debug Token: +/// '3BA09C8C-8A0D-4030-ACD5-B96D99DB73F9'". +/// 4. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered the debug provider will be able to provide a valid Firebase +/// App Check token. +/// +/// To use `AppCheckDebugProvider` on a simulator on a build server: +/// 1. Create a new Firebase App Check debug token in the Firebase console +/// 2. Add the debug token to the secure storage of your build environment. E.g. see [Encrypted +/// secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for GitHub Actions, +/// etc. +/// 3. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()` +/// `AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())` +/// 4. Add an environment variable to the scheme with a name `FIRAAppCheckDebugToken` and value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as the environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +/// +NS_SWIFT_NAME(AppCheckDebugProvider) +@interface FIRAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/** Return the locally generated token. */ +- (NSString *)localDebugToken; + +/** Returns the currently used App Check debug token. The priority: + * - `FIRAAppCheckDebugToken` env variable value + * - A previously generated token, stored locally on the device + * - A newly generated random token. The generated token will be stored + * locally for future use + * @return The currently used App Check debug token. + */ +- (NSString *)currentDebugToken; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h new file mode 100644 index 00000000000..07f9bd138dc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h @@ -0,0 +1,30 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `AppCheckDebugProvider` when requested. +NS_SWIFT_NAME(AppCheckDebugProviderFactory) +@interface FIRAppCheckDebugProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h new file mode 100644 index 00000000000..27b0c989527 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h @@ -0,0 +1,39 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const FIRAppCheckErrorDomain NS_SWIFT_NAME(AppCheckErrorDomain); + +typedef NS_ERROR_ENUM(FIRAppCheckErrorDomain, FIRAppCheckErrorCode){ + /// An unknown or non-actionable error. + FIRAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + FIRAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + FIRAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + FIRAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + FIRAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h new file mode 100644 index 00000000000..10ccfa323db --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h @@ -0,0 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// Defines the methods required to be implemented by a specific Firebase App Check +/// provider. +NS_SWIFT_NAME(AppCheckProvider) +@protocol FIRAppCheckProvider + +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +@optional + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h new file mode 100644 index 00000000000..8b4d3472094 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// This protocol defines the interface for classes that can create Firebase App Check providers. +NS_SWIFT_NAME(AppCheckProviderFactory) +@protocol FIRAppCheckProviderFactory + +/// Creates a new instance of a Firebase App Check provider. +/// @param app An instance of `FirebaseApp` to create the provider for. +/// @return A new instance implementing `AppCheckProvider` protocol. +- (nullable id)createProviderWithApp:(FIRApp *)app; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h new file mode 100644 index 00000000000..368b900ae06 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing a Firebase App Check token. +NS_SWIFT_NAME(AppCheckToken) +@interface FIRAppCheckToken : NSObject + +/// A Firebase App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h new file mode 100644 index 00000000000..ae0f88de50c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h @@ -0,0 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProvider.h" + +@class FIRApp; +@protocol FIRDeviceCheckAPIServiceProtocol; +@protocol FIRDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProvider) +@interface FIRDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `DeviceCheckProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h new file mode 100644 index 00000000000..e20bb9869e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `DeviceCheckProvider` for the specified `FirebaseApp` on request. Currently +/// `DeviceCheckProviderFactory` is the default that will be used by Firebase App Check if no other +/// provider is specified. See `AppCheck` class for more details. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProviderFactory) +@interface FIRDeviceCheckProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h new file mode 100644 index 00000000000..d258639fa52 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h @@ -0,0 +1,28 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppAttestProvider.h" +#import "FIRAppCheck.h" +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" +#import "FirebaseAppCheck.h" + +FOUNDATION_EXPORT double FirebaseAppCheckVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h new file mode 100644 index 00000000000..807336e29b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheck.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" + +// Debug provider +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" + +// DeviceCheck provider +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" + +// App Attest provider. +#import "FIRAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Info.plist new file mode 100644 index 00000000000..f03557bf5b3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheck + CFBundleIdentifier + org.cocoapods.FirebaseAppCheck + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheck + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Modules/module.modulemap new file mode 100644 index 00000000000..9a55a2d5fc3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseAppCheck { +umbrella header "FirebaseAppCheck-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/FirebaseAppCheck b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/FirebaseAppCheck new file mode 100644 index 00000000000..311ea9de372 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/FirebaseAppCheck differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h new file mode 100644 index 00000000000..e75042102ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h @@ -0,0 +1,65 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +#import "FIRAppCheckAvailability.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppAttestProvider) +@interface FIRAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `AppAttestProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheck.h new file mode 100644 index 00000000000..f7a6e11e594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheck.h @@ -0,0 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRAppCheckToken; +@protocol FIRAppCheckProviderFactory; + +NS_ASSUME_NONNULL_BEGIN + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `kFIRAppCheckTokenNotificationKey` and +/// `kFIRAppCheckAppNameNotificationKey` keys. +FOUNDATION_EXPORT const NSNotificationName + FIRAppCheckAppCheckTokenDidChangeNotification NS_SWIFT_NAME(AppCheckTokenDidChange); + +/// `userInfo` key for the `FirebaseApp.name` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckTokenNotificationKey NS_SWIFT_NAME(AppCheckTokenNotificationKey); +/// `userInfo` key for the `AppCheckToken` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckAppNameNotificationKey NS_SWIFT_NAME(AppCheckAppNameNotificationKey); + +/// A class used to manage app check tokens for a given Firebase app. +NS_SWIFT_NAME(AppCheck) +@interface FIRAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns a default instance of `AppCheck`. +/// @return An instance of `AppCheck` for `FirebaseApp.defaultApp()`. +/// @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` +/// options are missing. ++ (instancetype)appCheck NS_SWIFT_NAME(appCheck()); + +/// Returns an instance of `AppCheck` for an application. +/// @param firebaseApp A configured `FirebaseApp` instance if exists. +/// @return An instance of `AppCheck` corresponding to the passed application. +/// @throw Throws an exception if required `FirebaseApp` options are missing. ++ (nullable instancetype)appCheckWithApp:(FIRApp *)firebaseApp NS_SWIFT_NAME(appCheck(app:)); + +/// Sets the `AppCheckProviderFactory` to use to generate +/// `AppCheckDebugProvider` objects. +/// +/// An instance of `DeviceCheckProviderFactory` is used by default, but you can +/// also use a custom `AppCheckProviderFactory` implementation or an +/// instance of `AppCheckDebugProviderFactory` to test your app on a simulator +/// on a local machine or a build server. +/// +/// NOTE: Make sure to call this method before `FirebaseApp.configure()`. If +/// this method is called after configuring Firebase, the changes will not take +/// effect. ++ (void)setAppCheckProviderFactory:(nullable id)factory; + +/// If this flag is disabled then Firebase app check will not periodically auto-refresh the app +/// check token. The default value of the flag is equal to +/// `FirebaseApp.dataCollectionDefaultEnabled`. To disable the flag by default set +/// `FirebaseAppCheckTokenAutoRefreshEnabled` flag in the app Info.plist to `NO`. Once the flag is +/// set explicitly, the value will be persisted and used as a default value on next app launches. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +/// Requests Firebase app check token. This method should *only* be used if you need to authorize +/// requests to a non-Firebase backend. Requests to Firebase backend are authorized automatically if +/// configured. +/// +/// If your non-Firebase backend exposes sensitive or expensive endpoints that have low traffic +/// volume, consider protecting it with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// In this case, use the ``limitedUseToken(completion:)`` instead to obtain a limited-use token. +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler. Includes the app check token if the request succeeds, +/// or an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Requests a limited-use Firebase App Check token. This method should be used only if you need to +/// authorize requests to a non-Firebase backend. +/// +/// Returns limited-use tokens that are intended for use with your non-Firebase backend endpoints +/// that are protected with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +- (void)limitedUseTokenWithCompletion:(void (^)(FIRAppCheckToken *_Nullable token, + NSError *_Nullable error))handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h new file mode 100644 index 00000000000..45f7457b010 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h @@ -0,0 +1,44 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// Targets where DeviceCheck framework is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_DEVICE_CHECK_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `DeviceCheckProvider` availability. +#define FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// Targets where `DCAppAttestService` is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_APP_ATTEST_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `AppAttestProvider` availability annotations +#define FIR_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h new file mode 100644 index 00000000000..08502c6d8f6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// A Firebase App Check provider that can exchange a debug token registered +/// in the Firebase console for a Firebase App Check token. The debug provider +/// is designed to enable testing applications on a simulator or test +/// environment. +/// +/// NOTE: Do not use the debug provider in applications used by real users. +/// +/// WARNING: Keep the Firebase App Check debug token secret. If you +/// accidentally share one (e.g. commit to a public source repo), remove it in +/// the Firebase console ASAP. +/// +/// To use `AppCheckDebugProvider` on a local simulator: +/// 1. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()`: +/// ```AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())``` +/// 2. Enable debug logging by adding the `-FIRDebugEnabled` launch argument to +/// the app target. +/// 3. Launch the app. A local debug token will be logged when Firebase is +/// configured. For example: +/// "[Firebase/AppCheck][I-FAA001001] Firebase App Check Debug Token: +/// '3BA09C8C-8A0D-4030-ACD5-B96D99DB73F9'". +/// 4. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered the debug provider will be able to provide a valid Firebase +/// App Check token. +/// +/// To use `AppCheckDebugProvider` on a simulator on a build server: +/// 1. Create a new Firebase App Check debug token in the Firebase console +/// 2. Add the debug token to the secure storage of your build environment. E.g. see [Encrypted +/// secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for GitHub Actions, +/// etc. +/// 3. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()` +/// `AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())` +/// 4. Add an environment variable to the scheme with a name `FIRAAppCheckDebugToken` and value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as the environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +/// +NS_SWIFT_NAME(AppCheckDebugProvider) +@interface FIRAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/** Return the locally generated token. */ +- (NSString *)localDebugToken; + +/** Returns the currently used App Check debug token. The priority: + * - `FIRAAppCheckDebugToken` env variable value + * - A previously generated token, stored locally on the device + * - A newly generated random token. The generated token will be stored + * locally for future use + * @return The currently used App Check debug token. + */ +- (NSString *)currentDebugToken; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h new file mode 100644 index 00000000000..07f9bd138dc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h @@ -0,0 +1,30 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `AppCheckDebugProvider` when requested. +NS_SWIFT_NAME(AppCheckDebugProviderFactory) +@interface FIRAppCheckDebugProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h new file mode 100644 index 00000000000..27b0c989527 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h @@ -0,0 +1,39 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const FIRAppCheckErrorDomain NS_SWIFT_NAME(AppCheckErrorDomain); + +typedef NS_ERROR_ENUM(FIRAppCheckErrorDomain, FIRAppCheckErrorCode){ + /// An unknown or non-actionable error. + FIRAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + FIRAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + FIRAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + FIRAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + FIRAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h new file mode 100644 index 00000000000..10ccfa323db --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h @@ -0,0 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// Defines the methods required to be implemented by a specific Firebase App Check +/// provider. +NS_SWIFT_NAME(AppCheckProvider) +@protocol FIRAppCheckProvider + +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +@optional + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h new file mode 100644 index 00000000000..8b4d3472094 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// This protocol defines the interface for classes that can create Firebase App Check providers. +NS_SWIFT_NAME(AppCheckProviderFactory) +@protocol FIRAppCheckProviderFactory + +/// Creates a new instance of a Firebase App Check provider. +/// @param app An instance of `FirebaseApp` to create the provider for. +/// @return A new instance implementing `AppCheckProvider` protocol. +- (nullable id)createProviderWithApp:(FIRApp *)app; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h new file mode 100644 index 00000000000..368b900ae06 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing a Firebase App Check token. +NS_SWIFT_NAME(AppCheckToken) +@interface FIRAppCheckToken : NSObject + +/// A Firebase App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h new file mode 100644 index 00000000000..ae0f88de50c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h @@ -0,0 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProvider.h" + +@class FIRApp; +@protocol FIRDeviceCheckAPIServiceProtocol; +@protocol FIRDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProvider) +@interface FIRDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `DeviceCheckProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h new file mode 100644 index 00000000000..e20bb9869e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `DeviceCheckProvider` for the specified `FirebaseApp` on request. Currently +/// `DeviceCheckProviderFactory` is the default that will be used by Firebase App Check if no other +/// provider is specified. See `AppCheck` class for more details. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProviderFactory) +@interface FIRDeviceCheckProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h new file mode 100644 index 00000000000..ed143b86051 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h @@ -0,0 +1,28 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppAttestProvider.h" +#import "FIRAppCheck.h" +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" +#import "FirebaseAppCheck.h" + +FOUNDATION_EXPORT double FirebaseAppCheckVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h new file mode 100644 index 00000000000..807336e29b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheck.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" + +// Debug provider +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" + +// DeviceCheck provider +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" + +// App Attest provider. +#import "FIRAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Info.plist new file mode 100644 index 00000000000..6e541f61dfa --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheck + CFBundleIdentifier + org.cocoapods.FirebaseAppCheck + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheck + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchos + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchos10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Modules/module.modulemap new file mode 100644 index 00000000000..92be83f357f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_arm64_32/FirebaseAppCheck.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseAppCheck { +umbrella header "FirebaseAppCheck-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "WatchKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/FirebaseAppCheck b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/FirebaseAppCheck new file mode 100644 index 00000000000..21131d98bd8 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/FirebaseAppCheck differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h new file mode 100644 index 00000000000..e75042102ff --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppAttestProvider.h @@ -0,0 +1,65 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +#import "FIRAppCheckAvailability.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck/dcappattestservice) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_APP_ATTEST_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(AppAttestProvider) +@interface FIRAppAttestProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `AppAttestProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheck.h new file mode 100644 index 00000000000..f7a6e11e594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheck.h @@ -0,0 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRAppCheckToken; +@protocol FIRAppCheckProviderFactory; + +NS_ASSUME_NONNULL_BEGIN + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `kFIRAppCheckTokenNotificationKey` and +/// `kFIRAppCheckAppNameNotificationKey` keys. +FOUNDATION_EXPORT const NSNotificationName + FIRAppCheckAppCheckTokenDidChangeNotification NS_SWIFT_NAME(AppCheckTokenDidChange); + +/// `userInfo` key for the `FirebaseApp.name` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckTokenNotificationKey NS_SWIFT_NAME(AppCheckTokenNotificationKey); +/// `userInfo` key for the `AppCheckToken` in `AppCheckTokenDidChangeNotification`. +FOUNDATION_EXPORT NSString *const kFIRAppCheckAppNameNotificationKey NS_SWIFT_NAME(AppCheckAppNameNotificationKey); + +/// A class used to manage app check tokens for a given Firebase app. +NS_SWIFT_NAME(AppCheck) +@interface FIRAppCheck : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Returns a default instance of `AppCheck`. +/// @return An instance of `AppCheck` for `FirebaseApp.defaultApp()`. +/// @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` +/// options are missing. ++ (instancetype)appCheck NS_SWIFT_NAME(appCheck()); + +/// Returns an instance of `AppCheck` for an application. +/// @param firebaseApp A configured `FirebaseApp` instance if exists. +/// @return An instance of `AppCheck` corresponding to the passed application. +/// @throw Throws an exception if required `FirebaseApp` options are missing. ++ (nullable instancetype)appCheckWithApp:(FIRApp *)firebaseApp NS_SWIFT_NAME(appCheck(app:)); + +/// Sets the `AppCheckProviderFactory` to use to generate +/// `AppCheckDebugProvider` objects. +/// +/// An instance of `DeviceCheckProviderFactory` is used by default, but you can +/// also use a custom `AppCheckProviderFactory` implementation or an +/// instance of `AppCheckDebugProviderFactory` to test your app on a simulator +/// on a local machine or a build server. +/// +/// NOTE: Make sure to call this method before `FirebaseApp.configure()`. If +/// this method is called after configuring Firebase, the changes will not take +/// effect. ++ (void)setAppCheckProviderFactory:(nullable id)factory; + +/// If this flag is disabled then Firebase app check will not periodically auto-refresh the app +/// check token. The default value of the flag is equal to +/// `FirebaseApp.dataCollectionDefaultEnabled`. To disable the flag by default set +/// `FirebaseAppCheckTokenAutoRefreshEnabled` flag in the app Info.plist to `NO`. Once the flag is +/// set explicitly, the value will be persisted and used as a default value on next app launches. +@property(nonatomic, assign) BOOL isTokenAutoRefreshEnabled; + +/// Requests Firebase app check token. This method should *only* be used if you need to authorize +/// requests to a non-Firebase backend. Requests to Firebase backend are authorized automatically if +/// configured. +/// +/// If your non-Firebase backend exposes sensitive or expensive endpoints that have low traffic +/// volume, consider protecting it with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// In this case, use the ``limitedUseToken(completion:)`` instead to obtain a limited-use token. +/// @param forcingRefresh If `YES`, a new Firebase app check token is requested and the token +/// cache is ignored. If `NO`, the cached token is used if it exists and has not expired yet. In +/// most cases, `NO` should be used. `YES` should only be used if the server explicitly returns an +/// error, indicating a revoked token. +/// @param handler The completion handler. Includes the app check token if the request succeeds, +/// or an error if the request fails. +- (void)tokenForcingRefresh:(BOOL)forcingRefresh + completion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(token(forcingRefresh:completion:)); + +/// Requests a limited-use Firebase App Check token. This method should be used only if you need to +/// authorize requests to a non-Firebase backend. +/// +/// Returns limited-use tokens that are intended for use with your non-Firebase backend endpoints +/// that are protected with [Replay +/// Protection](https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection). +/// This method does not affect the token generation behavior of the +/// ``tokenForcingRefresh()`` method. +- (void)limitedUseTokenWithCompletion:(void (^)(FIRAppCheckToken *_Nullable token, + NSError *_Nullable error))handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h new file mode 100644 index 00000000000..45f7457b010 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckAvailability.h @@ -0,0 +1,44 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Availability conditions for different App Check SDK components. + +#import +#import + +#pragma mark - DeviceCheck + +// Targets where DeviceCheck framework is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_DEVICE_CHECK_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `DeviceCheckProvider` availability. +#define FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(11.0), macos(10.15), macCatalyst(13.0), tvos(11.0), watchos(9.0)) + +#pragma mark - App Attest + +// Targets where `DCAppAttestService` is available to be used in preprocessor conditions. +// TODO: Remove this macro during a breaking change; it is no longer used in the codebase but is +// defined in the public API. +#define FIR_APP_ATTEST_SUPPORTED_TARGETS \ + TARGET_OS_IOS || TARGET_OS_OSX || TARGET_OS_TV || TARGET_OS_WATCH + +// `AppAttestProvider` availability annotations +#define FIR_APP_ATTEST_PROVIDER_AVAILABILITY \ + API_AVAILABLE(ios(14.0), macos(11.3), macCatalyst(14.5), tvos(15.0), watchos(9.0)) diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h new file mode 100644 index 00000000000..08502c6d8f6 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProvider.h @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// A Firebase App Check provider that can exchange a debug token registered +/// in the Firebase console for a Firebase App Check token. The debug provider +/// is designed to enable testing applications on a simulator or test +/// environment. +/// +/// NOTE: Do not use the debug provider in applications used by real users. +/// +/// WARNING: Keep the Firebase App Check debug token secret. If you +/// accidentally share one (e.g. commit to a public source repo), remove it in +/// the Firebase console ASAP. +/// +/// To use `AppCheckDebugProvider` on a local simulator: +/// 1. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()`: +/// ```AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())``` +/// 2. Enable debug logging by adding the `-FIRDebugEnabled` launch argument to +/// the app target. +/// 3. Launch the app. A local debug token will be logged when Firebase is +/// configured. For example: +/// "[Firebase/AppCheck][I-FAA001001] Firebase App Check Debug Token: +/// '3BA09C8C-8A0D-4030-ACD5-B96D99DB73F9'". +/// 4. Register the debug token in the Firebase console. +/// +/// Once the debug token is registered the debug provider will be able to provide a valid Firebase +/// App Check token. +/// +/// To use `AppCheckDebugProvider` on a simulator on a build server: +/// 1. Create a new Firebase App Check debug token in the Firebase console +/// 2. Add the debug token to the secure storage of your build environment. E.g. see [Encrypted +/// secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) for GitHub Actions, +/// etc. +/// 3. Configure `AppCheckDebugProviderFactory` before `FirebaseApp.configure()` +/// `AppCheck.setAppCheckProviderFactory(AppCheckDebugProviderFactory())` +/// 4. Add an environment variable to the scheme with a name `FIRAAppCheckDebugToken` and value like +/// `$(MY_APP_CHECK_DEBUG_TOKEN)`. +/// 5. Configure the build script to pass the debug token as the environment variable, e.g.: +/// `xcodebuild test -scheme InstallationsExample -workspace InstallationsExample.xcworkspace \ +/// MY_APP_CHECK_DEBUG_TOKEN=$(MY_SECRET_ON_CI)` +/// +NS_SWIFT_NAME(AppCheckDebugProvider) +@interface FIRAppCheckDebugProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/** Return the locally generated token. */ +- (NSString *)localDebugToken; + +/** Returns the currently used App Check debug token. The priority: + * - `FIRAAppCheckDebugToken` env variable value + * - A previously generated token, stored locally on the device + * - A newly generated random token. The generated token will be stored + * locally for future use + * @return The currently used App Check debug token. + */ +- (NSString *)currentDebugToken; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h new file mode 100644 index 00000000000..07f9bd138dc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckDebugProviderFactory.h @@ -0,0 +1,30 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `AppCheckDebugProvider` when requested. +NS_SWIFT_NAME(AppCheckDebugProviderFactory) +@interface FIRAppCheckDebugProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h new file mode 100644 index 00000000000..27b0c989527 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckErrors.h @@ -0,0 +1,39 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/// Firebase app check error domain. +FOUNDATION_EXTERN NSErrorDomain const FIRAppCheckErrorDomain NS_SWIFT_NAME(AppCheckErrorDomain); + +typedef NS_ERROR_ENUM(FIRAppCheckErrorDomain, FIRAppCheckErrorCode){ + /// An unknown or non-actionable error. + FIRAppCheckErrorCodeUnknown = 0, + + /// A network connection error. + FIRAppCheckErrorCodeServerUnreachable = 1, + + /// Invalid configuration error. Currently, an exception is thrown but this error is reserved + /// for future implementations of invalid configuration detection. + FIRAppCheckErrorCodeInvalidConfiguration = 2, + + /// System keychain access error. Ensure that the app has proper keychain access. + FIRAppCheckErrorCodeKeychain = 3, + + /// Selected app attestation provider is not supported on the current platform or OS version. + FIRAppCheckErrorCodeUnsupported = 4 + +} NS_SWIFT_NAME(AppCheckErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h new file mode 100644 index 00000000000..10ccfa323db --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProvider.h @@ -0,0 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRAppCheckToken; + +NS_ASSUME_NONNULL_BEGIN + +/// Defines the methods required to be implemented by a specific Firebase App Check +/// provider. +NS_SWIFT_NAME(AppCheckProvider) +@protocol FIRAppCheckProvider + +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +@optional + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h new file mode 100644 index 00000000000..8b4d3472094 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckProvider.h" + +@class FIRApp; + +NS_ASSUME_NONNULL_BEGIN + +/// This protocol defines the interface for classes that can create Firebase App Check providers. +NS_SWIFT_NAME(AppCheckProviderFactory) +@protocol FIRAppCheckProviderFactory + +/// Creates a new instance of a Firebase App Check provider. +/// @param app An instance of `FirebaseApp` to create the provider for. +/// @return A new instance implementing `AppCheckProvider` protocol. +- (nullable id)createProviderWithApp:(FIRApp *)app; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h new file mode 100644 index 00000000000..368b900ae06 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRAppCheckToken.h @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An object representing a Firebase App Check token. +NS_SWIFT_NAME(AppCheckToken) +@interface FIRAppCheckToken : NSObject + +/// A Firebase App Check token. +@property(nonatomic, readonly) NSString *token; + +/// The App Check token's expiration date in the device's local time. +@property(nonatomic, readonly) NSDate *expirationDate; + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param token A Firebase App Check token. +/// @param expirationDate A Firebase App Check token expiration date in the device local time. +- (instancetype)initWithToken:(NSString *)token expirationDate:(NSDate *)expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h new file mode 100644 index 00000000000..ae0f88de50c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProvider.h @@ -0,0 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProvider.h" + +@class FIRApp; +@protocol FIRDeviceCheckAPIServiceProtocol; +@protocol FIRDeviceCheckTokenGenerator; + +NS_ASSUME_NONNULL_BEGIN + +/// Firebase App Check provider that verifies app integrity using the +/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProvider) +@interface FIRDeviceCheckProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// The default initializer. +/// @param app A `FirebaseApp` instance. +/// @return An instance of `DeviceCheckProvider` if the provided `FirebaseApp` instance contains all +/// required parameters. +- (nullable instancetype)initWithApp:(FIRApp *)app; + +/* Jazzy doesn't generate documentation for protocol-inherited + * methods, so this is copied over from the protocol declaration. + */ +/// Returns a new Firebase App Check token. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getToken(completion:)); + +/// Returns a new Firebase App Check token. +/// When implementing this method for your custom provider, the token returned should be suitable +/// for consumption in a limited-use scenario. If you do not implement this method, the +/// getTokenWithCompletion will be invoked instead whenever a limited-use token is requested. +/// @param handler The completion handler. Make sure to call the handler with either a token +/// or an error. +- (void)getLimitedUseTokenWithCompletion: + (void (^)(FIRAppCheckToken *_Nullable token, NSError *_Nullable error))handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h new file mode 100644 index 00000000000..e20bb9869e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FIRDeviceCheckProviderFactory.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckProviderFactory.h" + +NS_ASSUME_NONNULL_BEGIN + +/// An implementation of `AppCheckProviderFactory` that creates a new instance of +/// `DeviceCheckProvider` for the specified `FirebaseApp` on request. Currently +/// `DeviceCheckProviderFactory` is the default that will be used by Firebase App Check if no other +/// provider is specified. See `AppCheck` class for more details. +/// This class is available on all platforms for select OS versions. See +/// https://firebase.google.com/docs/ios/learn-more for more details. +FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY +NS_SWIFT_NAME(DeviceCheckProviderFactory) +@interface FIRDeviceCheckProviderFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h new file mode 100644 index 00000000000..ed143b86051 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck-umbrella.h @@ -0,0 +1,28 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppAttestProvider.h" +#import "FIRAppCheck.h" +#import "FIRAppCheckAvailability.h" +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" +#import "FirebaseAppCheck.h" + +FOUNDATION_EXPORT double FirebaseAppCheckVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h new file mode 100644 index 00000000000..807336e29b4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Headers/FirebaseAppCheck.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheck.h" +#import "FIRAppCheckErrors.h" +#import "FIRAppCheckProvider.h" +#import "FIRAppCheckProviderFactory.h" +#import "FIRAppCheckToken.h" + +// Debug provider +#import "FIRAppCheckDebugProvider.h" +#import "FIRAppCheckDebugProviderFactory.h" + +// DeviceCheck provider +#import "FIRDeviceCheckProvider.h" +#import "FIRDeviceCheckProviderFactory.h" + +// App Attest provider. +#import "FIRAppAttestProvider.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Info.plist new file mode 100644 index 00000000000..2ef6a8162c9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheck + CFBundleIdentifier + org.cocoapods.FirebaseAppCheck + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheck + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchsimulator + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchsimulator10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Modules/module.modulemap new file mode 100644 index 00000000000..92be83f357f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheck.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheck.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseAppCheck { +umbrella header "FirebaseAppCheck-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "WatchKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/Info.plist new file mode 100644 index 00000000000..f468d057a6b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/Info.plist @@ -0,0 +1,139 @@ + + + + + AvailableLibraries + + + BinaryPath + FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop + LibraryIdentifier + ios-arm64 + LibraryPath + FirebaseAppCheckInterop.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop + LibraryIdentifier + tvos-arm64 + LibraryPath + FirebaseAppCheckInterop.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop + LibraryIdentifier + watchos-arm64_arm64_32 + LibraryPath + FirebaseAppCheckInterop.framework + SupportedArchitectures + + arm64 + arm64_32 + + SupportedPlatform + watchos + + + BinaryPath + FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop + LibraryIdentifier + watchos-arm64_x86_64-simulator + LibraryPath + FirebaseAppCheckInterop.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + watchos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FirebaseAppCheckInterop.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FirebaseAppCheckInterop.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseAppCheckInterop.framework/Versions/A/FirebaseAppCheckInterop + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + FirebaseAppCheckInterop.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + BinaryPath + FirebaseAppCheckInterop.framework/Versions/A/FirebaseAppCheckInterop + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FirebaseAppCheckInterop.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop new file mode 100644 index 00000000000..7acfabda013 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h new file mode 100644 index 00000000000..7d89f7f7495 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol FIRAppCheckTokenResultInterop; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckTokenHandlerInterop) +typedef void (^FIRAppCheckTokenHandlerInterop)(id tokenResult); + +NS_SWIFT_NAME(AppCheckInterop) @protocol FIRAppCheckInterop + +/// Retrieve a cached or generate a new FAA Token. If forcingRefresh == YES always generates a new +/// token and updates the cache. +- (void)getTokenForcingRefresh:(BOOL)forcingRefresh + completion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `-[self notificationTokenKey]` and +/// `-[self notificationAppNameKey]` keys. +- (NSString *)tokenDidChangeNotificationName; + +/// `userInfo` key for the FAC token in a notification for `tokenDidChangeNotificationName`. +- (NSString *)notificationTokenKey; +/// `userInfo` key for the `FirebaseApp.name` in a notification for +/// `tokenDidChangeNotificationName`. +- (NSString *)notificationAppNameKey; + +// MARK: - Optional API + +@optional + +/// Retrieve a new limited-use Firebase App Check token +- (void)getLimitedUseTokenWithCompletion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h new file mode 100644 index 00000000000..cb86a1bffe8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FIRAppCheckTokenResultInterop + +/// App Check token in the case of success or a dummy token in the case of a failure. +/// In general, the value of the token should always be set to the request header. +@property(nonatomic, readonly) NSString *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h new file mode 100644 index 00000000000..cb7d8b4c28a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h @@ -0,0 +1,19 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" +#import "FirebaseAppCheckInterop.h" + +FOUNDATION_EXPORT double FirebaseAppCheckInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h new file mode 100644 index 00000000000..8af140aeda3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h @@ -0,0 +1,18 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Info.plist new file mode 100644 index 00000000000..a75efa0a2d8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheckInterop + CFBundleIdentifier + org.cocoapods.FirebaseAppCheckInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheckInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Modules/module.modulemap new file mode 100644 index 00000000000..64d1dda5687 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAppCheckInterop { +umbrella header "FirebaseAppCheckInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop new file mode 120000 index 00000000000..86b5f001f6f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop @@ -0,0 +1 @@ +Versions/Current/FirebaseAppCheckInterop \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/FirebaseAppCheckInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/FirebaseAppCheckInterop new file mode 100644 index 00000000000..878a44caec1 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/FirebaseAppCheckInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Headers/FIRAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Headers/FIRAppCheckInterop.h new file mode 100644 index 00000000000..7d89f7f7495 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Headers/FIRAppCheckInterop.h @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol FIRAppCheckTokenResultInterop; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckTokenHandlerInterop) +typedef void (^FIRAppCheckTokenHandlerInterop)(id tokenResult); + +NS_SWIFT_NAME(AppCheckInterop) @protocol FIRAppCheckInterop + +/// Retrieve a cached or generate a new FAA Token. If forcingRefresh == YES always generates a new +/// token and updates the cache. +- (void)getTokenForcingRefresh:(BOOL)forcingRefresh + completion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `-[self notificationTokenKey]` and +/// `-[self notificationAppNameKey]` keys. +- (NSString *)tokenDidChangeNotificationName; + +/// `userInfo` key for the FAC token in a notification for `tokenDidChangeNotificationName`. +- (NSString *)notificationTokenKey; +/// `userInfo` key for the `FirebaseApp.name` in a notification for +/// `tokenDidChangeNotificationName`. +- (NSString *)notificationAppNameKey; + +// MARK: - Optional API + +@optional + +/// Retrieve a new limited-use Firebase App Check token +- (void)getLimitedUseTokenWithCompletion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Headers/FIRAppCheckTokenResultInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Headers/FIRAppCheckTokenResultInterop.h new file mode 100644 index 00000000000..cb86a1bffe8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Headers/FIRAppCheckTokenResultInterop.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FIRAppCheckTokenResultInterop + +/// App Check token in the case of success or a dummy token in the case of a failure. +/// In general, the value of the token should always be set to the request header. +@property(nonatomic, readonly) NSString *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Headers/FirebaseAppCheckInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Headers/FirebaseAppCheckInterop-umbrella.h new file mode 100644 index 00000000000..cb7d8b4c28a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Headers/FirebaseAppCheckInterop-umbrella.h @@ -0,0 +1,19 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" +#import "FirebaseAppCheckInterop.h" + +FOUNDATION_EXPORT double FirebaseAppCheckInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Headers/FirebaseAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Headers/FirebaseAppCheckInterop.h new file mode 100644 index 00000000000..8af140aeda3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Headers/FirebaseAppCheckInterop.h @@ -0,0 +1,18 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..64d1dda5687 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAppCheckInterop { +umbrella header "FirebaseAppCheckInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..368b7d89ce3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheckInterop + CFBundleIdentifier + org.cocoapods.FirebaseAppCheckInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheckInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop new file mode 100644 index 00000000000..b7aae725942 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h new file mode 100644 index 00000000000..7d89f7f7495 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol FIRAppCheckTokenResultInterop; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckTokenHandlerInterop) +typedef void (^FIRAppCheckTokenHandlerInterop)(id tokenResult); + +NS_SWIFT_NAME(AppCheckInterop) @protocol FIRAppCheckInterop + +/// Retrieve a cached or generate a new FAA Token. If forcingRefresh == YES always generates a new +/// token and updates the cache. +- (void)getTokenForcingRefresh:(BOOL)forcingRefresh + completion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `-[self notificationTokenKey]` and +/// `-[self notificationAppNameKey]` keys. +- (NSString *)tokenDidChangeNotificationName; + +/// `userInfo` key for the FAC token in a notification for `tokenDidChangeNotificationName`. +- (NSString *)notificationTokenKey; +/// `userInfo` key for the `FirebaseApp.name` in a notification for +/// `tokenDidChangeNotificationName`. +- (NSString *)notificationAppNameKey; + +// MARK: - Optional API + +@optional + +/// Retrieve a new limited-use Firebase App Check token +- (void)getLimitedUseTokenWithCompletion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h new file mode 100644 index 00000000000..cb86a1bffe8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FIRAppCheckTokenResultInterop + +/// App Check token in the case of success or a dummy token in the case of a failure. +/// In general, the value of the token should always be set to the request header. +@property(nonatomic, readonly) NSString *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h new file mode 100644 index 00000000000..cb7d8b4c28a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h @@ -0,0 +1,19 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" +#import "FirebaseAppCheckInterop.h" + +FOUNDATION_EXPORT double FirebaseAppCheckInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h new file mode 100644 index 00000000000..8af140aeda3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h @@ -0,0 +1,18 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Info.plist new file mode 100644 index 00000000000..4e7ccfad244 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheckInterop + CFBundleIdentifier + org.cocoapods.FirebaseAppCheckInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheckInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Modules/module.modulemap new file mode 100644 index 00000000000..64d1dda5687 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAppCheckInterop { +umbrella header "FirebaseAppCheckInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop new file mode 120000 index 00000000000..86b5f001f6f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop @@ -0,0 +1 @@ +Versions/Current/FirebaseAppCheckInterop \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/FirebaseAppCheckInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/FirebaseAppCheckInterop new file mode 100644 index 00000000000..931313bf347 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/FirebaseAppCheckInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Headers/FIRAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Headers/FIRAppCheckInterop.h new file mode 100644 index 00000000000..7d89f7f7495 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Headers/FIRAppCheckInterop.h @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol FIRAppCheckTokenResultInterop; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckTokenHandlerInterop) +typedef void (^FIRAppCheckTokenHandlerInterop)(id tokenResult); + +NS_SWIFT_NAME(AppCheckInterop) @protocol FIRAppCheckInterop + +/// Retrieve a cached or generate a new FAA Token. If forcingRefresh == YES always generates a new +/// token and updates the cache. +- (void)getTokenForcingRefresh:(BOOL)forcingRefresh + completion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `-[self notificationTokenKey]` and +/// `-[self notificationAppNameKey]` keys. +- (NSString *)tokenDidChangeNotificationName; + +/// `userInfo` key for the FAC token in a notification for `tokenDidChangeNotificationName`. +- (NSString *)notificationTokenKey; +/// `userInfo` key for the `FirebaseApp.name` in a notification for +/// `tokenDidChangeNotificationName`. +- (NSString *)notificationAppNameKey; + +// MARK: - Optional API + +@optional + +/// Retrieve a new limited-use Firebase App Check token +- (void)getLimitedUseTokenWithCompletion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Headers/FIRAppCheckTokenResultInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Headers/FIRAppCheckTokenResultInterop.h new file mode 100644 index 00000000000..cb86a1bffe8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Headers/FIRAppCheckTokenResultInterop.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FIRAppCheckTokenResultInterop + +/// App Check token in the case of success or a dummy token in the case of a failure. +/// In general, the value of the token should always be set to the request header. +@property(nonatomic, readonly) NSString *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Headers/FirebaseAppCheckInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Headers/FirebaseAppCheckInterop-umbrella.h new file mode 100644 index 00000000000..a4a2950d54c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Headers/FirebaseAppCheckInterop-umbrella.h @@ -0,0 +1,19 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" +#import "FirebaseAppCheckInterop.h" + +FOUNDATION_EXPORT double FirebaseAppCheckInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Headers/FirebaseAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Headers/FirebaseAppCheckInterop.h new file mode 100644 index 00000000000..8af140aeda3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Headers/FirebaseAppCheckInterop.h @@ -0,0 +1,18 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..64d1dda5687 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAppCheckInterop { +umbrella header "FirebaseAppCheckInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..17607664a73 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheckInterop + CFBundleIdentifier + org.cocoapods.FirebaseAppCheckInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheckInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/macos-arm64_x86_64/FirebaseAppCheckInterop.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop new file mode 100644 index 00000000000..5994a69edaf Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h new file mode 100644 index 00000000000..7d89f7f7495 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol FIRAppCheckTokenResultInterop; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckTokenHandlerInterop) +typedef void (^FIRAppCheckTokenHandlerInterop)(id tokenResult); + +NS_SWIFT_NAME(AppCheckInterop) @protocol FIRAppCheckInterop + +/// Retrieve a cached or generate a new FAA Token. If forcingRefresh == YES always generates a new +/// token and updates the cache. +- (void)getTokenForcingRefresh:(BOOL)forcingRefresh + completion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `-[self notificationTokenKey]` and +/// `-[self notificationAppNameKey]` keys. +- (NSString *)tokenDidChangeNotificationName; + +/// `userInfo` key for the FAC token in a notification for `tokenDidChangeNotificationName`. +- (NSString *)notificationTokenKey; +/// `userInfo` key for the `FirebaseApp.name` in a notification for +/// `tokenDidChangeNotificationName`. +- (NSString *)notificationAppNameKey; + +// MARK: - Optional API + +@optional + +/// Retrieve a new limited-use Firebase App Check token +- (void)getLimitedUseTokenWithCompletion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h new file mode 100644 index 00000000000..cb86a1bffe8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FIRAppCheckTokenResultInterop + +/// App Check token in the case of success or a dummy token in the case of a failure. +/// In general, the value of the token should always be set to the request header. +@property(nonatomic, readonly) NSString *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h new file mode 100644 index 00000000000..cb7d8b4c28a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h @@ -0,0 +1,19 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" +#import "FirebaseAppCheckInterop.h" + +FOUNDATION_EXPORT double FirebaseAppCheckInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h new file mode 100644 index 00000000000..8af140aeda3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h @@ -0,0 +1,18 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Info.plist new file mode 100644 index 00000000000..91107815325 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheckInterop + CFBundleIdentifier + org.cocoapods.FirebaseAppCheckInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheckInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Modules/module.modulemap new file mode 100644 index 00000000000..64d1dda5687 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64/FirebaseAppCheckInterop.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAppCheckInterop { +umbrella header "FirebaseAppCheckInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop new file mode 100644 index 00000000000..2de609dfb29 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h new file mode 100644 index 00000000000..7d89f7f7495 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol FIRAppCheckTokenResultInterop; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckTokenHandlerInterop) +typedef void (^FIRAppCheckTokenHandlerInterop)(id tokenResult); + +NS_SWIFT_NAME(AppCheckInterop) @protocol FIRAppCheckInterop + +/// Retrieve a cached or generate a new FAA Token. If forcingRefresh == YES always generates a new +/// token and updates the cache. +- (void)getTokenForcingRefresh:(BOOL)forcingRefresh + completion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `-[self notificationTokenKey]` and +/// `-[self notificationAppNameKey]` keys. +- (NSString *)tokenDidChangeNotificationName; + +/// `userInfo` key for the FAC token in a notification for `tokenDidChangeNotificationName`. +- (NSString *)notificationTokenKey; +/// `userInfo` key for the `FirebaseApp.name` in a notification for +/// `tokenDidChangeNotificationName`. +- (NSString *)notificationAppNameKey; + +// MARK: - Optional API + +@optional + +/// Retrieve a new limited-use Firebase App Check token +- (void)getLimitedUseTokenWithCompletion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h new file mode 100644 index 00000000000..cb86a1bffe8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FIRAppCheckTokenResultInterop + +/// App Check token in the case of success or a dummy token in the case of a failure. +/// In general, the value of the token should always be set to the request header. +@property(nonatomic, readonly) NSString *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h new file mode 100644 index 00000000000..cb7d8b4c28a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h @@ -0,0 +1,19 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" +#import "FirebaseAppCheckInterop.h" + +FOUNDATION_EXPORT double FirebaseAppCheckInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h new file mode 100644 index 00000000000..8af140aeda3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h @@ -0,0 +1,18 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Info.plist new file mode 100644 index 00000000000..6204a3fc05a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheckInterop + CFBundleIdentifier + org.cocoapods.FirebaseAppCheckInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheckInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Modules/module.modulemap new file mode 100644 index 00000000000..64d1dda5687 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAppCheckInterop { +umbrella header "FirebaseAppCheckInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop new file mode 100644 index 00000000000..6b6ce621cc6 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h new file mode 100644 index 00000000000..7d89f7f7495 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol FIRAppCheckTokenResultInterop; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckTokenHandlerInterop) +typedef void (^FIRAppCheckTokenHandlerInterop)(id tokenResult); + +NS_SWIFT_NAME(AppCheckInterop) @protocol FIRAppCheckInterop + +/// Retrieve a cached or generate a new FAA Token. If forcingRefresh == YES always generates a new +/// token and updates the cache. +- (void)getTokenForcingRefresh:(BOOL)forcingRefresh + completion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `-[self notificationTokenKey]` and +/// `-[self notificationAppNameKey]` keys. +- (NSString *)tokenDidChangeNotificationName; + +/// `userInfo` key for the FAC token in a notification for `tokenDidChangeNotificationName`. +- (NSString *)notificationTokenKey; +/// `userInfo` key for the `FirebaseApp.name` in a notification for +/// `tokenDidChangeNotificationName`. +- (NSString *)notificationAppNameKey; + +// MARK: - Optional API + +@optional + +/// Retrieve a new limited-use Firebase App Check token +- (void)getLimitedUseTokenWithCompletion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h new file mode 100644 index 00000000000..cb86a1bffe8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FIRAppCheckTokenResultInterop + +/// App Check token in the case of success or a dummy token in the case of a failure. +/// In general, the value of the token should always be set to the request header. +@property(nonatomic, readonly) NSString *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h new file mode 100644 index 00000000000..c9fe94a21bf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h @@ -0,0 +1,19 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" +#import "FirebaseAppCheckInterop.h" + +FOUNDATION_EXPORT double FirebaseAppCheckInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h new file mode 100644 index 00000000000..8af140aeda3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h @@ -0,0 +1,18 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Info.plist new file mode 100644 index 00000000000..d5363917f57 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheckInterop + CFBundleIdentifier + org.cocoapods.FirebaseAppCheckInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheckInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchos + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchos10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Modules/module.modulemap new file mode 100644 index 00000000000..64d1dda5687 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_arm64_32/FirebaseAppCheckInterop.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAppCheckInterop { +umbrella header "FirebaseAppCheckInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop new file mode 100644 index 00000000000..7f652429664 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h new file mode 100644 index 00000000000..7d89f7f7495 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.h @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol FIRAppCheckTokenResultInterop; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppCheckTokenHandlerInterop) +typedef void (^FIRAppCheckTokenHandlerInterop)(id tokenResult); + +NS_SWIFT_NAME(AppCheckInterop) @protocol FIRAppCheckInterop + +/// Retrieve a cached or generate a new FAA Token. If forcingRefresh == YES always generates a new +/// token and updates the cache. +- (void)getTokenForcingRefresh:(BOOL)forcingRefresh + completion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// A notification with the specified name is sent to the default notification center +/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. +/// The user info dictionary contains `-[self notificationTokenKey]` and +/// `-[self notificationAppNameKey]` keys. +- (NSString *)tokenDidChangeNotificationName; + +/// `userInfo` key for the FAC token in a notification for `tokenDidChangeNotificationName`. +- (NSString *)notificationTokenKey; +/// `userInfo` key for the `FirebaseApp.name` in a notification for +/// `tokenDidChangeNotificationName`. +- (NSString *)notificationAppNameKey; + +// MARK: - Optional API + +@optional + +/// Retrieve a new limited-use Firebase App Check token +- (void)getLimitedUseTokenWithCompletion:(FIRAppCheckTokenHandlerInterop)handler + NS_SWIFT_NAME(getLimitedUseToken(completion:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h new file mode 100644 index 00000000000..cb86a1bffe8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.h @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FIRAppCheckTokenResultInterop + +/// App Check token in the case of success or a dummy token in the case of a failure. +/// In general, the value of the token should always be set to the request header. +@property(nonatomic, readonly) NSString *token; + +/// A token fetch error in the case of a failure or `nil` in the case of success. +@property(nonatomic, readonly, nullable) NSError *error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h new file mode 100644 index 00000000000..c9fe94a21bf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.h @@ -0,0 +1,19 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" +#import "FirebaseAppCheckInterop.h" + +FOUNDATION_EXPORT double FirebaseAppCheckInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAppCheckInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h new file mode 100644 index 00000000000..8af140aeda3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop.h @@ -0,0 +1,18 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRAppCheckInterop.h" +#import "FIRAppCheckTokenResultInterop.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Info.plist new file mode 100644 index 00000000000..24e95bc7228 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAppCheckInterop + CFBundleIdentifier + org.cocoapods.FirebaseAppCheckInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAppCheckInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchsimulator + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchsimulator10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Modules/module.modulemap new file mode 100644 index 00000000000..64d1dda5687 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAppCheckInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAppCheckInterop { +umbrella header "FirebaseAppCheckInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/Info.plist new file mode 100644 index 00000000000..caeda1e8593 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/Info.plist @@ -0,0 +1,139 @@ + + + + + AvailableLibraries + + + BinaryPath + FirebaseAuthInterop.framework/FirebaseAuthInterop + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FirebaseAuthInterop.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseAuthInterop.framework/FirebaseAuthInterop + LibraryIdentifier + watchos-arm64_x86_64-simulator + LibraryPath + FirebaseAuthInterop.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + watchos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseAuthInterop.framework/Versions/A/FirebaseAuthInterop + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FirebaseAuthInterop.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + BinaryPath + FirebaseAuthInterop.framework/FirebaseAuthInterop + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FirebaseAuthInterop.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseAuthInterop.framework/FirebaseAuthInterop + LibraryIdentifier + tvos-arm64 + LibraryPath + FirebaseAuthInterop.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + FirebaseAuthInterop.framework/FirebaseAuthInterop + LibraryIdentifier + watchos-arm64_arm64_32 + LibraryPath + FirebaseAuthInterop.framework + SupportedArchitectures + + arm64 + arm64_32 + + SupportedPlatform + watchos + + + BinaryPath + FirebaseAuthInterop.framework/FirebaseAuthInterop + LibraryIdentifier + ios-arm64 + LibraryPath + FirebaseAuthInterop.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + FirebaseAuthInterop.framework/Versions/A/FirebaseAuthInterop + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + FirebaseAuthInterop.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/FirebaseAuthInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/FirebaseAuthInterop new file mode 100644 index 00000000000..e22e96aed14 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/FirebaseAuthInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h new file mode 100644 index 00000000000..a50669da433 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRAuthInterop_h +#define FIRAuthInterop_h + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** @typedef FIRTokenCallback + @brief The type of block which gets called when a token is ready. + */ +typedef void (^FIRTokenCallback)(NSString *_Nullable_result token, NSError *_Nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/// Common methods for Auth interoperability. +NS_SWIFT_NAME(AuthInterop) +@protocol FIRAuthInterop + +/// Retrieves the Firebase authentication token, possibly refreshing it if it has expired. +- (void)getTokenForcingRefresh:(BOOL)forceRefresh + withCallback: + (void (^)(NSString *_Nullable_result token, NSError *_Nullable error))callback + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// Get the current Auth user's UID. Returns nil if there is no user signed in. +- (nullable NSString *)getUserID; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRAuthInterop_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h new file mode 100644 index 00000000000..dd55655bdf5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAuthInterop.h" + +FOUNDATION_EXPORT double FirebaseAuthInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAuthInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/Info.plist new file mode 100644 index 00000000000..005319c79ab --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAuthInterop + CFBundleIdentifier + org.cocoapods.FirebaseAuthInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAuthInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/Modules/module.modulemap new file mode 100644 index 00000000000..33c2b721089 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64/FirebaseAuthInterop.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAuthInterop { +umbrella header "FirebaseAuthInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/FirebaseAuthInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/FirebaseAuthInterop new file mode 120000 index 00000000000..ea3012ed56c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/FirebaseAuthInterop @@ -0,0 +1 @@ +Versions/Current/FirebaseAuthInterop \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/FirebaseAuthInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/FirebaseAuthInterop new file mode 100644 index 00000000000..1b6b3f7b1a1 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/FirebaseAuthInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/Headers/FIRAuthInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/Headers/FIRAuthInterop.h new file mode 100644 index 00000000000..a50669da433 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/Headers/FIRAuthInterop.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRAuthInterop_h +#define FIRAuthInterop_h + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** @typedef FIRTokenCallback + @brief The type of block which gets called when a token is ready. + */ +typedef void (^FIRTokenCallback)(NSString *_Nullable_result token, NSError *_Nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/// Common methods for Auth interoperability. +NS_SWIFT_NAME(AuthInterop) +@protocol FIRAuthInterop + +/// Retrieves the Firebase authentication token, possibly refreshing it if it has expired. +- (void)getTokenForcingRefresh:(BOOL)forceRefresh + withCallback: + (void (^)(NSString *_Nullable_result token, NSError *_Nullable error))callback + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// Get the current Auth user's UID. Returns nil if there is no user signed in. +- (nullable NSString *)getUserID; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRAuthInterop_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/Headers/FirebaseAuthInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/Headers/FirebaseAuthInterop-umbrella.h new file mode 100644 index 00000000000..dd55655bdf5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/Headers/FirebaseAuthInterop-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAuthInterop.h" + +FOUNDATION_EXPORT double FirebaseAuthInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAuthInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..33c2b721089 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAuthInterop { +umbrella header "FirebaseAuthInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..735c6ff12d2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAuthInterop + CFBundleIdentifier + org.cocoapods.FirebaseAuthInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAuthInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAuthInterop.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/FirebaseAuthInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/FirebaseAuthInterop new file mode 100644 index 00000000000..77f10b24730 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/FirebaseAuthInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h new file mode 100644 index 00000000000..a50669da433 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRAuthInterop_h +#define FIRAuthInterop_h + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** @typedef FIRTokenCallback + @brief The type of block which gets called when a token is ready. + */ +typedef void (^FIRTokenCallback)(NSString *_Nullable_result token, NSError *_Nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/// Common methods for Auth interoperability. +NS_SWIFT_NAME(AuthInterop) +@protocol FIRAuthInterop + +/// Retrieves the Firebase authentication token, possibly refreshing it if it has expired. +- (void)getTokenForcingRefresh:(BOOL)forceRefresh + withCallback: + (void (^)(NSString *_Nullable_result token, NSError *_Nullable error))callback + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// Get the current Auth user's UID. Returns nil if there is no user signed in. +- (nullable NSString *)getUserID; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRAuthInterop_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h new file mode 100644 index 00000000000..dd55655bdf5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAuthInterop.h" + +FOUNDATION_EXPORT double FirebaseAuthInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAuthInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Info.plist new file mode 100644 index 00000000000..c8ef2bc062a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAuthInterop + CFBundleIdentifier + org.cocoapods.FirebaseAuthInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAuthInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Modules/module.modulemap new file mode 100644 index 00000000000..33c2b721089 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/ios-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAuthInterop { +umbrella header "FirebaseAuthInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/FirebaseAuthInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/FirebaseAuthInterop new file mode 120000 index 00000000000..ea3012ed56c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/FirebaseAuthInterop @@ -0,0 +1 @@ +Versions/Current/FirebaseAuthInterop \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/FirebaseAuthInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/FirebaseAuthInterop new file mode 100644 index 00000000000..da63241e802 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/FirebaseAuthInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/Headers/FIRAuthInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/Headers/FIRAuthInterop.h new file mode 100644 index 00000000000..a50669da433 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/Headers/FIRAuthInterop.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRAuthInterop_h +#define FIRAuthInterop_h + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** @typedef FIRTokenCallback + @brief The type of block which gets called when a token is ready. + */ +typedef void (^FIRTokenCallback)(NSString *_Nullable_result token, NSError *_Nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/// Common methods for Auth interoperability. +NS_SWIFT_NAME(AuthInterop) +@protocol FIRAuthInterop + +/// Retrieves the Firebase authentication token, possibly refreshing it if it has expired. +- (void)getTokenForcingRefresh:(BOOL)forceRefresh + withCallback: + (void (^)(NSString *_Nullable_result token, NSError *_Nullable error))callback + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// Get the current Auth user's UID. Returns nil if there is no user signed in. +- (nullable NSString *)getUserID; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRAuthInterop_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/Headers/FirebaseAuthInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/Headers/FirebaseAuthInterop-umbrella.h new file mode 100644 index 00000000000..bc79da85a4c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/Headers/FirebaseAuthInterop-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAuthInterop.h" + +FOUNDATION_EXPORT double FirebaseAuthInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAuthInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..33c2b721089 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAuthInterop { +umbrella header "FirebaseAuthInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..87ab59bac42 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAuthInterop + CFBundleIdentifier + org.cocoapods.FirebaseAuthInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAuthInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/macos-arm64_x86_64/FirebaseAuthInterop.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/FirebaseAuthInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/FirebaseAuthInterop new file mode 100644 index 00000000000..acc96101c18 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/FirebaseAuthInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h new file mode 100644 index 00000000000..a50669da433 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRAuthInterop_h +#define FIRAuthInterop_h + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** @typedef FIRTokenCallback + @brief The type of block which gets called when a token is ready. + */ +typedef void (^FIRTokenCallback)(NSString *_Nullable_result token, NSError *_Nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/// Common methods for Auth interoperability. +NS_SWIFT_NAME(AuthInterop) +@protocol FIRAuthInterop + +/// Retrieves the Firebase authentication token, possibly refreshing it if it has expired. +- (void)getTokenForcingRefresh:(BOOL)forceRefresh + withCallback: + (void (^)(NSString *_Nullable_result token, NSError *_Nullable error))callback + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// Get the current Auth user's UID. Returns nil if there is no user signed in. +- (nullable NSString *)getUserID; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRAuthInterop_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h new file mode 100644 index 00000000000..dd55655bdf5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAuthInterop.h" + +FOUNDATION_EXPORT double FirebaseAuthInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAuthInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/Info.plist new file mode 100644 index 00000000000..05a026371f3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAuthInterop + CFBundleIdentifier + org.cocoapods.FirebaseAuthInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAuthInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/Modules/module.modulemap new file mode 100644 index 00000000000..33c2b721089 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64/FirebaseAuthInterop.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAuthInterop { +umbrella header "FirebaseAuthInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/FirebaseAuthInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/FirebaseAuthInterop new file mode 100644 index 00000000000..eab2801aa89 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/FirebaseAuthInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h new file mode 100644 index 00000000000..a50669da433 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRAuthInterop_h +#define FIRAuthInterop_h + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** @typedef FIRTokenCallback + @brief The type of block which gets called when a token is ready. + */ +typedef void (^FIRTokenCallback)(NSString *_Nullable_result token, NSError *_Nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/// Common methods for Auth interoperability. +NS_SWIFT_NAME(AuthInterop) +@protocol FIRAuthInterop + +/// Retrieves the Firebase authentication token, possibly refreshing it if it has expired. +- (void)getTokenForcingRefresh:(BOOL)forceRefresh + withCallback: + (void (^)(NSString *_Nullable_result token, NSError *_Nullable error))callback + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// Get the current Auth user's UID. Returns nil if there is no user signed in. +- (nullable NSString *)getUserID; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRAuthInterop_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h new file mode 100644 index 00000000000..dd55655bdf5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAuthInterop.h" + +FOUNDATION_EXPORT double FirebaseAuthInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAuthInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Info.plist new file mode 100644 index 00000000000..841299f7b91 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAuthInterop + CFBundleIdentifier + org.cocoapods.FirebaseAuthInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAuthInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Modules/module.modulemap new file mode 100644 index 00000000000..33c2b721089 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/tvos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAuthInterop { +umbrella header "FirebaseAuthInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/FirebaseAuthInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/FirebaseAuthInterop new file mode 100644 index 00000000000..48dae3fd0a4 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/FirebaseAuthInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h new file mode 100644 index 00000000000..a50669da433 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRAuthInterop_h +#define FIRAuthInterop_h + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** @typedef FIRTokenCallback + @brief The type of block which gets called when a token is ready. + */ +typedef void (^FIRTokenCallback)(NSString *_Nullable_result token, NSError *_Nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/// Common methods for Auth interoperability. +NS_SWIFT_NAME(AuthInterop) +@protocol FIRAuthInterop + +/// Retrieves the Firebase authentication token, possibly refreshing it if it has expired. +- (void)getTokenForcingRefresh:(BOOL)forceRefresh + withCallback: + (void (^)(NSString *_Nullable_result token, NSError *_Nullable error))callback + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// Get the current Auth user's UID. Returns nil if there is no user signed in. +- (nullable NSString *)getUserID; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRAuthInterop_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h new file mode 100644 index 00000000000..e18fe9113a9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAuthInterop.h" + +FOUNDATION_EXPORT double FirebaseAuthInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAuthInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/Info.plist new file mode 100644 index 00000000000..ffdbc7fbcc7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAuthInterop + CFBundleIdentifier + org.cocoapods.FirebaseAuthInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAuthInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchos + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchos10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/Modules/module.modulemap new file mode 100644 index 00000000000..33c2b721089 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_arm64_32/FirebaseAuthInterop.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAuthInterop { +umbrella header "FirebaseAuthInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/FirebaseAuthInterop b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/FirebaseAuthInterop new file mode 100644 index 00000000000..ea759a8961b Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/FirebaseAuthInterop differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h new file mode 100644 index 00000000000..a50669da433 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FIRAuthInterop.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRAuthInterop_h +#define FIRAuthInterop_h + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** @typedef FIRTokenCallback + @brief The type of block which gets called when a token is ready. + */ +typedef void (^FIRTokenCallback)(NSString *_Nullable_result token, NSError *_Nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/// Common methods for Auth interoperability. +NS_SWIFT_NAME(AuthInterop) +@protocol FIRAuthInterop + +/// Retrieves the Firebase authentication token, possibly refreshing it if it has expired. +- (void)getTokenForcingRefresh:(BOOL)forceRefresh + withCallback: + (void (^)(NSString *_Nullable_result token, NSError *_Nullable error))callback + NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); + +/// Get the current Auth user's UID. Returns nil if there is no user signed in. +- (nullable NSString *)getUserID; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRAuthInterop_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h new file mode 100644 index 00000000000..e18fe9113a9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Headers/FirebaseAuthInterop-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAuthInterop.h" + +FOUNDATION_EXPORT double FirebaseAuthInteropVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAuthInteropVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Info.plist new file mode 100644 index 00000000000..c0e3a60d3e5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseAuthInterop + CFBundleIdentifier + org.cocoapods.FirebaseAuthInterop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseAuthInterop + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchsimulator + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchsimulator10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Modules/module.modulemap new file mode 100644 index 00000000000..33c2b721089 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseAuthInterop.xcframework/watchos-arm64_x86_64-simulator/FirebaseAuthInterop.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module FirebaseAuthInterop { +umbrella header "FirebaseAuthInterop-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/Info.plist new file mode 100644 index 00000000000..44ac5412b03 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/Info.plist @@ -0,0 +1,139 @@ + + + + + AvailableLibraries + + + BinaryPath + FirebaseCore.framework/FirebaseCore + LibraryIdentifier + watchos-arm64_x86_64-simulator + LibraryPath + FirebaseCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + watchos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseCore.framework/FirebaseCore + LibraryIdentifier + tvos-arm64 + LibraryPath + FirebaseCore.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + FirebaseCore.framework/FirebaseCore + LibraryIdentifier + ios-arm64 + LibraryPath + FirebaseCore.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + FirebaseCore.framework/Versions/A/FirebaseCore + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FirebaseCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + BinaryPath + FirebaseCore.framework/Versions/A/FirebaseCore + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + FirebaseCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + BinaryPath + FirebaseCore.framework/FirebaseCore + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FirebaseCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseCore.framework/FirebaseCore + LibraryIdentifier + watchos-arm64_arm64_32 + LibraryPath + FirebaseCore.framework + SupportedArchitectures + + arm64 + arm64_32 + + SupportedPlatform + watchos + + + BinaryPath + FirebaseCore.framework/FirebaseCore + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FirebaseCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/FirebaseCore b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/FirebaseCore new file mode 100644 index 00000000000..1d58c3c8b4e Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/FirebaseCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..00035787b27 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..0244f2f54b0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRApp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRApp.h new file mode 100644 index 00000000000..58ef2a62594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRApp.h @@ -0,0 +1,129 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIROptions; + +NS_ASSUME_NONNULL_BEGIN + +/** A block that takes a BOOL and has no return value. */ +typedef void (^FIRAppVoidBoolCallback)(BOOL success) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The entry point of Firebase SDKs. + * + * Initialize and configure `FirebaseApp` using `FirebaseApp.configure()` + * or other customized ways as shown below. + * + * The logging system has two modes: default mode and debug mode. In default mode, only logs with + * log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent + * to device. The log levels that Firebase uses are consistent with the ASL log levels. + * + * Enable debug mode by passing the `-FIRDebugEnabled` argument to the application. You can add this + * argument in the application's Xcode scheme. When debug mode is enabled via `-FIRDebugEnabled`, + * further executions of the application will also be in debug mode. In order to return to default + * mode, you must explicitly disable the debug mode with the application argument + * `-FIRDebugDisabled`. + * + * It is also possible to change the default logging level in code by calling + * `FirebaseConfiguration.shared.setLoggerLevel(_:)` with the desired level. + */ +NS_SWIFT_NAME(FirebaseApp) +@interface FIRApp : NSObject + +/** + * Configures a default Firebase app. Raises an exception if any configuration step fails. The + * default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched + * and before using Firebase services. This method should be called from the main thread and + * contains synchronous file I/O (reading GoogleService-Info.plist from disk). + */ ++ (void)configure; + +/** + * Configures the default Firebase app with the provided options. The default app is named + * "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method should be + * called from the main thread. + * + * @param options The Firebase application options used to configure the service. + */ ++ (void)configureWithOptions:(FIROptions *)options NS_SWIFT_NAME(configure(options:)); + +/** + * Configures a Firebase app with the given name and options. Raises an exception if any + * configuration step fails. This method should be called from the main thread. + * + * @param name The application's name given by the developer. The name should should only contain + Letters, Numbers and Underscore. + * @param options The Firebase application options used to configure the services. + */ +// clang-format off ++ (void)configureWithName:(NSString *)name + options:(FIROptions *)options NS_SWIFT_NAME(configure(name:options:)); +// clang-format on + +/** + * Returns the default app, or `nil` if the default app does not exist. + */ ++ (nullable FIRApp *)defaultApp NS_SWIFT_NAME(app()); + +/** + * Returns a previously created `FirebaseApp` instance with the given name, or `nil` if no such app + * exists. This method is thread safe. + */ ++ (nullable FIRApp *)appNamed:(NSString *)name NS_SWIFT_NAME(app(name:)); + +/** + * Returns the set of all extant `FirebaseApp` instances, or `nil` if there are no `FirebaseApp` + * instances. This method is thread safe. + */ +@property(class, readonly, nullable) NSDictionary *allApps; + +/** + * Cleans up the current `FirebaseApp`, freeing associated data and returning its name to the pool + * for future use. This method is thread safe. + */ +- (void)deleteApp:(void (^)(BOOL success))completion; + +/** + * `FirebaseApp` instances should not be initialized directly. Call `FirebaseApp.configure()`, + * `FirebaseApp.configure(options:)`, or `FirebaseApp.configure(name:options:)` directly. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Gets the name of this app. + */ +@property(nonatomic, copy, readonly) NSString *name; + +/** + * Gets a copy of the options for this app. These are non-modifiable. + */ +@property(nonatomic, copy, readonly) FIROptions *options; + +/** + * Gets or sets whether automatic data collection is enabled for all products. Defaults to `true` + * unless `FirebaseDataCollectionDefaultEnabled` is set to `NO` in your app's Info.plist. This value + * is persisted across runs of the app so that it can be set once when users have consented to + * collection. + */ +@property(nonatomic, readwrite, getter=isDataCollectionDefaultEnabled) + BOOL dataCollectionDefaultEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRConfiguration.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRConfiguration.h new file mode 100644 index 00000000000..408bcadb75f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRConfiguration.h @@ -0,0 +1,45 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * This interface provides global level properties that the developer can tweak. + */ +NS_SWIFT_NAME(FirebaseConfiguration) +@interface FIRConfiguration : NSObject + +/** Returns the shared configuration object. */ +@property(class, nonatomic, readonly) FIRConfiguration *sharedInstance NS_SWIFT_NAME(shared); + +/** + * Sets the logging level for internal Firebase logging. Firebase will only log messages + * that are logged at or below `loggerLevel`. The messages are logged both to the Xcode + * console and to the device's log. Note that if an app is running from AppStore, it will + * never log above `.notice` even if `loggerLevel` is set to a higher (more verbose) + * setting. + * + * @param loggerLevel The maximum logging level. The default level is set to FIRLoggerLevelNotice. + */ +- (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRLoggerLevel.h new file mode 100644 index 00000000000..dca3aa0b01f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRLoggerLevel.h @@ -0,0 +1,38 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Note that importing GULLoggerLevel.h will lead to a non-modular header +// import error. + +/** + * The log levels used by internal logging. + */ +typedef NS_ENUM(NSInteger, FIRLoggerLevel) { + /** Error level, matches ASL_LEVEL_ERR. */ + FIRLoggerLevelError = 3, + /** Warning level, matches ASL_LEVEL_WARNING. */ + FIRLoggerLevelWarning = 4, + /** Notice level, matches ASL_LEVEL_NOTICE. */ + FIRLoggerLevelNotice = 5, + /** Info level, matches ASL_LEVEL_INFO. */ + FIRLoggerLevelInfo = 6, + /** Debug level, matches ASL_LEVEL_DEBUG. */ + FIRLoggerLevelDebug = 7, + /** Minimum log level. */ + FIRLoggerLevelMin = FIRLoggerLevelError, + /** Maximum log level. */ + FIRLoggerLevelMax = FIRLoggerLevelDebug +} NS_SWIFT_NAME(FirebaseLoggerLevel); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIROptions.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIROptions.h new file mode 100644 index 00000000000..8f8d945d765 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIROptions.h @@ -0,0 +1,131 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class provides constant fields of Google APIs. + */ +NS_SWIFT_NAME(FirebaseOptions) +@interface FIROptions : NSObject + +/** + * Returns the default options. The first time this is called it synchronously reads + * GoogleService-Info.plist from disk. + */ ++ (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions()); + +/** + * An API key used for authenticating requests from your Apple app, e.g. + * The key must begin with "A" and contain exactly 39 alphanumeric characters, used to identify your + * app to Google servers. + */ +@property(nonatomic, copy, nullable) NSString *APIKey NS_SWIFT_NAME(apiKey); + +/** + * The bundle ID for the application. Defaults to `Bundle.main.bundleIdentifier` when not set + * manually or in a plist. + */ +@property(nonatomic, copy) NSString *bundleID; + +/** + * The OAuth2 client ID for Apple applications used to authenticate Google users, for example + * @"12345.apps.googleusercontent.com", used for signing in with Google. + */ +@property(nonatomic, copy, nullable) NSString *clientID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE; + +/** + * The Project Number from the Google Developer's console, for example @"012345678901", used to + * configure Firebase Cloud Messaging. + */ +@property(nonatomic, copy) NSString *GCMSenderID NS_SWIFT_NAME(gcmSenderID); + +/** + * The Project ID from the Firebase console, for example @"abc-xyz-123". + */ +@property(nonatomic, copy, nullable) NSString *projectID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE; + +/** + * The Google App ID that is used to uniquely identify an instance of an app. + */ +@property(nonatomic, copy) NSString *googleAppID; + +/** + * The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com". + */ +@property(nonatomic, copy, nullable) NSString *databaseURL; + +/** + * The URL scheme used to set up Durable Deep Link service. + */ +@property(nonatomic, copy, nullable) NSString *deepLinkURLScheme; + +/** + * The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com". + */ +@property(nonatomic, copy, nullable) NSString *storageBucket; + +/** + * The App Group identifier to share data between the application and the application extensions. + * The App Group must be configured in the application and on the Apple Developer Portal. Default + * value `nil`. + */ +@property(nonatomic, copy, nullable) NSString *appGroupID; + +/** + * Initializes a customized instance of FirebaseOptions from the file at the given plist file path. + * This will read the file synchronously from disk. + * For example: + * ```swift + * if let path = Bundle.main.path(forResource:"GoogleServices-Info", ofType:"plist") { + * let options = FirebaseOptions(contentsOfFile: path) + * } + * ``` + * Note that it is not possible to customize `FirebaseOptions` for Firebase Analytics which expects + * a static file named `GoogleServices-Info.plist` - + * https://github.com/firebase/firebase-ios-sdk/issues/230. + * Returns `nil` if the plist file does not exist or is invalid. + */ +- (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath NS_DESIGNATED_INITIALIZER; + +/** + * Initializes a customized instance of `FirebaseOptions` with required fields. Use the mutable + * properties to modify fields for configuring specific services. Note that it is not possible to + * customize `FirebaseOptions` for Firebase Analytics which expects a static file named + * `GoogleServices-Info.plist` - https://github.com/firebase/firebase-ios-sdk/issues/230. + */ +- (instancetype)initWithGoogleAppID:(NSString *)googleAppID + GCMSenderID:(NSString *)GCMSenderID + NS_SWIFT_NAME(init(googleAppID:gcmSenderID:))NS_DESIGNATED_INITIALIZER; + +/** Unavailable. Please use `init(contentsOfFile:)` or `init(googleAppID:gcmSenderID:)` instead. */ +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRTimestamp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRTimestamp.h new file mode 100644 index 00000000000..375f697338a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRTimestamp.h @@ -0,0 +1,89 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * A Timestamp represents a point in time independent of any time zone or calendar, represented as + * seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. It is encoded using + * the Proleptic Gregorian Calendar which extends the Gregorian calendar backwards to year one. It + * is encoded assuming all minutes are 60 seconds long, i.e. leap seconds are "smeared" so that no + * leap second table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to + * 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to + * and from RFC 3339 date strings. + * + * @see https://github.com/google/protobuf/blob/main/src/google/protobuf/timestamp.proto for the + * reference timestamp definition. + */ +NS_SWIFT_NAME(Timestamp) +@interface FIRTimestamp : NSObject + +/** :nodoc: */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ +- (instancetype)initWithSeconds:(int64_t)seconds + nanoseconds:(int32_t)nanoseconds NS_DESIGNATED_INITIALIZER; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ ++ (instancetype)timestampWithSeconds:(int64_t)seconds nanoseconds:(int32_t)nanoseconds; + +/** Creates a new timestamp from the given date. */ ++ (instancetype)timestampWithDate:(NSDate *)date; + +/** Creates a new timestamp with the current date / time. */ ++ (instancetype)timestamp; + +/** Returns a new `Date` corresponding to this timestamp. This may lose precision. */ +- (NSDate *)dateValue; + +/** + * Returns the result of comparing the receiver with another timestamp. + * @param other the other timestamp to compare. + * @return `orderedAscending` if `other` is chronologically following self, + * `orderedDescending` if `other` is chronologically preceding self, + * `orderedSame` otherwise. + */ +- (NSComparisonResult)compare:(FIRTimestamp *)other; + +/** + * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. + * Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. + */ +@property(nonatomic, assign, readonly) int64_t seconds; + +/** + * Non-negative fractions of a second at nanosecond resolution. Negative second values with + * fractions must still have non-negative nanos values that count forward in time. + * Must be from 0 to 999,999,999 inclusive. + */ +@property(nonatomic, assign, readonly) int32_t nanoseconds; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRVersion.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRVersion.h new file mode 100644 index 00000000000..651edaf5c8b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FIRVersion.h @@ -0,0 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** Returns the current version of Firebase. */ +NS_SWIFT_NAME(FirebaseVersion()) +NSString* FIRFirebaseVersion(void); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h new file mode 100644 index 00000000000..509268c0494 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h @@ -0,0 +1,23 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FirebaseCore.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" + +FOUNDATION_EXPORT double FirebaseCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FirebaseCore.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FirebaseCore.h new file mode 100644 index 00000000000..fff8631ecf8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Headers/FirebaseCore.h @@ -0,0 +1,22 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Info.plist new file mode 100644 index 00000000000..b6c2232a9b8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCore + CFBundleIdentifier + org.cocoapods.FirebaseCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Modules/module.modulemap new file mode 100644 index 00000000000..e5cdc8dbad2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCore { +umbrella header "FirebaseCore-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/FirebaseCore b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/FirebaseCore new file mode 120000 index 00000000000..185b4c36831 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/FirebaseCore @@ -0,0 +1 @@ +Versions/Current/FirebaseCore \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/FirebaseCore b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/FirebaseCore new file mode 100644 index 00000000000..ae12a5d6797 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/FirebaseCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRApp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRApp.h new file mode 100644 index 00000000000..58ef2a62594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRApp.h @@ -0,0 +1,129 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIROptions; + +NS_ASSUME_NONNULL_BEGIN + +/** A block that takes a BOOL and has no return value. */ +typedef void (^FIRAppVoidBoolCallback)(BOOL success) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The entry point of Firebase SDKs. + * + * Initialize and configure `FirebaseApp` using `FirebaseApp.configure()` + * or other customized ways as shown below. + * + * The logging system has two modes: default mode and debug mode. In default mode, only logs with + * log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent + * to device. The log levels that Firebase uses are consistent with the ASL log levels. + * + * Enable debug mode by passing the `-FIRDebugEnabled` argument to the application. You can add this + * argument in the application's Xcode scheme. When debug mode is enabled via `-FIRDebugEnabled`, + * further executions of the application will also be in debug mode. In order to return to default + * mode, you must explicitly disable the debug mode with the application argument + * `-FIRDebugDisabled`. + * + * It is also possible to change the default logging level in code by calling + * `FirebaseConfiguration.shared.setLoggerLevel(_:)` with the desired level. + */ +NS_SWIFT_NAME(FirebaseApp) +@interface FIRApp : NSObject + +/** + * Configures a default Firebase app. Raises an exception if any configuration step fails. The + * default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched + * and before using Firebase services. This method should be called from the main thread and + * contains synchronous file I/O (reading GoogleService-Info.plist from disk). + */ ++ (void)configure; + +/** + * Configures the default Firebase app with the provided options. The default app is named + * "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method should be + * called from the main thread. + * + * @param options The Firebase application options used to configure the service. + */ ++ (void)configureWithOptions:(FIROptions *)options NS_SWIFT_NAME(configure(options:)); + +/** + * Configures a Firebase app with the given name and options. Raises an exception if any + * configuration step fails. This method should be called from the main thread. + * + * @param name The application's name given by the developer. The name should should only contain + Letters, Numbers and Underscore. + * @param options The Firebase application options used to configure the services. + */ +// clang-format off ++ (void)configureWithName:(NSString *)name + options:(FIROptions *)options NS_SWIFT_NAME(configure(name:options:)); +// clang-format on + +/** + * Returns the default app, or `nil` if the default app does not exist. + */ ++ (nullable FIRApp *)defaultApp NS_SWIFT_NAME(app()); + +/** + * Returns a previously created `FirebaseApp` instance with the given name, or `nil` if no such app + * exists. This method is thread safe. + */ ++ (nullable FIRApp *)appNamed:(NSString *)name NS_SWIFT_NAME(app(name:)); + +/** + * Returns the set of all extant `FirebaseApp` instances, or `nil` if there are no `FirebaseApp` + * instances. This method is thread safe. + */ +@property(class, readonly, nullable) NSDictionary *allApps; + +/** + * Cleans up the current `FirebaseApp`, freeing associated data and returning its name to the pool + * for future use. This method is thread safe. + */ +- (void)deleteApp:(void (^)(BOOL success))completion; + +/** + * `FirebaseApp` instances should not be initialized directly. Call `FirebaseApp.configure()`, + * `FirebaseApp.configure(options:)`, or `FirebaseApp.configure(name:options:)` directly. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Gets the name of this app. + */ +@property(nonatomic, copy, readonly) NSString *name; + +/** + * Gets a copy of the options for this app. These are non-modifiable. + */ +@property(nonatomic, copy, readonly) FIROptions *options; + +/** + * Gets or sets whether automatic data collection is enabled for all products. Defaults to `true` + * unless `FirebaseDataCollectionDefaultEnabled` is set to `NO` in your app's Info.plist. This value + * is persisted across runs of the app so that it can be set once when users have consented to + * collection. + */ +@property(nonatomic, readwrite, getter=isDataCollectionDefaultEnabled) + BOOL dataCollectionDefaultEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRConfiguration.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRConfiguration.h new file mode 100644 index 00000000000..408bcadb75f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRConfiguration.h @@ -0,0 +1,45 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * This interface provides global level properties that the developer can tweak. + */ +NS_SWIFT_NAME(FirebaseConfiguration) +@interface FIRConfiguration : NSObject + +/** Returns the shared configuration object. */ +@property(class, nonatomic, readonly) FIRConfiguration *sharedInstance NS_SWIFT_NAME(shared); + +/** + * Sets the logging level for internal Firebase logging. Firebase will only log messages + * that are logged at or below `loggerLevel`. The messages are logged both to the Xcode + * console and to the device's log. Note that if an app is running from AppStore, it will + * never log above `.notice` even if `loggerLevel` is set to a higher (more verbose) + * setting. + * + * @param loggerLevel The maximum logging level. The default level is set to FIRLoggerLevelNotice. + */ +- (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRLoggerLevel.h new file mode 100644 index 00000000000..dca3aa0b01f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRLoggerLevel.h @@ -0,0 +1,38 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Note that importing GULLoggerLevel.h will lead to a non-modular header +// import error. + +/** + * The log levels used by internal logging. + */ +typedef NS_ENUM(NSInteger, FIRLoggerLevel) { + /** Error level, matches ASL_LEVEL_ERR. */ + FIRLoggerLevelError = 3, + /** Warning level, matches ASL_LEVEL_WARNING. */ + FIRLoggerLevelWarning = 4, + /** Notice level, matches ASL_LEVEL_NOTICE. */ + FIRLoggerLevelNotice = 5, + /** Info level, matches ASL_LEVEL_INFO. */ + FIRLoggerLevelInfo = 6, + /** Debug level, matches ASL_LEVEL_DEBUG. */ + FIRLoggerLevelDebug = 7, + /** Minimum log level. */ + FIRLoggerLevelMin = FIRLoggerLevelError, + /** Maximum log level. */ + FIRLoggerLevelMax = FIRLoggerLevelDebug +} NS_SWIFT_NAME(FirebaseLoggerLevel); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIROptions.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIROptions.h new file mode 100644 index 00000000000..8f8d945d765 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIROptions.h @@ -0,0 +1,131 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class provides constant fields of Google APIs. + */ +NS_SWIFT_NAME(FirebaseOptions) +@interface FIROptions : NSObject + +/** + * Returns the default options. The first time this is called it synchronously reads + * GoogleService-Info.plist from disk. + */ ++ (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions()); + +/** + * An API key used for authenticating requests from your Apple app, e.g. + * The key must begin with "A" and contain exactly 39 alphanumeric characters, used to identify your + * app to Google servers. + */ +@property(nonatomic, copy, nullable) NSString *APIKey NS_SWIFT_NAME(apiKey); + +/** + * The bundle ID for the application. Defaults to `Bundle.main.bundleIdentifier` when not set + * manually or in a plist. + */ +@property(nonatomic, copy) NSString *bundleID; + +/** + * The OAuth2 client ID for Apple applications used to authenticate Google users, for example + * @"12345.apps.googleusercontent.com", used for signing in with Google. + */ +@property(nonatomic, copy, nullable) NSString *clientID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE; + +/** + * The Project Number from the Google Developer's console, for example @"012345678901", used to + * configure Firebase Cloud Messaging. + */ +@property(nonatomic, copy) NSString *GCMSenderID NS_SWIFT_NAME(gcmSenderID); + +/** + * The Project ID from the Firebase console, for example @"abc-xyz-123". + */ +@property(nonatomic, copy, nullable) NSString *projectID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE; + +/** + * The Google App ID that is used to uniquely identify an instance of an app. + */ +@property(nonatomic, copy) NSString *googleAppID; + +/** + * The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com". + */ +@property(nonatomic, copy, nullable) NSString *databaseURL; + +/** + * The URL scheme used to set up Durable Deep Link service. + */ +@property(nonatomic, copy, nullable) NSString *deepLinkURLScheme; + +/** + * The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com". + */ +@property(nonatomic, copy, nullable) NSString *storageBucket; + +/** + * The App Group identifier to share data between the application and the application extensions. + * The App Group must be configured in the application and on the Apple Developer Portal. Default + * value `nil`. + */ +@property(nonatomic, copy, nullable) NSString *appGroupID; + +/** + * Initializes a customized instance of FirebaseOptions from the file at the given plist file path. + * This will read the file synchronously from disk. + * For example: + * ```swift + * if let path = Bundle.main.path(forResource:"GoogleServices-Info", ofType:"plist") { + * let options = FirebaseOptions(contentsOfFile: path) + * } + * ``` + * Note that it is not possible to customize `FirebaseOptions` for Firebase Analytics which expects + * a static file named `GoogleServices-Info.plist` - + * https://github.com/firebase/firebase-ios-sdk/issues/230. + * Returns `nil` if the plist file does not exist or is invalid. + */ +- (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath NS_DESIGNATED_INITIALIZER; + +/** + * Initializes a customized instance of `FirebaseOptions` with required fields. Use the mutable + * properties to modify fields for configuring specific services. Note that it is not possible to + * customize `FirebaseOptions` for Firebase Analytics which expects a static file named + * `GoogleServices-Info.plist` - https://github.com/firebase/firebase-ios-sdk/issues/230. + */ +- (instancetype)initWithGoogleAppID:(NSString *)googleAppID + GCMSenderID:(NSString *)GCMSenderID + NS_SWIFT_NAME(init(googleAppID:gcmSenderID:))NS_DESIGNATED_INITIALIZER; + +/** Unavailable. Please use `init(contentsOfFile:)` or `init(googleAppID:gcmSenderID:)` instead. */ +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRTimestamp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRTimestamp.h new file mode 100644 index 00000000000..375f697338a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRTimestamp.h @@ -0,0 +1,89 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * A Timestamp represents a point in time independent of any time zone or calendar, represented as + * seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. It is encoded using + * the Proleptic Gregorian Calendar which extends the Gregorian calendar backwards to year one. It + * is encoded assuming all minutes are 60 seconds long, i.e. leap seconds are "smeared" so that no + * leap second table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to + * 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to + * and from RFC 3339 date strings. + * + * @see https://github.com/google/protobuf/blob/main/src/google/protobuf/timestamp.proto for the + * reference timestamp definition. + */ +NS_SWIFT_NAME(Timestamp) +@interface FIRTimestamp : NSObject + +/** :nodoc: */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ +- (instancetype)initWithSeconds:(int64_t)seconds + nanoseconds:(int32_t)nanoseconds NS_DESIGNATED_INITIALIZER; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ ++ (instancetype)timestampWithSeconds:(int64_t)seconds nanoseconds:(int32_t)nanoseconds; + +/** Creates a new timestamp from the given date. */ ++ (instancetype)timestampWithDate:(NSDate *)date; + +/** Creates a new timestamp with the current date / time. */ ++ (instancetype)timestamp; + +/** Returns a new `Date` corresponding to this timestamp. This may lose precision. */ +- (NSDate *)dateValue; + +/** + * Returns the result of comparing the receiver with another timestamp. + * @param other the other timestamp to compare. + * @return `orderedAscending` if `other` is chronologically following self, + * `orderedDescending` if `other` is chronologically preceding self, + * `orderedSame` otherwise. + */ +- (NSComparisonResult)compare:(FIRTimestamp *)other; + +/** + * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. + * Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. + */ +@property(nonatomic, assign, readonly) int64_t seconds; + +/** + * Non-negative fractions of a second at nanosecond resolution. Negative second values with + * fractions must still have non-negative nanos values that count forward in time. + * Must be from 0 to 999,999,999 inclusive. + */ +@property(nonatomic, assign, readonly) int32_t nanoseconds; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRVersion.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRVersion.h new file mode 100644 index 00000000000..651edaf5c8b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FIRVersion.h @@ -0,0 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** Returns the current version of Firebase. */ +NS_SWIFT_NAME(FirebaseVersion()) +NSString* FIRFirebaseVersion(void); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FirebaseCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FirebaseCore-umbrella.h new file mode 100644 index 00000000000..509268c0494 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FirebaseCore-umbrella.h @@ -0,0 +1,23 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FirebaseCore.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" + +FOUNDATION_EXPORT double FirebaseCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FirebaseCore.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FirebaseCore.h new file mode 100644 index 00000000000..fff8631ecf8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Headers/FirebaseCore.h @@ -0,0 +1,22 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..e5cdc8dbad2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCore { +umbrella header "FirebaseCore-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Resources/FirebaseCore_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Resources/FirebaseCore_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..abb5c481328 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Resources/FirebaseCore_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.FirebaseCore-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCore_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Resources/FirebaseCore_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Resources/FirebaseCore_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..0244f2f54b0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Resources/FirebaseCore_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..ebed29e3d8d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCore + CFBundleIdentifier + org.cocoapods.FirebaseCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore new file mode 100644 index 00000000000..cd083cdb013 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..b6656aef04a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..0244f2f54b0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRApp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRApp.h new file mode 100644 index 00000000000..58ef2a62594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRApp.h @@ -0,0 +1,129 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIROptions; + +NS_ASSUME_NONNULL_BEGIN + +/** A block that takes a BOOL and has no return value. */ +typedef void (^FIRAppVoidBoolCallback)(BOOL success) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The entry point of Firebase SDKs. + * + * Initialize and configure `FirebaseApp` using `FirebaseApp.configure()` + * or other customized ways as shown below. + * + * The logging system has two modes: default mode and debug mode. In default mode, only logs with + * log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent + * to device. The log levels that Firebase uses are consistent with the ASL log levels. + * + * Enable debug mode by passing the `-FIRDebugEnabled` argument to the application. You can add this + * argument in the application's Xcode scheme. When debug mode is enabled via `-FIRDebugEnabled`, + * further executions of the application will also be in debug mode. In order to return to default + * mode, you must explicitly disable the debug mode with the application argument + * `-FIRDebugDisabled`. + * + * It is also possible to change the default logging level in code by calling + * `FirebaseConfiguration.shared.setLoggerLevel(_:)` with the desired level. + */ +NS_SWIFT_NAME(FirebaseApp) +@interface FIRApp : NSObject + +/** + * Configures a default Firebase app. Raises an exception if any configuration step fails. The + * default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched + * and before using Firebase services. This method should be called from the main thread and + * contains synchronous file I/O (reading GoogleService-Info.plist from disk). + */ ++ (void)configure; + +/** + * Configures the default Firebase app with the provided options. The default app is named + * "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method should be + * called from the main thread. + * + * @param options The Firebase application options used to configure the service. + */ ++ (void)configureWithOptions:(FIROptions *)options NS_SWIFT_NAME(configure(options:)); + +/** + * Configures a Firebase app with the given name and options. Raises an exception if any + * configuration step fails. This method should be called from the main thread. + * + * @param name The application's name given by the developer. The name should should only contain + Letters, Numbers and Underscore. + * @param options The Firebase application options used to configure the services. + */ +// clang-format off ++ (void)configureWithName:(NSString *)name + options:(FIROptions *)options NS_SWIFT_NAME(configure(name:options:)); +// clang-format on + +/** + * Returns the default app, or `nil` if the default app does not exist. + */ ++ (nullable FIRApp *)defaultApp NS_SWIFT_NAME(app()); + +/** + * Returns a previously created `FirebaseApp` instance with the given name, or `nil` if no such app + * exists. This method is thread safe. + */ ++ (nullable FIRApp *)appNamed:(NSString *)name NS_SWIFT_NAME(app(name:)); + +/** + * Returns the set of all extant `FirebaseApp` instances, or `nil` if there are no `FirebaseApp` + * instances. This method is thread safe. + */ +@property(class, readonly, nullable) NSDictionary *allApps; + +/** + * Cleans up the current `FirebaseApp`, freeing associated data and returning its name to the pool + * for future use. This method is thread safe. + */ +- (void)deleteApp:(void (^)(BOOL success))completion; + +/** + * `FirebaseApp` instances should not be initialized directly. Call `FirebaseApp.configure()`, + * `FirebaseApp.configure(options:)`, or `FirebaseApp.configure(name:options:)` directly. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Gets the name of this app. + */ +@property(nonatomic, copy, readonly) NSString *name; + +/** + * Gets a copy of the options for this app. These are non-modifiable. + */ +@property(nonatomic, copy, readonly) FIROptions *options; + +/** + * Gets or sets whether automatic data collection is enabled for all products. Defaults to `true` + * unless `FirebaseDataCollectionDefaultEnabled` is set to `NO` in your app's Info.plist. This value + * is persisted across runs of the app so that it can be set once when users have consented to + * collection. + */ +@property(nonatomic, readwrite, getter=isDataCollectionDefaultEnabled) + BOOL dataCollectionDefaultEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRConfiguration.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRConfiguration.h new file mode 100644 index 00000000000..408bcadb75f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRConfiguration.h @@ -0,0 +1,45 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * This interface provides global level properties that the developer can tweak. + */ +NS_SWIFT_NAME(FirebaseConfiguration) +@interface FIRConfiguration : NSObject + +/** Returns the shared configuration object. */ +@property(class, nonatomic, readonly) FIRConfiguration *sharedInstance NS_SWIFT_NAME(shared); + +/** + * Sets the logging level for internal Firebase logging. Firebase will only log messages + * that are logged at or below `loggerLevel`. The messages are logged both to the Xcode + * console and to the device's log. Note that if an app is running from AppStore, it will + * never log above `.notice` even if `loggerLevel` is set to a higher (more verbose) + * setting. + * + * @param loggerLevel The maximum logging level. The default level is set to FIRLoggerLevelNotice. + */ +- (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRLoggerLevel.h new file mode 100644 index 00000000000..dca3aa0b01f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRLoggerLevel.h @@ -0,0 +1,38 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Note that importing GULLoggerLevel.h will lead to a non-modular header +// import error. + +/** + * The log levels used by internal logging. + */ +typedef NS_ENUM(NSInteger, FIRLoggerLevel) { + /** Error level, matches ASL_LEVEL_ERR. */ + FIRLoggerLevelError = 3, + /** Warning level, matches ASL_LEVEL_WARNING. */ + FIRLoggerLevelWarning = 4, + /** Notice level, matches ASL_LEVEL_NOTICE. */ + FIRLoggerLevelNotice = 5, + /** Info level, matches ASL_LEVEL_INFO. */ + FIRLoggerLevelInfo = 6, + /** Debug level, matches ASL_LEVEL_DEBUG. */ + FIRLoggerLevelDebug = 7, + /** Minimum log level. */ + FIRLoggerLevelMin = FIRLoggerLevelError, + /** Maximum log level. */ + FIRLoggerLevelMax = FIRLoggerLevelDebug +} NS_SWIFT_NAME(FirebaseLoggerLevel); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIROptions.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIROptions.h new file mode 100644 index 00000000000..8f8d945d765 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIROptions.h @@ -0,0 +1,131 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class provides constant fields of Google APIs. + */ +NS_SWIFT_NAME(FirebaseOptions) +@interface FIROptions : NSObject + +/** + * Returns the default options. The first time this is called it synchronously reads + * GoogleService-Info.plist from disk. + */ ++ (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions()); + +/** + * An API key used for authenticating requests from your Apple app, e.g. + * The key must begin with "A" and contain exactly 39 alphanumeric characters, used to identify your + * app to Google servers. + */ +@property(nonatomic, copy, nullable) NSString *APIKey NS_SWIFT_NAME(apiKey); + +/** + * The bundle ID for the application. Defaults to `Bundle.main.bundleIdentifier` when not set + * manually or in a plist. + */ +@property(nonatomic, copy) NSString *bundleID; + +/** + * The OAuth2 client ID for Apple applications used to authenticate Google users, for example + * @"12345.apps.googleusercontent.com", used for signing in with Google. + */ +@property(nonatomic, copy, nullable) NSString *clientID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE; + +/** + * The Project Number from the Google Developer's console, for example @"012345678901", used to + * configure Firebase Cloud Messaging. + */ +@property(nonatomic, copy) NSString *GCMSenderID NS_SWIFT_NAME(gcmSenderID); + +/** + * The Project ID from the Firebase console, for example @"abc-xyz-123". + */ +@property(nonatomic, copy, nullable) NSString *projectID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE; + +/** + * The Google App ID that is used to uniquely identify an instance of an app. + */ +@property(nonatomic, copy) NSString *googleAppID; + +/** + * The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com". + */ +@property(nonatomic, copy, nullable) NSString *databaseURL; + +/** + * The URL scheme used to set up Durable Deep Link service. + */ +@property(nonatomic, copy, nullable) NSString *deepLinkURLScheme; + +/** + * The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com". + */ +@property(nonatomic, copy, nullable) NSString *storageBucket; + +/** + * The App Group identifier to share data between the application and the application extensions. + * The App Group must be configured in the application and on the Apple Developer Portal. Default + * value `nil`. + */ +@property(nonatomic, copy, nullable) NSString *appGroupID; + +/** + * Initializes a customized instance of FirebaseOptions from the file at the given plist file path. + * This will read the file synchronously from disk. + * For example: + * ```swift + * if let path = Bundle.main.path(forResource:"GoogleServices-Info", ofType:"plist") { + * let options = FirebaseOptions(contentsOfFile: path) + * } + * ``` + * Note that it is not possible to customize `FirebaseOptions` for Firebase Analytics which expects + * a static file named `GoogleServices-Info.plist` - + * https://github.com/firebase/firebase-ios-sdk/issues/230. + * Returns `nil` if the plist file does not exist or is invalid. + */ +- (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath NS_DESIGNATED_INITIALIZER; + +/** + * Initializes a customized instance of `FirebaseOptions` with required fields. Use the mutable + * properties to modify fields for configuring specific services. Note that it is not possible to + * customize `FirebaseOptions` for Firebase Analytics which expects a static file named + * `GoogleServices-Info.plist` - https://github.com/firebase/firebase-ios-sdk/issues/230. + */ +- (instancetype)initWithGoogleAppID:(NSString *)googleAppID + GCMSenderID:(NSString *)GCMSenderID + NS_SWIFT_NAME(init(googleAppID:gcmSenderID:))NS_DESIGNATED_INITIALIZER; + +/** Unavailable. Please use `init(contentsOfFile:)` or `init(googleAppID:gcmSenderID:)` instead. */ +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRTimestamp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRTimestamp.h new file mode 100644 index 00000000000..375f697338a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRTimestamp.h @@ -0,0 +1,89 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * A Timestamp represents a point in time independent of any time zone or calendar, represented as + * seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. It is encoded using + * the Proleptic Gregorian Calendar which extends the Gregorian calendar backwards to year one. It + * is encoded assuming all minutes are 60 seconds long, i.e. leap seconds are "smeared" so that no + * leap second table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to + * 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to + * and from RFC 3339 date strings. + * + * @see https://github.com/google/protobuf/blob/main/src/google/protobuf/timestamp.proto for the + * reference timestamp definition. + */ +NS_SWIFT_NAME(Timestamp) +@interface FIRTimestamp : NSObject + +/** :nodoc: */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ +- (instancetype)initWithSeconds:(int64_t)seconds + nanoseconds:(int32_t)nanoseconds NS_DESIGNATED_INITIALIZER; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ ++ (instancetype)timestampWithSeconds:(int64_t)seconds nanoseconds:(int32_t)nanoseconds; + +/** Creates a new timestamp from the given date. */ ++ (instancetype)timestampWithDate:(NSDate *)date; + +/** Creates a new timestamp with the current date / time. */ ++ (instancetype)timestamp; + +/** Returns a new `Date` corresponding to this timestamp. This may lose precision. */ +- (NSDate *)dateValue; + +/** + * Returns the result of comparing the receiver with another timestamp. + * @param other the other timestamp to compare. + * @return `orderedAscending` if `other` is chronologically following self, + * `orderedDescending` if `other` is chronologically preceding self, + * `orderedSame` otherwise. + */ +- (NSComparisonResult)compare:(FIRTimestamp *)other; + +/** + * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. + * Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. + */ +@property(nonatomic, assign, readonly) int64_t seconds; + +/** + * Non-negative fractions of a second at nanosecond resolution. Negative second values with + * fractions must still have non-negative nanos values that count forward in time. + * Must be from 0 to 999,999,999 inclusive. + */ +@property(nonatomic, assign, readonly) int32_t nanoseconds; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRVersion.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRVersion.h new file mode 100644 index 00000000000..651edaf5c8b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRVersion.h @@ -0,0 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** Returns the current version of Firebase. */ +NS_SWIFT_NAME(FirebaseVersion()) +NSString* FIRFirebaseVersion(void); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h new file mode 100644 index 00000000000..509268c0494 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h @@ -0,0 +1,23 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FirebaseCore.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" + +FOUNDATION_EXPORT double FirebaseCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore.h new file mode 100644 index 00000000000..fff8631ecf8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore.h @@ -0,0 +1,22 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Info.plist new file mode 100644 index 00000000000..93250e095db --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCore + CFBundleIdentifier + org.cocoapods.FirebaseCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Modules/module.modulemap new file mode 100644 index 00000000000..e5cdc8dbad2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-simulator/FirebaseCore.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCore { +umbrella header "FirebaseCore-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/FirebaseCore b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/FirebaseCore new file mode 120000 index 00000000000..185b4c36831 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/FirebaseCore @@ -0,0 +1 @@ +Versions/Current/FirebaseCore \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/FirebaseCore b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/FirebaseCore new file mode 100644 index 00000000000..324e0ad3f46 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/FirebaseCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRApp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRApp.h new file mode 100644 index 00000000000..58ef2a62594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRApp.h @@ -0,0 +1,129 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIROptions; + +NS_ASSUME_NONNULL_BEGIN + +/** A block that takes a BOOL and has no return value. */ +typedef void (^FIRAppVoidBoolCallback)(BOOL success) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The entry point of Firebase SDKs. + * + * Initialize and configure `FirebaseApp` using `FirebaseApp.configure()` + * or other customized ways as shown below. + * + * The logging system has two modes: default mode and debug mode. In default mode, only logs with + * log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent + * to device. The log levels that Firebase uses are consistent with the ASL log levels. + * + * Enable debug mode by passing the `-FIRDebugEnabled` argument to the application. You can add this + * argument in the application's Xcode scheme. When debug mode is enabled via `-FIRDebugEnabled`, + * further executions of the application will also be in debug mode. In order to return to default + * mode, you must explicitly disable the debug mode with the application argument + * `-FIRDebugDisabled`. + * + * It is also possible to change the default logging level in code by calling + * `FirebaseConfiguration.shared.setLoggerLevel(_:)` with the desired level. + */ +NS_SWIFT_NAME(FirebaseApp) +@interface FIRApp : NSObject + +/** + * Configures a default Firebase app. Raises an exception if any configuration step fails. The + * default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched + * and before using Firebase services. This method should be called from the main thread and + * contains synchronous file I/O (reading GoogleService-Info.plist from disk). + */ ++ (void)configure; + +/** + * Configures the default Firebase app with the provided options. The default app is named + * "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method should be + * called from the main thread. + * + * @param options The Firebase application options used to configure the service. + */ ++ (void)configureWithOptions:(FIROptions *)options NS_SWIFT_NAME(configure(options:)); + +/** + * Configures a Firebase app with the given name and options. Raises an exception if any + * configuration step fails. This method should be called from the main thread. + * + * @param name The application's name given by the developer. The name should should only contain + Letters, Numbers and Underscore. + * @param options The Firebase application options used to configure the services. + */ +// clang-format off ++ (void)configureWithName:(NSString *)name + options:(FIROptions *)options NS_SWIFT_NAME(configure(name:options:)); +// clang-format on + +/** + * Returns the default app, or `nil` if the default app does not exist. + */ ++ (nullable FIRApp *)defaultApp NS_SWIFT_NAME(app()); + +/** + * Returns a previously created `FirebaseApp` instance with the given name, or `nil` if no such app + * exists. This method is thread safe. + */ ++ (nullable FIRApp *)appNamed:(NSString *)name NS_SWIFT_NAME(app(name:)); + +/** + * Returns the set of all extant `FirebaseApp` instances, or `nil` if there are no `FirebaseApp` + * instances. This method is thread safe. + */ +@property(class, readonly, nullable) NSDictionary *allApps; + +/** + * Cleans up the current `FirebaseApp`, freeing associated data and returning its name to the pool + * for future use. This method is thread safe. + */ +- (void)deleteApp:(void (^)(BOOL success))completion; + +/** + * `FirebaseApp` instances should not be initialized directly. Call `FirebaseApp.configure()`, + * `FirebaseApp.configure(options:)`, or `FirebaseApp.configure(name:options:)` directly. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Gets the name of this app. + */ +@property(nonatomic, copy, readonly) NSString *name; + +/** + * Gets a copy of the options for this app. These are non-modifiable. + */ +@property(nonatomic, copy, readonly) FIROptions *options; + +/** + * Gets or sets whether automatic data collection is enabled for all products. Defaults to `true` + * unless `FirebaseDataCollectionDefaultEnabled` is set to `NO` in your app's Info.plist. This value + * is persisted across runs of the app so that it can be set once when users have consented to + * collection. + */ +@property(nonatomic, readwrite, getter=isDataCollectionDefaultEnabled) + BOOL dataCollectionDefaultEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRConfiguration.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRConfiguration.h new file mode 100644 index 00000000000..408bcadb75f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRConfiguration.h @@ -0,0 +1,45 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * This interface provides global level properties that the developer can tweak. + */ +NS_SWIFT_NAME(FirebaseConfiguration) +@interface FIRConfiguration : NSObject + +/** Returns the shared configuration object. */ +@property(class, nonatomic, readonly) FIRConfiguration *sharedInstance NS_SWIFT_NAME(shared); + +/** + * Sets the logging level for internal Firebase logging. Firebase will only log messages + * that are logged at or below `loggerLevel`. The messages are logged both to the Xcode + * console and to the device's log. Note that if an app is running from AppStore, it will + * never log above `.notice` even if `loggerLevel` is set to a higher (more verbose) + * setting. + * + * @param loggerLevel The maximum logging level. The default level is set to FIRLoggerLevelNotice. + */ +- (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRLoggerLevel.h new file mode 100644 index 00000000000..dca3aa0b01f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRLoggerLevel.h @@ -0,0 +1,38 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Note that importing GULLoggerLevel.h will lead to a non-modular header +// import error. + +/** + * The log levels used by internal logging. + */ +typedef NS_ENUM(NSInteger, FIRLoggerLevel) { + /** Error level, matches ASL_LEVEL_ERR. */ + FIRLoggerLevelError = 3, + /** Warning level, matches ASL_LEVEL_WARNING. */ + FIRLoggerLevelWarning = 4, + /** Notice level, matches ASL_LEVEL_NOTICE. */ + FIRLoggerLevelNotice = 5, + /** Info level, matches ASL_LEVEL_INFO. */ + FIRLoggerLevelInfo = 6, + /** Debug level, matches ASL_LEVEL_DEBUG. */ + FIRLoggerLevelDebug = 7, + /** Minimum log level. */ + FIRLoggerLevelMin = FIRLoggerLevelError, + /** Maximum log level. */ + FIRLoggerLevelMax = FIRLoggerLevelDebug +} NS_SWIFT_NAME(FirebaseLoggerLevel); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIROptions.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIROptions.h new file mode 100644 index 00000000000..8f8d945d765 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIROptions.h @@ -0,0 +1,131 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class provides constant fields of Google APIs. + */ +NS_SWIFT_NAME(FirebaseOptions) +@interface FIROptions : NSObject + +/** + * Returns the default options. The first time this is called it synchronously reads + * GoogleService-Info.plist from disk. + */ ++ (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions()); + +/** + * An API key used for authenticating requests from your Apple app, e.g. + * The key must begin with "A" and contain exactly 39 alphanumeric characters, used to identify your + * app to Google servers. + */ +@property(nonatomic, copy, nullable) NSString *APIKey NS_SWIFT_NAME(apiKey); + +/** + * The bundle ID for the application. Defaults to `Bundle.main.bundleIdentifier` when not set + * manually or in a plist. + */ +@property(nonatomic, copy) NSString *bundleID; + +/** + * The OAuth2 client ID for Apple applications used to authenticate Google users, for example + * @"12345.apps.googleusercontent.com", used for signing in with Google. + */ +@property(nonatomic, copy, nullable) NSString *clientID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE; + +/** + * The Project Number from the Google Developer's console, for example @"012345678901", used to + * configure Firebase Cloud Messaging. + */ +@property(nonatomic, copy) NSString *GCMSenderID NS_SWIFT_NAME(gcmSenderID); + +/** + * The Project ID from the Firebase console, for example @"abc-xyz-123". + */ +@property(nonatomic, copy, nullable) NSString *projectID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE; + +/** + * The Google App ID that is used to uniquely identify an instance of an app. + */ +@property(nonatomic, copy) NSString *googleAppID; + +/** + * The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com". + */ +@property(nonatomic, copy, nullable) NSString *databaseURL; + +/** + * The URL scheme used to set up Durable Deep Link service. + */ +@property(nonatomic, copy, nullable) NSString *deepLinkURLScheme; + +/** + * The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com". + */ +@property(nonatomic, copy, nullable) NSString *storageBucket; + +/** + * The App Group identifier to share data between the application and the application extensions. + * The App Group must be configured in the application and on the Apple Developer Portal. Default + * value `nil`. + */ +@property(nonatomic, copy, nullable) NSString *appGroupID; + +/** + * Initializes a customized instance of FirebaseOptions from the file at the given plist file path. + * This will read the file synchronously from disk. + * For example: + * ```swift + * if let path = Bundle.main.path(forResource:"GoogleServices-Info", ofType:"plist") { + * let options = FirebaseOptions(contentsOfFile: path) + * } + * ``` + * Note that it is not possible to customize `FirebaseOptions` for Firebase Analytics which expects + * a static file named `GoogleServices-Info.plist` - + * https://github.com/firebase/firebase-ios-sdk/issues/230. + * Returns `nil` if the plist file does not exist or is invalid. + */ +- (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath NS_DESIGNATED_INITIALIZER; + +/** + * Initializes a customized instance of `FirebaseOptions` with required fields. Use the mutable + * properties to modify fields for configuring specific services. Note that it is not possible to + * customize `FirebaseOptions` for Firebase Analytics which expects a static file named + * `GoogleServices-Info.plist` - https://github.com/firebase/firebase-ios-sdk/issues/230. + */ +- (instancetype)initWithGoogleAppID:(NSString *)googleAppID + GCMSenderID:(NSString *)GCMSenderID + NS_SWIFT_NAME(init(googleAppID:gcmSenderID:))NS_DESIGNATED_INITIALIZER; + +/** Unavailable. Please use `init(contentsOfFile:)` or `init(googleAppID:gcmSenderID:)` instead. */ +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRTimestamp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRTimestamp.h new file mode 100644 index 00000000000..375f697338a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRTimestamp.h @@ -0,0 +1,89 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * A Timestamp represents a point in time independent of any time zone or calendar, represented as + * seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. It is encoded using + * the Proleptic Gregorian Calendar which extends the Gregorian calendar backwards to year one. It + * is encoded assuming all minutes are 60 seconds long, i.e. leap seconds are "smeared" so that no + * leap second table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to + * 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to + * and from RFC 3339 date strings. + * + * @see https://github.com/google/protobuf/blob/main/src/google/protobuf/timestamp.proto for the + * reference timestamp definition. + */ +NS_SWIFT_NAME(Timestamp) +@interface FIRTimestamp : NSObject + +/** :nodoc: */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ +- (instancetype)initWithSeconds:(int64_t)seconds + nanoseconds:(int32_t)nanoseconds NS_DESIGNATED_INITIALIZER; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ ++ (instancetype)timestampWithSeconds:(int64_t)seconds nanoseconds:(int32_t)nanoseconds; + +/** Creates a new timestamp from the given date. */ ++ (instancetype)timestampWithDate:(NSDate *)date; + +/** Creates a new timestamp with the current date / time. */ ++ (instancetype)timestamp; + +/** Returns a new `Date` corresponding to this timestamp. This may lose precision. */ +- (NSDate *)dateValue; + +/** + * Returns the result of comparing the receiver with another timestamp. + * @param other the other timestamp to compare. + * @return `orderedAscending` if `other` is chronologically following self, + * `orderedDescending` if `other` is chronologically preceding self, + * `orderedSame` otherwise. + */ +- (NSComparisonResult)compare:(FIRTimestamp *)other; + +/** + * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. + * Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. + */ +@property(nonatomic, assign, readonly) int64_t seconds; + +/** + * Non-negative fractions of a second at nanosecond resolution. Negative second values with + * fractions must still have non-negative nanos values that count forward in time. + * Must be from 0 to 999,999,999 inclusive. + */ +@property(nonatomic, assign, readonly) int32_t nanoseconds; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRVersion.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRVersion.h new file mode 100644 index 00000000000..651edaf5c8b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FIRVersion.h @@ -0,0 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** Returns the current version of Firebase. */ +NS_SWIFT_NAME(FirebaseVersion()) +NSString* FIRFirebaseVersion(void); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FirebaseCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FirebaseCore-umbrella.h new file mode 100644 index 00000000000..40c43bff538 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FirebaseCore-umbrella.h @@ -0,0 +1,23 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FirebaseCore.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" + +FOUNDATION_EXPORT double FirebaseCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FirebaseCore.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FirebaseCore.h new file mode 100644 index 00000000000..fff8631ecf8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Headers/FirebaseCore.h @@ -0,0 +1,22 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..62fa6efa6dd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCore { +umbrella header "FirebaseCore-umbrella.h" +export * +module * { export * } + link framework "AppKit" + link framework "Foundation" + link framework "Security" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Resources/FirebaseCore_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Resources/FirebaseCore_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..591d73a765b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Resources/FirebaseCore_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,46 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.FirebaseCore-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCore_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Resources/FirebaseCore_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Resources/FirebaseCore_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..0244f2f54b0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Resources/FirebaseCore_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..c9cf8e11652 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCore + CFBundleIdentifier + org.cocoapods.FirebaseCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/macos-arm64_x86_64/FirebaseCore.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/FirebaseCore b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/FirebaseCore new file mode 100644 index 00000000000..b12dfeea196 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/FirebaseCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..a1e0ca379a0 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..0244f2f54b0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRApp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRApp.h new file mode 100644 index 00000000000..58ef2a62594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRApp.h @@ -0,0 +1,129 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIROptions; + +NS_ASSUME_NONNULL_BEGIN + +/** A block that takes a BOOL and has no return value. */ +typedef void (^FIRAppVoidBoolCallback)(BOOL success) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The entry point of Firebase SDKs. + * + * Initialize and configure `FirebaseApp` using `FirebaseApp.configure()` + * or other customized ways as shown below. + * + * The logging system has two modes: default mode and debug mode. In default mode, only logs with + * log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent + * to device. The log levels that Firebase uses are consistent with the ASL log levels. + * + * Enable debug mode by passing the `-FIRDebugEnabled` argument to the application. You can add this + * argument in the application's Xcode scheme. When debug mode is enabled via `-FIRDebugEnabled`, + * further executions of the application will also be in debug mode. In order to return to default + * mode, you must explicitly disable the debug mode with the application argument + * `-FIRDebugDisabled`. + * + * It is also possible to change the default logging level in code by calling + * `FirebaseConfiguration.shared.setLoggerLevel(_:)` with the desired level. + */ +NS_SWIFT_NAME(FirebaseApp) +@interface FIRApp : NSObject + +/** + * Configures a default Firebase app. Raises an exception if any configuration step fails. The + * default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched + * and before using Firebase services. This method should be called from the main thread and + * contains synchronous file I/O (reading GoogleService-Info.plist from disk). + */ ++ (void)configure; + +/** + * Configures the default Firebase app with the provided options. The default app is named + * "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method should be + * called from the main thread. + * + * @param options The Firebase application options used to configure the service. + */ ++ (void)configureWithOptions:(FIROptions *)options NS_SWIFT_NAME(configure(options:)); + +/** + * Configures a Firebase app with the given name and options. Raises an exception if any + * configuration step fails. This method should be called from the main thread. + * + * @param name The application's name given by the developer. The name should should only contain + Letters, Numbers and Underscore. + * @param options The Firebase application options used to configure the services. + */ +// clang-format off ++ (void)configureWithName:(NSString *)name + options:(FIROptions *)options NS_SWIFT_NAME(configure(name:options:)); +// clang-format on + +/** + * Returns the default app, or `nil` if the default app does not exist. + */ ++ (nullable FIRApp *)defaultApp NS_SWIFT_NAME(app()); + +/** + * Returns a previously created `FirebaseApp` instance with the given name, or `nil` if no such app + * exists. This method is thread safe. + */ ++ (nullable FIRApp *)appNamed:(NSString *)name NS_SWIFT_NAME(app(name:)); + +/** + * Returns the set of all extant `FirebaseApp` instances, or `nil` if there are no `FirebaseApp` + * instances. This method is thread safe. + */ +@property(class, readonly, nullable) NSDictionary *allApps; + +/** + * Cleans up the current `FirebaseApp`, freeing associated data and returning its name to the pool + * for future use. This method is thread safe. + */ +- (void)deleteApp:(void (^)(BOOL success))completion; + +/** + * `FirebaseApp` instances should not be initialized directly. Call `FirebaseApp.configure()`, + * `FirebaseApp.configure(options:)`, or `FirebaseApp.configure(name:options:)` directly. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Gets the name of this app. + */ +@property(nonatomic, copy, readonly) NSString *name; + +/** + * Gets a copy of the options for this app. These are non-modifiable. + */ +@property(nonatomic, copy, readonly) FIROptions *options; + +/** + * Gets or sets whether automatic data collection is enabled for all products. Defaults to `true` + * unless `FirebaseDataCollectionDefaultEnabled` is set to `NO` in your app's Info.plist. This value + * is persisted across runs of the app so that it can be set once when users have consented to + * collection. + */ +@property(nonatomic, readwrite, getter=isDataCollectionDefaultEnabled) + BOOL dataCollectionDefaultEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRConfiguration.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRConfiguration.h new file mode 100644 index 00000000000..408bcadb75f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRConfiguration.h @@ -0,0 +1,45 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * This interface provides global level properties that the developer can tweak. + */ +NS_SWIFT_NAME(FirebaseConfiguration) +@interface FIRConfiguration : NSObject + +/** Returns the shared configuration object. */ +@property(class, nonatomic, readonly) FIRConfiguration *sharedInstance NS_SWIFT_NAME(shared); + +/** + * Sets the logging level for internal Firebase logging. Firebase will only log messages + * that are logged at or below `loggerLevel`. The messages are logged both to the Xcode + * console and to the device's log. Note that if an app is running from AppStore, it will + * never log above `.notice` even if `loggerLevel` is set to a higher (more verbose) + * setting. + * + * @param loggerLevel The maximum logging level. The default level is set to FIRLoggerLevelNotice. + */ +- (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRLoggerLevel.h new file mode 100644 index 00000000000..dca3aa0b01f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRLoggerLevel.h @@ -0,0 +1,38 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Note that importing GULLoggerLevel.h will lead to a non-modular header +// import error. + +/** + * The log levels used by internal logging. + */ +typedef NS_ENUM(NSInteger, FIRLoggerLevel) { + /** Error level, matches ASL_LEVEL_ERR. */ + FIRLoggerLevelError = 3, + /** Warning level, matches ASL_LEVEL_WARNING. */ + FIRLoggerLevelWarning = 4, + /** Notice level, matches ASL_LEVEL_NOTICE. */ + FIRLoggerLevelNotice = 5, + /** Info level, matches ASL_LEVEL_INFO. */ + FIRLoggerLevelInfo = 6, + /** Debug level, matches ASL_LEVEL_DEBUG. */ + FIRLoggerLevelDebug = 7, + /** Minimum log level. */ + FIRLoggerLevelMin = FIRLoggerLevelError, + /** Maximum log level. */ + FIRLoggerLevelMax = FIRLoggerLevelDebug +} NS_SWIFT_NAME(FirebaseLoggerLevel); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIROptions.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIROptions.h new file mode 100644 index 00000000000..8f8d945d765 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIROptions.h @@ -0,0 +1,131 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class provides constant fields of Google APIs. + */ +NS_SWIFT_NAME(FirebaseOptions) +@interface FIROptions : NSObject + +/** + * Returns the default options. The first time this is called it synchronously reads + * GoogleService-Info.plist from disk. + */ ++ (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions()); + +/** + * An API key used for authenticating requests from your Apple app, e.g. + * The key must begin with "A" and contain exactly 39 alphanumeric characters, used to identify your + * app to Google servers. + */ +@property(nonatomic, copy, nullable) NSString *APIKey NS_SWIFT_NAME(apiKey); + +/** + * The bundle ID for the application. Defaults to `Bundle.main.bundleIdentifier` when not set + * manually or in a plist. + */ +@property(nonatomic, copy) NSString *bundleID; + +/** + * The OAuth2 client ID for Apple applications used to authenticate Google users, for example + * @"12345.apps.googleusercontent.com", used for signing in with Google. + */ +@property(nonatomic, copy, nullable) NSString *clientID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE; + +/** + * The Project Number from the Google Developer's console, for example @"012345678901", used to + * configure Firebase Cloud Messaging. + */ +@property(nonatomic, copy) NSString *GCMSenderID NS_SWIFT_NAME(gcmSenderID); + +/** + * The Project ID from the Firebase console, for example @"abc-xyz-123". + */ +@property(nonatomic, copy, nullable) NSString *projectID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE; + +/** + * The Google App ID that is used to uniquely identify an instance of an app. + */ +@property(nonatomic, copy) NSString *googleAppID; + +/** + * The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com". + */ +@property(nonatomic, copy, nullable) NSString *databaseURL; + +/** + * The URL scheme used to set up Durable Deep Link service. + */ +@property(nonatomic, copy, nullable) NSString *deepLinkURLScheme; + +/** + * The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com". + */ +@property(nonatomic, copy, nullable) NSString *storageBucket; + +/** + * The App Group identifier to share data between the application and the application extensions. + * The App Group must be configured in the application and on the Apple Developer Portal. Default + * value `nil`. + */ +@property(nonatomic, copy, nullable) NSString *appGroupID; + +/** + * Initializes a customized instance of FirebaseOptions from the file at the given plist file path. + * This will read the file synchronously from disk. + * For example: + * ```swift + * if let path = Bundle.main.path(forResource:"GoogleServices-Info", ofType:"plist") { + * let options = FirebaseOptions(contentsOfFile: path) + * } + * ``` + * Note that it is not possible to customize `FirebaseOptions` for Firebase Analytics which expects + * a static file named `GoogleServices-Info.plist` - + * https://github.com/firebase/firebase-ios-sdk/issues/230. + * Returns `nil` if the plist file does not exist or is invalid. + */ +- (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath NS_DESIGNATED_INITIALIZER; + +/** + * Initializes a customized instance of `FirebaseOptions` with required fields. Use the mutable + * properties to modify fields for configuring specific services. Note that it is not possible to + * customize `FirebaseOptions` for Firebase Analytics which expects a static file named + * `GoogleServices-Info.plist` - https://github.com/firebase/firebase-ios-sdk/issues/230. + */ +- (instancetype)initWithGoogleAppID:(NSString *)googleAppID + GCMSenderID:(NSString *)GCMSenderID + NS_SWIFT_NAME(init(googleAppID:gcmSenderID:))NS_DESIGNATED_INITIALIZER; + +/** Unavailable. Please use `init(contentsOfFile:)` or `init(googleAppID:gcmSenderID:)` instead. */ +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRTimestamp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRTimestamp.h new file mode 100644 index 00000000000..375f697338a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRTimestamp.h @@ -0,0 +1,89 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * A Timestamp represents a point in time independent of any time zone or calendar, represented as + * seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. It is encoded using + * the Proleptic Gregorian Calendar which extends the Gregorian calendar backwards to year one. It + * is encoded assuming all minutes are 60 seconds long, i.e. leap seconds are "smeared" so that no + * leap second table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to + * 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to + * and from RFC 3339 date strings. + * + * @see https://github.com/google/protobuf/blob/main/src/google/protobuf/timestamp.proto for the + * reference timestamp definition. + */ +NS_SWIFT_NAME(Timestamp) +@interface FIRTimestamp : NSObject + +/** :nodoc: */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ +- (instancetype)initWithSeconds:(int64_t)seconds + nanoseconds:(int32_t)nanoseconds NS_DESIGNATED_INITIALIZER; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ ++ (instancetype)timestampWithSeconds:(int64_t)seconds nanoseconds:(int32_t)nanoseconds; + +/** Creates a new timestamp from the given date. */ ++ (instancetype)timestampWithDate:(NSDate *)date; + +/** Creates a new timestamp with the current date / time. */ ++ (instancetype)timestamp; + +/** Returns a new `Date` corresponding to this timestamp. This may lose precision. */ +- (NSDate *)dateValue; + +/** + * Returns the result of comparing the receiver with another timestamp. + * @param other the other timestamp to compare. + * @return `orderedAscending` if `other` is chronologically following self, + * `orderedDescending` if `other` is chronologically preceding self, + * `orderedSame` otherwise. + */ +- (NSComparisonResult)compare:(FIRTimestamp *)other; + +/** + * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. + * Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. + */ +@property(nonatomic, assign, readonly) int64_t seconds; + +/** + * Non-negative fractions of a second at nanosecond resolution. Negative second values with + * fractions must still have non-negative nanos values that count forward in time. + * Must be from 0 to 999,999,999 inclusive. + */ +@property(nonatomic, assign, readonly) int32_t nanoseconds; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRVersion.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRVersion.h new file mode 100644 index 00000000000..651edaf5c8b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIRVersion.h @@ -0,0 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** Returns the current version of Firebase. */ +NS_SWIFT_NAME(FirebaseVersion()) +NSString* FIRFirebaseVersion(void); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h new file mode 100644 index 00000000000..509268c0494 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h @@ -0,0 +1,23 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FirebaseCore.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" + +FOUNDATION_EXPORT double FirebaseCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FirebaseCore.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FirebaseCore.h new file mode 100644 index 00000000000..fff8631ecf8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FirebaseCore.h @@ -0,0 +1,22 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Info.plist new file mode 100644 index 00000000000..71bd1deba02 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCore + CFBundleIdentifier + org.cocoapods.FirebaseCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Modules/module.modulemap new file mode 100644 index 00000000000..e5cdc8dbad2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCore { +umbrella header "FirebaseCore-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore new file mode 100644 index 00000000000..450a9bcd938 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..aa334d8b961 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..0244f2f54b0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRApp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRApp.h new file mode 100644 index 00000000000..58ef2a62594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRApp.h @@ -0,0 +1,129 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIROptions; + +NS_ASSUME_NONNULL_BEGIN + +/** A block that takes a BOOL and has no return value. */ +typedef void (^FIRAppVoidBoolCallback)(BOOL success) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The entry point of Firebase SDKs. + * + * Initialize and configure `FirebaseApp` using `FirebaseApp.configure()` + * or other customized ways as shown below. + * + * The logging system has two modes: default mode and debug mode. In default mode, only logs with + * log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent + * to device. The log levels that Firebase uses are consistent with the ASL log levels. + * + * Enable debug mode by passing the `-FIRDebugEnabled` argument to the application. You can add this + * argument in the application's Xcode scheme. When debug mode is enabled via `-FIRDebugEnabled`, + * further executions of the application will also be in debug mode. In order to return to default + * mode, you must explicitly disable the debug mode with the application argument + * `-FIRDebugDisabled`. + * + * It is also possible to change the default logging level in code by calling + * `FirebaseConfiguration.shared.setLoggerLevel(_:)` with the desired level. + */ +NS_SWIFT_NAME(FirebaseApp) +@interface FIRApp : NSObject + +/** + * Configures a default Firebase app. Raises an exception if any configuration step fails. The + * default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched + * and before using Firebase services. This method should be called from the main thread and + * contains synchronous file I/O (reading GoogleService-Info.plist from disk). + */ ++ (void)configure; + +/** + * Configures the default Firebase app with the provided options. The default app is named + * "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method should be + * called from the main thread. + * + * @param options The Firebase application options used to configure the service. + */ ++ (void)configureWithOptions:(FIROptions *)options NS_SWIFT_NAME(configure(options:)); + +/** + * Configures a Firebase app with the given name and options. Raises an exception if any + * configuration step fails. This method should be called from the main thread. + * + * @param name The application's name given by the developer. The name should should only contain + Letters, Numbers and Underscore. + * @param options The Firebase application options used to configure the services. + */ +// clang-format off ++ (void)configureWithName:(NSString *)name + options:(FIROptions *)options NS_SWIFT_NAME(configure(name:options:)); +// clang-format on + +/** + * Returns the default app, or `nil` if the default app does not exist. + */ ++ (nullable FIRApp *)defaultApp NS_SWIFT_NAME(app()); + +/** + * Returns a previously created `FirebaseApp` instance with the given name, or `nil` if no such app + * exists. This method is thread safe. + */ ++ (nullable FIRApp *)appNamed:(NSString *)name NS_SWIFT_NAME(app(name:)); + +/** + * Returns the set of all extant `FirebaseApp` instances, or `nil` if there are no `FirebaseApp` + * instances. This method is thread safe. + */ +@property(class, readonly, nullable) NSDictionary *allApps; + +/** + * Cleans up the current `FirebaseApp`, freeing associated data and returning its name to the pool + * for future use. This method is thread safe. + */ +- (void)deleteApp:(void (^)(BOOL success))completion; + +/** + * `FirebaseApp` instances should not be initialized directly. Call `FirebaseApp.configure()`, + * `FirebaseApp.configure(options:)`, or `FirebaseApp.configure(name:options:)` directly. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Gets the name of this app. + */ +@property(nonatomic, copy, readonly) NSString *name; + +/** + * Gets a copy of the options for this app. These are non-modifiable. + */ +@property(nonatomic, copy, readonly) FIROptions *options; + +/** + * Gets or sets whether automatic data collection is enabled for all products. Defaults to `true` + * unless `FirebaseDataCollectionDefaultEnabled` is set to `NO` in your app's Info.plist. This value + * is persisted across runs of the app so that it can be set once when users have consented to + * collection. + */ +@property(nonatomic, readwrite, getter=isDataCollectionDefaultEnabled) + BOOL dataCollectionDefaultEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRConfiguration.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRConfiguration.h new file mode 100644 index 00000000000..408bcadb75f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRConfiguration.h @@ -0,0 +1,45 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * This interface provides global level properties that the developer can tweak. + */ +NS_SWIFT_NAME(FirebaseConfiguration) +@interface FIRConfiguration : NSObject + +/** Returns the shared configuration object. */ +@property(class, nonatomic, readonly) FIRConfiguration *sharedInstance NS_SWIFT_NAME(shared); + +/** + * Sets the logging level for internal Firebase logging. Firebase will only log messages + * that are logged at or below `loggerLevel`. The messages are logged both to the Xcode + * console and to the device's log. Note that if an app is running from AppStore, it will + * never log above `.notice` even if `loggerLevel` is set to a higher (more verbose) + * setting. + * + * @param loggerLevel The maximum logging level. The default level is set to FIRLoggerLevelNotice. + */ +- (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRLoggerLevel.h new file mode 100644 index 00000000000..dca3aa0b01f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRLoggerLevel.h @@ -0,0 +1,38 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Note that importing GULLoggerLevel.h will lead to a non-modular header +// import error. + +/** + * The log levels used by internal logging. + */ +typedef NS_ENUM(NSInteger, FIRLoggerLevel) { + /** Error level, matches ASL_LEVEL_ERR. */ + FIRLoggerLevelError = 3, + /** Warning level, matches ASL_LEVEL_WARNING. */ + FIRLoggerLevelWarning = 4, + /** Notice level, matches ASL_LEVEL_NOTICE. */ + FIRLoggerLevelNotice = 5, + /** Info level, matches ASL_LEVEL_INFO. */ + FIRLoggerLevelInfo = 6, + /** Debug level, matches ASL_LEVEL_DEBUG. */ + FIRLoggerLevelDebug = 7, + /** Minimum log level. */ + FIRLoggerLevelMin = FIRLoggerLevelError, + /** Maximum log level. */ + FIRLoggerLevelMax = FIRLoggerLevelDebug +} NS_SWIFT_NAME(FirebaseLoggerLevel); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIROptions.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIROptions.h new file mode 100644 index 00000000000..8f8d945d765 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIROptions.h @@ -0,0 +1,131 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class provides constant fields of Google APIs. + */ +NS_SWIFT_NAME(FirebaseOptions) +@interface FIROptions : NSObject + +/** + * Returns the default options. The first time this is called it synchronously reads + * GoogleService-Info.plist from disk. + */ ++ (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions()); + +/** + * An API key used for authenticating requests from your Apple app, e.g. + * The key must begin with "A" and contain exactly 39 alphanumeric characters, used to identify your + * app to Google servers. + */ +@property(nonatomic, copy, nullable) NSString *APIKey NS_SWIFT_NAME(apiKey); + +/** + * The bundle ID for the application. Defaults to `Bundle.main.bundleIdentifier` when not set + * manually or in a plist. + */ +@property(nonatomic, copy) NSString *bundleID; + +/** + * The OAuth2 client ID for Apple applications used to authenticate Google users, for example + * @"12345.apps.googleusercontent.com", used for signing in with Google. + */ +@property(nonatomic, copy, nullable) NSString *clientID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE; + +/** + * The Project Number from the Google Developer's console, for example @"012345678901", used to + * configure Firebase Cloud Messaging. + */ +@property(nonatomic, copy) NSString *GCMSenderID NS_SWIFT_NAME(gcmSenderID); + +/** + * The Project ID from the Firebase console, for example @"abc-xyz-123". + */ +@property(nonatomic, copy, nullable) NSString *projectID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE; + +/** + * The Google App ID that is used to uniquely identify an instance of an app. + */ +@property(nonatomic, copy) NSString *googleAppID; + +/** + * The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com". + */ +@property(nonatomic, copy, nullable) NSString *databaseURL; + +/** + * The URL scheme used to set up Durable Deep Link service. + */ +@property(nonatomic, copy, nullable) NSString *deepLinkURLScheme; + +/** + * The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com". + */ +@property(nonatomic, copy, nullable) NSString *storageBucket; + +/** + * The App Group identifier to share data between the application and the application extensions. + * The App Group must be configured in the application and on the Apple Developer Portal. Default + * value `nil`. + */ +@property(nonatomic, copy, nullable) NSString *appGroupID; + +/** + * Initializes a customized instance of FirebaseOptions from the file at the given plist file path. + * This will read the file synchronously from disk. + * For example: + * ```swift + * if let path = Bundle.main.path(forResource:"GoogleServices-Info", ofType:"plist") { + * let options = FirebaseOptions(contentsOfFile: path) + * } + * ``` + * Note that it is not possible to customize `FirebaseOptions` for Firebase Analytics which expects + * a static file named `GoogleServices-Info.plist` - + * https://github.com/firebase/firebase-ios-sdk/issues/230. + * Returns `nil` if the plist file does not exist or is invalid. + */ +- (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath NS_DESIGNATED_INITIALIZER; + +/** + * Initializes a customized instance of `FirebaseOptions` with required fields. Use the mutable + * properties to modify fields for configuring specific services. Note that it is not possible to + * customize `FirebaseOptions` for Firebase Analytics which expects a static file named + * `GoogleServices-Info.plist` - https://github.com/firebase/firebase-ios-sdk/issues/230. + */ +- (instancetype)initWithGoogleAppID:(NSString *)googleAppID + GCMSenderID:(NSString *)GCMSenderID + NS_SWIFT_NAME(init(googleAppID:gcmSenderID:))NS_DESIGNATED_INITIALIZER; + +/** Unavailable. Please use `init(contentsOfFile:)` or `init(googleAppID:gcmSenderID:)` instead. */ +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRTimestamp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRTimestamp.h new file mode 100644 index 00000000000..375f697338a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRTimestamp.h @@ -0,0 +1,89 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * A Timestamp represents a point in time independent of any time zone or calendar, represented as + * seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. It is encoded using + * the Proleptic Gregorian Calendar which extends the Gregorian calendar backwards to year one. It + * is encoded assuming all minutes are 60 seconds long, i.e. leap seconds are "smeared" so that no + * leap second table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to + * 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to + * and from RFC 3339 date strings. + * + * @see https://github.com/google/protobuf/blob/main/src/google/protobuf/timestamp.proto for the + * reference timestamp definition. + */ +NS_SWIFT_NAME(Timestamp) +@interface FIRTimestamp : NSObject + +/** :nodoc: */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ +- (instancetype)initWithSeconds:(int64_t)seconds + nanoseconds:(int32_t)nanoseconds NS_DESIGNATED_INITIALIZER; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ ++ (instancetype)timestampWithSeconds:(int64_t)seconds nanoseconds:(int32_t)nanoseconds; + +/** Creates a new timestamp from the given date. */ ++ (instancetype)timestampWithDate:(NSDate *)date; + +/** Creates a new timestamp with the current date / time. */ ++ (instancetype)timestamp; + +/** Returns a new `Date` corresponding to this timestamp. This may lose precision. */ +- (NSDate *)dateValue; + +/** + * Returns the result of comparing the receiver with another timestamp. + * @param other the other timestamp to compare. + * @return `orderedAscending` if `other` is chronologically following self, + * `orderedDescending` if `other` is chronologically preceding self, + * `orderedSame` otherwise. + */ +- (NSComparisonResult)compare:(FIRTimestamp *)other; + +/** + * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. + * Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. + */ +@property(nonatomic, assign, readonly) int64_t seconds; + +/** + * Non-negative fractions of a second at nanosecond resolution. Negative second values with + * fractions must still have non-negative nanos values that count forward in time. + * Must be from 0 to 999,999,999 inclusive. + */ +@property(nonatomic, assign, readonly) int32_t nanoseconds; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRVersion.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRVersion.h new file mode 100644 index 00000000000..651edaf5c8b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRVersion.h @@ -0,0 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** Returns the current version of Firebase. */ +NS_SWIFT_NAME(FirebaseVersion()) +NSString* FIRFirebaseVersion(void); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h new file mode 100644 index 00000000000..509268c0494 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h @@ -0,0 +1,23 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FirebaseCore.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" + +FOUNDATION_EXPORT double FirebaseCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore.h new file mode 100644 index 00000000000..fff8631ecf8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore.h @@ -0,0 +1,22 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Info.plist new file mode 100644 index 00000000000..ddba86cb757 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCore + CFBundleIdentifier + org.cocoapods.FirebaseCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Modules/module.modulemap new file mode 100644 index 00000000000..e5cdc8dbad2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/tvos-arm64_x86_64-simulator/FirebaseCore.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCore { +umbrella header "FirebaseCore-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/FirebaseCore b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/FirebaseCore new file mode 100644 index 00000000000..871651d996b Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/FirebaseCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..d17636f0dc1 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..0244f2f54b0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRApp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRApp.h new file mode 100644 index 00000000000..58ef2a62594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRApp.h @@ -0,0 +1,129 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIROptions; + +NS_ASSUME_NONNULL_BEGIN + +/** A block that takes a BOOL and has no return value. */ +typedef void (^FIRAppVoidBoolCallback)(BOOL success) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The entry point of Firebase SDKs. + * + * Initialize and configure `FirebaseApp` using `FirebaseApp.configure()` + * or other customized ways as shown below. + * + * The logging system has two modes: default mode and debug mode. In default mode, only logs with + * log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent + * to device. The log levels that Firebase uses are consistent with the ASL log levels. + * + * Enable debug mode by passing the `-FIRDebugEnabled` argument to the application. You can add this + * argument in the application's Xcode scheme. When debug mode is enabled via `-FIRDebugEnabled`, + * further executions of the application will also be in debug mode. In order to return to default + * mode, you must explicitly disable the debug mode with the application argument + * `-FIRDebugDisabled`. + * + * It is also possible to change the default logging level in code by calling + * `FirebaseConfiguration.shared.setLoggerLevel(_:)` with the desired level. + */ +NS_SWIFT_NAME(FirebaseApp) +@interface FIRApp : NSObject + +/** + * Configures a default Firebase app. Raises an exception if any configuration step fails. The + * default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched + * and before using Firebase services. This method should be called from the main thread and + * contains synchronous file I/O (reading GoogleService-Info.plist from disk). + */ ++ (void)configure; + +/** + * Configures the default Firebase app with the provided options. The default app is named + * "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method should be + * called from the main thread. + * + * @param options The Firebase application options used to configure the service. + */ ++ (void)configureWithOptions:(FIROptions *)options NS_SWIFT_NAME(configure(options:)); + +/** + * Configures a Firebase app with the given name and options. Raises an exception if any + * configuration step fails. This method should be called from the main thread. + * + * @param name The application's name given by the developer. The name should should only contain + Letters, Numbers and Underscore. + * @param options The Firebase application options used to configure the services. + */ +// clang-format off ++ (void)configureWithName:(NSString *)name + options:(FIROptions *)options NS_SWIFT_NAME(configure(name:options:)); +// clang-format on + +/** + * Returns the default app, or `nil` if the default app does not exist. + */ ++ (nullable FIRApp *)defaultApp NS_SWIFT_NAME(app()); + +/** + * Returns a previously created `FirebaseApp` instance with the given name, or `nil` if no such app + * exists. This method is thread safe. + */ ++ (nullable FIRApp *)appNamed:(NSString *)name NS_SWIFT_NAME(app(name:)); + +/** + * Returns the set of all extant `FirebaseApp` instances, or `nil` if there are no `FirebaseApp` + * instances. This method is thread safe. + */ +@property(class, readonly, nullable) NSDictionary *allApps; + +/** + * Cleans up the current `FirebaseApp`, freeing associated data and returning its name to the pool + * for future use. This method is thread safe. + */ +- (void)deleteApp:(void (^)(BOOL success))completion; + +/** + * `FirebaseApp` instances should not be initialized directly. Call `FirebaseApp.configure()`, + * `FirebaseApp.configure(options:)`, or `FirebaseApp.configure(name:options:)` directly. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Gets the name of this app. + */ +@property(nonatomic, copy, readonly) NSString *name; + +/** + * Gets a copy of the options for this app. These are non-modifiable. + */ +@property(nonatomic, copy, readonly) FIROptions *options; + +/** + * Gets or sets whether automatic data collection is enabled for all products. Defaults to `true` + * unless `FirebaseDataCollectionDefaultEnabled` is set to `NO` in your app's Info.plist. This value + * is persisted across runs of the app so that it can be set once when users have consented to + * collection. + */ +@property(nonatomic, readwrite, getter=isDataCollectionDefaultEnabled) + BOOL dataCollectionDefaultEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRConfiguration.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRConfiguration.h new file mode 100644 index 00000000000..408bcadb75f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRConfiguration.h @@ -0,0 +1,45 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * This interface provides global level properties that the developer can tweak. + */ +NS_SWIFT_NAME(FirebaseConfiguration) +@interface FIRConfiguration : NSObject + +/** Returns the shared configuration object. */ +@property(class, nonatomic, readonly) FIRConfiguration *sharedInstance NS_SWIFT_NAME(shared); + +/** + * Sets the logging level for internal Firebase logging. Firebase will only log messages + * that are logged at or below `loggerLevel`. The messages are logged both to the Xcode + * console and to the device's log. Note that if an app is running from AppStore, it will + * never log above `.notice` even if `loggerLevel` is set to a higher (more verbose) + * setting. + * + * @param loggerLevel The maximum logging level. The default level is set to FIRLoggerLevelNotice. + */ +- (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRLoggerLevel.h new file mode 100644 index 00000000000..dca3aa0b01f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRLoggerLevel.h @@ -0,0 +1,38 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Note that importing GULLoggerLevel.h will lead to a non-modular header +// import error. + +/** + * The log levels used by internal logging. + */ +typedef NS_ENUM(NSInteger, FIRLoggerLevel) { + /** Error level, matches ASL_LEVEL_ERR. */ + FIRLoggerLevelError = 3, + /** Warning level, matches ASL_LEVEL_WARNING. */ + FIRLoggerLevelWarning = 4, + /** Notice level, matches ASL_LEVEL_NOTICE. */ + FIRLoggerLevelNotice = 5, + /** Info level, matches ASL_LEVEL_INFO. */ + FIRLoggerLevelInfo = 6, + /** Debug level, matches ASL_LEVEL_DEBUG. */ + FIRLoggerLevelDebug = 7, + /** Minimum log level. */ + FIRLoggerLevelMin = FIRLoggerLevelError, + /** Maximum log level. */ + FIRLoggerLevelMax = FIRLoggerLevelDebug +} NS_SWIFT_NAME(FirebaseLoggerLevel); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIROptions.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIROptions.h new file mode 100644 index 00000000000..8f8d945d765 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIROptions.h @@ -0,0 +1,131 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class provides constant fields of Google APIs. + */ +NS_SWIFT_NAME(FirebaseOptions) +@interface FIROptions : NSObject + +/** + * Returns the default options. The first time this is called it synchronously reads + * GoogleService-Info.plist from disk. + */ ++ (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions()); + +/** + * An API key used for authenticating requests from your Apple app, e.g. + * The key must begin with "A" and contain exactly 39 alphanumeric characters, used to identify your + * app to Google servers. + */ +@property(nonatomic, copy, nullable) NSString *APIKey NS_SWIFT_NAME(apiKey); + +/** + * The bundle ID for the application. Defaults to `Bundle.main.bundleIdentifier` when not set + * manually or in a plist. + */ +@property(nonatomic, copy) NSString *bundleID; + +/** + * The OAuth2 client ID for Apple applications used to authenticate Google users, for example + * @"12345.apps.googleusercontent.com", used for signing in with Google. + */ +@property(nonatomic, copy, nullable) NSString *clientID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE; + +/** + * The Project Number from the Google Developer's console, for example @"012345678901", used to + * configure Firebase Cloud Messaging. + */ +@property(nonatomic, copy) NSString *GCMSenderID NS_SWIFT_NAME(gcmSenderID); + +/** + * The Project ID from the Firebase console, for example @"abc-xyz-123". + */ +@property(nonatomic, copy, nullable) NSString *projectID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE; + +/** + * The Google App ID that is used to uniquely identify an instance of an app. + */ +@property(nonatomic, copy) NSString *googleAppID; + +/** + * The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com". + */ +@property(nonatomic, copy, nullable) NSString *databaseURL; + +/** + * The URL scheme used to set up Durable Deep Link service. + */ +@property(nonatomic, copy, nullable) NSString *deepLinkURLScheme; + +/** + * The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com". + */ +@property(nonatomic, copy, nullable) NSString *storageBucket; + +/** + * The App Group identifier to share data between the application and the application extensions. + * The App Group must be configured in the application and on the Apple Developer Portal. Default + * value `nil`. + */ +@property(nonatomic, copy, nullable) NSString *appGroupID; + +/** + * Initializes a customized instance of FirebaseOptions from the file at the given plist file path. + * This will read the file synchronously from disk. + * For example: + * ```swift + * if let path = Bundle.main.path(forResource:"GoogleServices-Info", ofType:"plist") { + * let options = FirebaseOptions(contentsOfFile: path) + * } + * ``` + * Note that it is not possible to customize `FirebaseOptions` for Firebase Analytics which expects + * a static file named `GoogleServices-Info.plist` - + * https://github.com/firebase/firebase-ios-sdk/issues/230. + * Returns `nil` if the plist file does not exist or is invalid. + */ +- (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath NS_DESIGNATED_INITIALIZER; + +/** + * Initializes a customized instance of `FirebaseOptions` with required fields. Use the mutable + * properties to modify fields for configuring specific services. Note that it is not possible to + * customize `FirebaseOptions` for Firebase Analytics which expects a static file named + * `GoogleServices-Info.plist` - https://github.com/firebase/firebase-ios-sdk/issues/230. + */ +- (instancetype)initWithGoogleAppID:(NSString *)googleAppID + GCMSenderID:(NSString *)GCMSenderID + NS_SWIFT_NAME(init(googleAppID:gcmSenderID:))NS_DESIGNATED_INITIALIZER; + +/** Unavailable. Please use `init(contentsOfFile:)` or `init(googleAppID:gcmSenderID:)` instead. */ +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRTimestamp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRTimestamp.h new file mode 100644 index 00000000000..375f697338a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRTimestamp.h @@ -0,0 +1,89 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * A Timestamp represents a point in time independent of any time zone or calendar, represented as + * seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. It is encoded using + * the Proleptic Gregorian Calendar which extends the Gregorian calendar backwards to year one. It + * is encoded assuming all minutes are 60 seconds long, i.e. leap seconds are "smeared" so that no + * leap second table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to + * 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to + * and from RFC 3339 date strings. + * + * @see https://github.com/google/protobuf/blob/main/src/google/protobuf/timestamp.proto for the + * reference timestamp definition. + */ +NS_SWIFT_NAME(Timestamp) +@interface FIRTimestamp : NSObject + +/** :nodoc: */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ +- (instancetype)initWithSeconds:(int64_t)seconds + nanoseconds:(int32_t)nanoseconds NS_DESIGNATED_INITIALIZER; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ ++ (instancetype)timestampWithSeconds:(int64_t)seconds nanoseconds:(int32_t)nanoseconds; + +/** Creates a new timestamp from the given date. */ ++ (instancetype)timestampWithDate:(NSDate *)date; + +/** Creates a new timestamp with the current date / time. */ ++ (instancetype)timestamp; + +/** Returns a new `Date` corresponding to this timestamp. This may lose precision. */ +- (NSDate *)dateValue; + +/** + * Returns the result of comparing the receiver with another timestamp. + * @param other the other timestamp to compare. + * @return `orderedAscending` if `other` is chronologically following self, + * `orderedDescending` if `other` is chronologically preceding self, + * `orderedSame` otherwise. + */ +- (NSComparisonResult)compare:(FIRTimestamp *)other; + +/** + * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. + * Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. + */ +@property(nonatomic, assign, readonly) int64_t seconds; + +/** + * Non-negative fractions of a second at nanosecond resolution. Negative second values with + * fractions must still have non-negative nanos values that count forward in time. + * Must be from 0 to 999,999,999 inclusive. + */ +@property(nonatomic, assign, readonly) int32_t nanoseconds; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRVersion.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRVersion.h new file mode 100644 index 00000000000..651edaf5c8b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FIRVersion.h @@ -0,0 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** Returns the current version of Firebase. */ +NS_SWIFT_NAME(FirebaseVersion()) +NSString* FIRFirebaseVersion(void); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h new file mode 100644 index 00000000000..4ebf15e9edf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h @@ -0,0 +1,23 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FirebaseCore.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" + +FOUNDATION_EXPORT double FirebaseCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FirebaseCore.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FirebaseCore.h new file mode 100644 index 00000000000..fff8631ecf8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Headers/FirebaseCore.h @@ -0,0 +1,22 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Info.plist new file mode 100644 index 00000000000..9faa4f75276 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCore + CFBundleIdentifier + org.cocoapods.FirebaseCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchos + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchos10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Modules/module.modulemap new file mode 100644 index 00000000000..285dbbebd5b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_arm64_32/FirebaseCore.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCore { +umbrella header "FirebaseCore-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "WatchKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore new file mode 100644 index 00000000000..6b757e225bf Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..cdb8feb0bfd Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..0244f2f54b0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/FirebaseCore_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRApp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRApp.h new file mode 100644 index 00000000000..58ef2a62594 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRApp.h @@ -0,0 +1,129 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIROptions; + +NS_ASSUME_NONNULL_BEGIN + +/** A block that takes a BOOL and has no return value. */ +typedef void (^FIRAppVoidBoolCallback)(BOOL success) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The entry point of Firebase SDKs. + * + * Initialize and configure `FirebaseApp` using `FirebaseApp.configure()` + * or other customized ways as shown below. + * + * The logging system has two modes: default mode and debug mode. In default mode, only logs with + * log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent + * to device. The log levels that Firebase uses are consistent with the ASL log levels. + * + * Enable debug mode by passing the `-FIRDebugEnabled` argument to the application. You can add this + * argument in the application's Xcode scheme. When debug mode is enabled via `-FIRDebugEnabled`, + * further executions of the application will also be in debug mode. In order to return to default + * mode, you must explicitly disable the debug mode with the application argument + * `-FIRDebugDisabled`. + * + * It is also possible to change the default logging level in code by calling + * `FirebaseConfiguration.shared.setLoggerLevel(_:)` with the desired level. + */ +NS_SWIFT_NAME(FirebaseApp) +@interface FIRApp : NSObject + +/** + * Configures a default Firebase app. Raises an exception if any configuration step fails. The + * default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched + * and before using Firebase services. This method should be called from the main thread and + * contains synchronous file I/O (reading GoogleService-Info.plist from disk). + */ ++ (void)configure; + +/** + * Configures the default Firebase app with the provided options. The default app is named + * "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method should be + * called from the main thread. + * + * @param options The Firebase application options used to configure the service. + */ ++ (void)configureWithOptions:(FIROptions *)options NS_SWIFT_NAME(configure(options:)); + +/** + * Configures a Firebase app with the given name and options. Raises an exception if any + * configuration step fails. This method should be called from the main thread. + * + * @param name The application's name given by the developer. The name should should only contain + Letters, Numbers and Underscore. + * @param options The Firebase application options used to configure the services. + */ +// clang-format off ++ (void)configureWithName:(NSString *)name + options:(FIROptions *)options NS_SWIFT_NAME(configure(name:options:)); +// clang-format on + +/** + * Returns the default app, or `nil` if the default app does not exist. + */ ++ (nullable FIRApp *)defaultApp NS_SWIFT_NAME(app()); + +/** + * Returns a previously created `FirebaseApp` instance with the given name, or `nil` if no such app + * exists. This method is thread safe. + */ ++ (nullable FIRApp *)appNamed:(NSString *)name NS_SWIFT_NAME(app(name:)); + +/** + * Returns the set of all extant `FirebaseApp` instances, or `nil` if there are no `FirebaseApp` + * instances. This method is thread safe. + */ +@property(class, readonly, nullable) NSDictionary *allApps; + +/** + * Cleans up the current `FirebaseApp`, freeing associated data and returning its name to the pool + * for future use. This method is thread safe. + */ +- (void)deleteApp:(void (^)(BOOL success))completion; + +/** + * `FirebaseApp` instances should not be initialized directly. Call `FirebaseApp.configure()`, + * `FirebaseApp.configure(options:)`, or `FirebaseApp.configure(name:options:)` directly. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Gets the name of this app. + */ +@property(nonatomic, copy, readonly) NSString *name; + +/** + * Gets a copy of the options for this app. These are non-modifiable. + */ +@property(nonatomic, copy, readonly) FIROptions *options; + +/** + * Gets or sets whether automatic data collection is enabled for all products. Defaults to `true` + * unless `FirebaseDataCollectionDefaultEnabled` is set to `NO` in your app's Info.plist. This value + * is persisted across runs of the app so that it can be set once when users have consented to + * collection. + */ +@property(nonatomic, readwrite, getter=isDataCollectionDefaultEnabled) + BOOL dataCollectionDefaultEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRConfiguration.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRConfiguration.h new file mode 100644 index 00000000000..408bcadb75f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRConfiguration.h @@ -0,0 +1,45 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "FIRLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * This interface provides global level properties that the developer can tweak. + */ +NS_SWIFT_NAME(FirebaseConfiguration) +@interface FIRConfiguration : NSObject + +/** Returns the shared configuration object. */ +@property(class, nonatomic, readonly) FIRConfiguration *sharedInstance NS_SWIFT_NAME(shared); + +/** + * Sets the logging level for internal Firebase logging. Firebase will only log messages + * that are logged at or below `loggerLevel`. The messages are logged both to the Xcode + * console and to the device's log. Note that if an app is running from AppStore, it will + * never log above `.notice` even if `loggerLevel` is set to a higher (more verbose) + * setting. + * + * @param loggerLevel The maximum logging level. The default level is set to FIRLoggerLevelNotice. + */ +- (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRLoggerLevel.h new file mode 100644 index 00000000000..dca3aa0b01f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRLoggerLevel.h @@ -0,0 +1,38 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Note that importing GULLoggerLevel.h will lead to a non-modular header +// import error. + +/** + * The log levels used by internal logging. + */ +typedef NS_ENUM(NSInteger, FIRLoggerLevel) { + /** Error level, matches ASL_LEVEL_ERR. */ + FIRLoggerLevelError = 3, + /** Warning level, matches ASL_LEVEL_WARNING. */ + FIRLoggerLevelWarning = 4, + /** Notice level, matches ASL_LEVEL_NOTICE. */ + FIRLoggerLevelNotice = 5, + /** Info level, matches ASL_LEVEL_INFO. */ + FIRLoggerLevelInfo = 6, + /** Debug level, matches ASL_LEVEL_DEBUG. */ + FIRLoggerLevelDebug = 7, + /** Minimum log level. */ + FIRLoggerLevelMin = FIRLoggerLevelError, + /** Maximum log level. */ + FIRLoggerLevelMax = FIRLoggerLevelDebug +} NS_SWIFT_NAME(FirebaseLoggerLevel); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIROptions.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIROptions.h new file mode 100644 index 00000000000..8f8d945d765 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIROptions.h @@ -0,0 +1,131 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class provides constant fields of Google APIs. + */ +NS_SWIFT_NAME(FirebaseOptions) +@interface FIROptions : NSObject + +/** + * Returns the default options. The first time this is called it synchronously reads + * GoogleService-Info.plist from disk. + */ ++ (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions()); + +/** + * An API key used for authenticating requests from your Apple app, e.g. + * The key must begin with "A" and contain exactly 39 alphanumeric characters, used to identify your + * app to Google servers. + */ +@property(nonatomic, copy, nullable) NSString *APIKey NS_SWIFT_NAME(apiKey); + +/** + * The bundle ID for the application. Defaults to `Bundle.main.bundleIdentifier` when not set + * manually or in a plist. + */ +@property(nonatomic, copy) NSString *bundleID; + +/** + * The OAuth2 client ID for Apple applications used to authenticate Google users, for example + * @"12345.apps.googleusercontent.com", used for signing in with Google. + */ +@property(nonatomic, copy, nullable) NSString *clientID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE; + +/** + * The Project Number from the Google Developer's console, for example @"012345678901", used to + * configure Firebase Cloud Messaging. + */ +@property(nonatomic, copy) NSString *GCMSenderID NS_SWIFT_NAME(gcmSenderID); + +/** + * The Project ID from the Firebase console, for example @"abc-xyz-123". + */ +@property(nonatomic, copy, nullable) NSString *projectID; + +/** + * Unused. + */ +@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE; + +/** + * The Google App ID that is used to uniquely identify an instance of an app. + */ +@property(nonatomic, copy) NSString *googleAppID; + +/** + * The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com". + */ +@property(nonatomic, copy, nullable) NSString *databaseURL; + +/** + * The URL scheme used to set up Durable Deep Link service. + */ +@property(nonatomic, copy, nullable) NSString *deepLinkURLScheme; + +/** + * The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com". + */ +@property(nonatomic, copy, nullable) NSString *storageBucket; + +/** + * The App Group identifier to share data between the application and the application extensions. + * The App Group must be configured in the application and on the Apple Developer Portal. Default + * value `nil`. + */ +@property(nonatomic, copy, nullable) NSString *appGroupID; + +/** + * Initializes a customized instance of FirebaseOptions from the file at the given plist file path. + * This will read the file synchronously from disk. + * For example: + * ```swift + * if let path = Bundle.main.path(forResource:"GoogleServices-Info", ofType:"plist") { + * let options = FirebaseOptions(contentsOfFile: path) + * } + * ``` + * Note that it is not possible to customize `FirebaseOptions` for Firebase Analytics which expects + * a static file named `GoogleServices-Info.plist` - + * https://github.com/firebase/firebase-ios-sdk/issues/230. + * Returns `nil` if the plist file does not exist or is invalid. + */ +- (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath NS_DESIGNATED_INITIALIZER; + +/** + * Initializes a customized instance of `FirebaseOptions` with required fields. Use the mutable + * properties to modify fields for configuring specific services. Note that it is not possible to + * customize `FirebaseOptions` for Firebase Analytics which expects a static file named + * `GoogleServices-Info.plist` - https://github.com/firebase/firebase-ios-sdk/issues/230. + */ +- (instancetype)initWithGoogleAppID:(NSString *)googleAppID + GCMSenderID:(NSString *)GCMSenderID + NS_SWIFT_NAME(init(googleAppID:gcmSenderID:))NS_DESIGNATED_INITIALIZER; + +/** Unavailable. Please use `init(contentsOfFile:)` or `init(googleAppID:gcmSenderID:)` instead. */ +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRTimestamp.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRTimestamp.h new file mode 100644 index 00000000000..375f697338a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRTimestamp.h @@ -0,0 +1,89 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * A Timestamp represents a point in time independent of any time zone or calendar, represented as + * seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. It is encoded using + * the Proleptic Gregorian Calendar which extends the Gregorian calendar backwards to year one. It + * is encoded assuming all minutes are 60 seconds long, i.e. leap seconds are "smeared" so that no + * leap second table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to + * 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to + * and from RFC 3339 date strings. + * + * @see https://github.com/google/protobuf/blob/main/src/google/protobuf/timestamp.proto for the + * reference timestamp definition. + */ +NS_SWIFT_NAME(Timestamp) +@interface FIRTimestamp : NSObject + +/** :nodoc: */ +- (instancetype)init NS_UNAVAILABLE; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ +- (instancetype)initWithSeconds:(int64_t)seconds + nanoseconds:(int32_t)nanoseconds NS_DESIGNATED_INITIALIZER; + +/** + * Creates a new timestamp. + * + * @param seconds the number of seconds since epoch. + * @param nanoseconds the number of nanoseconds after the seconds. + */ ++ (instancetype)timestampWithSeconds:(int64_t)seconds nanoseconds:(int32_t)nanoseconds; + +/** Creates a new timestamp from the given date. */ ++ (instancetype)timestampWithDate:(NSDate *)date; + +/** Creates a new timestamp with the current date / time. */ ++ (instancetype)timestamp; + +/** Returns a new `Date` corresponding to this timestamp. This may lose precision. */ +- (NSDate *)dateValue; + +/** + * Returns the result of comparing the receiver with another timestamp. + * @param other the other timestamp to compare. + * @return `orderedAscending` if `other` is chronologically following self, + * `orderedDescending` if `other` is chronologically preceding self, + * `orderedSame` otherwise. + */ +- (NSComparisonResult)compare:(FIRTimestamp *)other; + +/** + * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. + * Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. + */ +@property(nonatomic, assign, readonly) int64_t seconds; + +/** + * Non-negative fractions of a second at nanosecond resolution. Negative second values with + * fractions must still have non-negative nanos values that count forward in time. + * Must be from 0 to 999,999,999 inclusive. + */ +@property(nonatomic, assign, readonly) int32_t nanoseconds; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRVersion.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRVersion.h new file mode 100644 index 00000000000..651edaf5c8b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FIRVersion.h @@ -0,0 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** Returns the current version of Firebase. */ +NS_SWIFT_NAME(FirebaseVersion()) +NSString* FIRFirebaseVersion(void); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h new file mode 100644 index 00000000000..4ebf15e9edf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h @@ -0,0 +1,23 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FirebaseCore.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" + +FOUNDATION_EXPORT double FirebaseCoreVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore.h new file mode 100644 index 00000000000..fff8631ecf8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Headers/FirebaseCore.h @@ -0,0 +1,22 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRApp.h" +#import "FIRConfiguration.h" +#import "FIRLoggerLevel.h" +#import "FIROptions.h" +#import "FIRTimestamp.h" +#import "FIRVersion.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Info.plist new file mode 100644 index 00000000000..82a249c399b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCore + CFBundleIdentifier + org.cocoapods.FirebaseCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchsimulator + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchsimulator10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Modules/module.modulemap new file mode 100644 index 00000000000..285dbbebd5b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCore.xcframework/watchos-arm64_x86_64-simulator/FirebaseCore.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCore { +umbrella header "FirebaseCore-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "WatchKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/Info.plist new file mode 100644 index 00000000000..db21dfd4504 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/Info.plist @@ -0,0 +1,139 @@ + + + + + AvailableLibraries + + + BinaryPath + FirebaseCoreExtension.framework/FirebaseCoreExtension + LibraryIdentifier + ios-arm64 + LibraryPath + FirebaseCoreExtension.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + FirebaseCoreExtension.framework/FirebaseCoreExtension + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FirebaseCoreExtension.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseCoreExtension.framework/Versions/A/FirebaseCoreExtension + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + FirebaseCoreExtension.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + BinaryPath + FirebaseCoreExtension.framework/FirebaseCoreExtension + LibraryIdentifier + watchos-arm64_x86_64-simulator + LibraryPath + FirebaseCoreExtension.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + watchos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseCoreExtension.framework/FirebaseCoreExtension + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FirebaseCoreExtension.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseCoreExtension.framework/FirebaseCoreExtension + LibraryIdentifier + tvos-arm64 + LibraryPath + FirebaseCoreExtension.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + FirebaseCoreExtension.framework/FirebaseCoreExtension + LibraryIdentifier + watchos-arm64_arm64_32 + LibraryPath + FirebaseCoreExtension.framework + SupportedArchitectures + + arm64 + arm64_32 + + SupportedPlatform + watchos + + + BinaryPath + FirebaseCoreExtension.framework/Versions/A/FirebaseCoreExtension + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FirebaseCoreExtension.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension new file mode 100644 index 00000000000..960b2133258 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..9b1acdea22e Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..c89c88f62f5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,18 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h new file mode 100644 index 00000000000..b0b15117227 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h @@ -0,0 +1,156 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; +@class FIRHeartbeatLogger; +@protocol FIRLibrary; + +/** + * The internal interface to `FirebaseApp`. This is meant for first-party integrators, who need to + * receive `FirebaseApp` notifications, log info about the success or failure of their + * configuration, and access other internal functionality of `FirebaseApp`. + */ +NS_ASSUME_NONNULL_BEGIN + +typedef NS_ENUM(NSInteger, FIRConfigType) { + FIRConfigTypeCore = 1, + FIRConfigTypeSDK = 2, +}; + +extern NSString *const kFIRDefaultAppName; +extern NSString *const kFIRAppReadyToConfigureSDKNotification; +extern NSString *const kFIRAppDeleteNotification; +extern NSString *const kFIRAppIsDefaultAppKey; +extern NSString *const kFIRAppNameKey; +extern NSString *const kFIRGoogleAppIDKey; +extern NSString *const kFirebaseCoreErrorDomain; + +/** + * The format string for the `UserDefaults` key used for storing the data collection enabled flag. + * This includes formatting to append the `FirebaseApp`'s name. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledDefaultsKeyFormat; + +/** + * The plist key used for storing the data collection enabled flag. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledPlistKey; + +/** @var FirebaseAuthStateDidChangeInternalNotification + @brief The name of the @c NotificationCenter notification which is posted when the auth state + changes (e.g. a new token has been produced, a user logs in or out). The object parameter of + the notification is a dictionary possibly containing the key: + @c FirebaseAuthStateDidChangeInternalNotificationTokenKey (the new access token.) If it does not + contain this key it indicates a sign-out event took place. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotification; + +/** @var FirebaseAuthStateDidChangeInternalNotificationTokenKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new access token. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationTokenKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationAppKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the FirebaseApp associated with the auth instance. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationAppKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationUIDKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new user's UID (or nil if there is no longer a user signed in). + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationUIDKey; + +@interface FIRApp () + +/** + * A flag indicating if this is the default app (has the default app name). + */ +@property(nonatomic, readonly) BOOL isDefaultApp; + +/** + * The container of interop SDKs for this app. + */ +@property(nonatomic) FIRComponentContainer *container; + +/** + * The heartbeat logger associated with this app. + * + * Firebase apps have a 1:1 relationship with heartbeat loggers. + */ +@property(readonly) FIRHeartbeatLogger *heartbeatLogger; + +/** + * Checks if the default app is configured without trying to configure it. + */ ++ (BOOL)isDefaultAppConfigured; + +/** + * Registers a given third-party library with the given version number to be reported for + * analytics. + * + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerLibrary:(nonnull NSString *)name withVersion:(nonnull NSString *)version; + +/** + * Registers a given internal library to be reported for analytics. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name; + +/** + * Registers a given internal library with the given version number to be reported for + * analytics. This should only be used for non-Firebase libraries that have their own versioning + * scheme. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name + withVersion:(nonnull NSString *)version; + +/** + * A concatenated string representing all the third-party libraries and version numbers. + */ ++ (NSString *)firebaseUserAgent; + +/** + * Can be used by the unit tests in each SDK to reset `FirebaseApp`. This method is thread unsafe. + */ ++ (void)resetApps; + +/** + * Can be used by the unit tests in each SDK to set customized options. + */ +- (instancetype)initInstanceWithName:(NSString *)name options:(FIROptions *)options; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRComponent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRComponent.h new file mode 100644 index 00000000000..c58a8517d9b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRComponent.h @@ -0,0 +1,84 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Provides a system to clean up cached instances returned from the component system. +NS_SWIFT_NAME(ComponentLifecycleMaintainer) +@protocol FIRComponentLifecycleMaintainer +/// The associated app will be deleted, clean up any resources as they are about to be deallocated. +- (void)appWillBeDeleted:(FIRApp *)app; +@end + +typedef _Nullable id (^FIRComponentCreationBlock)(FIRComponentContainer *container, + BOOL *isCacheable) + NS_SWIFT_NAME(ComponentCreationBlock); + +/// Describes the timing of instantiation. Note: new components should default to lazy unless there +/// is a strong reason to be eager. +typedef NS_ENUM(NSInteger, FIRInstantiationTiming) { + FIRInstantiationTimingLazy, + FIRInstantiationTimingAlwaysEager, + FIRInstantiationTimingEagerInDefaultApp +} NS_SWIFT_NAME(InstantiationTiming); + +/// A component that can be used from other Firebase SDKs. +NS_SWIFT_NAME(Component) +@interface FIRComponent : NSObject + +/// The protocol describing functionality provided from the `Component`. +@property(nonatomic, strong, readonly) Protocol *protocol; + +/// The timing of instantiation. +@property(nonatomic, readonly) FIRInstantiationTiming instantiationTiming; + +/// A block to instantiate an instance of the component with the appropriate dependencies. +@property(nonatomic, copy, readonly) FIRComponentCreationBlock creationBlock; + +// There's an issue with long NS_SWIFT_NAMES that causes compilation to fail, disable clang-format +// for the next two methods. +// clang-format off + +/// Creates a component with no dependencies that will be lazily initialized. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:creationBlock:)); + +/// Creates a component to be registered with the component container. +/// +/// @param protocol - The protocol describing functionality provided by the component. +/// @param instantiationTiming - When the component should be initialized. Use .lazy unless there's +/// a good reason to be instantiated earlier. +/// @param creationBlock - A block to instantiate the component with a container, and if +/// @return A component that can be registered with the component container. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + instantiationTiming:(FIRInstantiationTiming)instantiationTiming + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:instantiationTiming:creationBlock:)); + +// clang-format on + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h new file mode 100644 index 00000000000..6ec61470aa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h @@ -0,0 +1,45 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A type-safe macro to retrieve a component from a container. This should be used to retrieve +/// components instead of using the container directly. +#define FIR_COMPONENT(type, container) \ + [FIRComponentType> instanceForProtocol:@protocol(type) inContainer:container] + +@class FIRApp; + +/// A container that holds different components that are registered via the +/// `registerAsComponentRegistrant` call. These classes should conform to `ComponentRegistrant` +/// in order to properly register components for Core. +NS_SWIFT_NAME(FirebaseComponentContainer) +@interface FIRComponentContainer : NSObject + +/// A weak reference to the app that an instance of the container belongs to. +@property(nonatomic, weak, readonly) FIRApp *app; + +// TODO: See if we can get improved type safety here. +/// A Swift only API for fetching an instance since the top macro isn't available. +- (nullable id)__instanceForProtocol:(Protocol *)protocol NS_SWIFT_NAME(instance(for:)); + +/// Unavailable. Use the `container` property on `FirebaseApp`. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRComponentType.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRComponentType.h new file mode 100644 index 00000000000..c69085d1983 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRComponentType.h @@ -0,0 +1,35 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Do not use directly. A placeholder type in order to provide a macro that will warn users of +/// mis-matched protocols. +NS_SWIFT_NAME(ComponentType) +@interface FIRComponentType<__covariant T> : NSObject + +/// Do not use directly. A factory method to retrieve an instance that provides a specific +/// functionality. ++ (nullable T)instanceForProtocol:(Protocol *)protocol + inContainer:(FIRComponentContainer *)container; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h new file mode 100644 index 00000000000..6314f504f13 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h @@ -0,0 +1,90 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +#ifndef FIREBASE_BUILD_CMAKE +@class FIRHeartbeatsPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Enum representing different daily heartbeat codes. +/// This enum is only used by clients using platform logging V1. This is because +/// the V1 payload only supports a single daily heartbeat. +typedef NS_ENUM(NSInteger, FIRDailyHeartbeatCode) { + /// Represents the absence of a daily heartbeat. + FIRDailyHeartbeatCodeNone = 0, + /// Represents the presence of a daily heartbeat. + FIRDailyHeartbeatCodeSome = 2, +}; + +@protocol FIRHeartbeatLoggerProtocol + +/// Asynchronously logs a heartbeat. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Return the headerValue for the HeartbeatLogger. +- (NSString *_Nullable)headerValue; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets the heartbeat code for today. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +#ifndef FIREBASE_BUILD_CMAKE +/// Returns a nullable string header value from a given heartbeats payload. +/// +/// This API returns `nil` when the given heartbeats payload is considered empty. +/// +/// @param heartbeatsPayload The heartbeats payload. +NSString *_Nullable FIRHeaderValueFromHeartbeatsPayload(FIRHeartbeatsPayload *heartbeatsPayload); +#endif // FIREBASE_BUILD_CMAKE + +/// A thread safe, synchronized object that logs and flushes platform logging info. +@interface FIRHeartbeatLogger : NSObject + +/// Designated initializer. +/// +/// @param appID The app ID that this heartbeat logger corresponds to. +- (instancetype)initWithAppID:(NSString *)appID; + +/// Asynchronously logs a new heartbeat corresponding to the Firebase User Agent, if needed. +/// +/// @note This API is thread-safe. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Flushes heartbeats from storage into a structured payload of heartbeats. +/// +/// This API is for clients using platform logging V2. +/// +/// @note This API is thread-safe. +/// @return A payload of heartbeats. +- (FIRHeartbeatsPayload *)flushHeartbeatsIntoPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets today's corresponding heartbeat code. +/// +/// This API is for clients using platform logging V1. +/// +/// @note This API is thread-safe. +/// @return Heartbeat code indicating whether or not there is an unsent global heartbeat. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRLibrary.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRLibrary.h new file mode 100644 index 00000000000..17664ac619f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRLibrary.h @@ -0,0 +1,39 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRLibrary_h +#define FIRLibrary_h + +#import + +@class FIRApp; +@class FIRComponent; + +NS_ASSUME_NONNULL_BEGIN + +/// Provide an interface to register a library for userAgent logging and availability to others. +NS_SWIFT_NAME(Library) +@protocol FIRLibrary + +/// Returns one or more Components that will be registered in +/// FirebaseApp and participate in dependency resolution and injection. ++ (NSArray *)componentsToRegister; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRLibrary_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRLogger.h new file mode 100644 index 00000000000..52ed75d7d6e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRLogger.h @@ -0,0 +1,148 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * The Firebase services used in Firebase logger. + */ +typedef NSString *const FIRLoggerService; + +extern NSString *const kFIRLoggerAnalytics; +extern NSString *const kFIRLoggerCrash; +extern NSString *const kFIRLoggerCore; +extern NSString *const kFIRLoggerRemoteConfig; + +/** + * The key used to store the logger's error count. + */ +extern NSString *const kFIRLoggerErrorCountKey; + +/** + * The key used to store the logger's warning count. + */ +extern NSString *const kFIRLoggerWarningCountKey; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/** + * Enables or disables Analytics debug mode. + * If set to true, the logging level for Analytics will be set to FirebaseLoggerLevelDebug. + * Enabling the debug mode has no effect if the app is running from App Store. + * (required) analytics debug mode flag. + */ +void FIRSetAnalyticsDebugMode(BOOL analyticsDebugMode); + +/** + * Gets the current FIRLoggerLevel. + */ +FIRLoggerLevel FIRGetLoggerLevel(void); + +/** + * Changes the default logging level of FirebaseLoggerLevelNotice to a user-specified level. + * The default level cannot be set above FirebaseLoggerLevelNotice if the app is running from App + * Store. (required) log level (one of the FirebaseLoggerLevel enum values). + */ +void FIRSetLoggerLevel(FIRLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) whether or not this function is called from the Analytics component. + */ +BOOL FIRIsLoggableLevel(FIRLoggerLevel loggerLevel, BOOL analyticsComponent); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than FirebaseLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) service name of type FirebaseLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void FIRLogBasic(FIRLoggerLevel level, + NSString *category, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type FirebaseLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * FirebaseLogError(kFirebaseLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void FIRLogError(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogWarning(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogNotice(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogInfo(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogDebug(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +NS_SWIFT_NAME(FirebaseLogger) +@interface FIRLoggerWrapper : NSObject + +/// Logs a given message at a given log level. +/// +/// - Parameters: +/// - level: The log level to use (defined by `FirebaseLoggerLevel` enum values). +/// - service: The service name of type `FirebaseLoggerService`. +/// - code: The message code. Starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: Formatted string to be used as the log's message. ++ (void)logWithLevel:(FIRLoggerLevel)level + service:(NSString *)category + code:(NSString *)code + message:(NSString *)message + __attribute__((__swift_name__("log(level:service:code:message:)"))); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h new file mode 100644 index 00000000000..93a03d6894c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h @@ -0,0 +1,106 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/** + * Keys for the strings in the plist file. + */ +extern NSString *const kFIRAPIKey; +extern NSString *const kFIRTrackingID; +extern NSString *const kFIRGoogleAppID; +extern NSString *const kFIRClientID; +extern NSString *const kFIRGCMSenderID; +extern NSString *const kFIRAndroidClientID; +extern NSString *const kFIRDatabaseURL; +extern NSString *const kFIRStorageBucket; +extern NSString *const kFIRBundleID; +extern NSString *const kFIRProjectID; + +/** + * Keys for the plist file name + */ +extern NSString *const kServiceInfoFileName; + +extern NSString *const kServiceInfoFileType; + +/** + * This header file exposes the initialization of FirebaseOptions to internal use. + */ +@interface FIROptions () + +/** + * `resetDefaultOptions` and `initInternalWithOptionsDictionary` are exposed only for unit tests. + */ ++ (void)resetDefaultOptions; + +/** + * Initializes the options with dictionary. The above strings are the keys of the dictionary. + * This is the designated initializer. + */ +- (instancetype)initInternalWithOptionsDictionary:(NSDictionary *)serviceInfoDictionary + NS_DESIGNATED_INITIALIZER; + +/** + * `defaultOptions` and `defaultOptionsDictionary` are exposed in order to be used in FirebaseApp + * and other first party services. + */ ++ (FIROptions *)defaultOptions; + ++ (NSDictionary *)defaultOptionsDictionary; + +/** + * Indicates whether or not Analytics collection was explicitly enabled via a plist flag or at + * runtime. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionExplicitlySet; + +/** + * Whether or not Analytics Collection was enabled. Analytics Collection is enabled unless + * explicitly disabled in GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionEnabled; + +/** + * Whether or not Analytics Collection was completely disabled. If true, then + * isAnalyticsCollectionEnabled will be false. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionDeactivated; + +/** + * The version ID of the client library, e.g. @"1100000". + */ +@property(nonatomic, readonly, copy) NSString *libraryVersionID; + +/** + * The flag indicating whether this object was constructed with the values in the default plist + * file. + */ +@property(nonatomic) BOOL usingOptionsFromDefaultPlist; + +/** + * Whether or not Measurement was enabled. Measurement is enabled unless explicitly disabled in + * GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isMeasurementEnabled; + +/** + * Whether or not editing is locked. This should occur after `FirebaseOptions` has been set on a + * `FirebaseApp`. + */ +@property(nonatomic, getter=isEditingLocked) BOOL editingLocked; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h new file mode 100644 index 00000000000..3365681d74d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h @@ -0,0 +1,25 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FirebaseCoreInternal.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" + +FOUNDATION_EXPORT double FirebaseCoreExtensionVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreExtensionVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h new file mode 100644 index 00000000000..0cb388be4fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h @@ -0,0 +1,24 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +@import FirebaseCore; + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Info.plist new file mode 100644 index 00000000000..b6e2d26a355 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreExtension + CFBundleIdentifier + org.cocoapods.FirebaseCoreExtension + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreExtension + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Modules/module.modulemap new file mode 100644 index 00000000000..934487e1faf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCoreExtension { +umbrella header "FirebaseCoreExtension-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/FirebaseCoreExtension b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/FirebaseCoreExtension new file mode 120000 index 00000000000..305b2afe95c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/FirebaseCoreExtension @@ -0,0 +1 @@ +Versions/Current/FirebaseCoreExtension \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/FirebaseCoreExtension b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/FirebaseCoreExtension new file mode 100644 index 00000000000..ec266a708c6 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/FirebaseCoreExtension differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRAppInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRAppInternal.h new file mode 100644 index 00000000000..b0b15117227 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRAppInternal.h @@ -0,0 +1,156 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; +@class FIRHeartbeatLogger; +@protocol FIRLibrary; + +/** + * The internal interface to `FirebaseApp`. This is meant for first-party integrators, who need to + * receive `FirebaseApp` notifications, log info about the success or failure of their + * configuration, and access other internal functionality of `FirebaseApp`. + */ +NS_ASSUME_NONNULL_BEGIN + +typedef NS_ENUM(NSInteger, FIRConfigType) { + FIRConfigTypeCore = 1, + FIRConfigTypeSDK = 2, +}; + +extern NSString *const kFIRDefaultAppName; +extern NSString *const kFIRAppReadyToConfigureSDKNotification; +extern NSString *const kFIRAppDeleteNotification; +extern NSString *const kFIRAppIsDefaultAppKey; +extern NSString *const kFIRAppNameKey; +extern NSString *const kFIRGoogleAppIDKey; +extern NSString *const kFirebaseCoreErrorDomain; + +/** + * The format string for the `UserDefaults` key used for storing the data collection enabled flag. + * This includes formatting to append the `FirebaseApp`'s name. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledDefaultsKeyFormat; + +/** + * The plist key used for storing the data collection enabled flag. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledPlistKey; + +/** @var FirebaseAuthStateDidChangeInternalNotification + @brief The name of the @c NotificationCenter notification which is posted when the auth state + changes (e.g. a new token has been produced, a user logs in or out). The object parameter of + the notification is a dictionary possibly containing the key: + @c FirebaseAuthStateDidChangeInternalNotificationTokenKey (the new access token.) If it does not + contain this key it indicates a sign-out event took place. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotification; + +/** @var FirebaseAuthStateDidChangeInternalNotificationTokenKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new access token. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationTokenKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationAppKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the FirebaseApp associated with the auth instance. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationAppKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationUIDKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new user's UID (or nil if there is no longer a user signed in). + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationUIDKey; + +@interface FIRApp () + +/** + * A flag indicating if this is the default app (has the default app name). + */ +@property(nonatomic, readonly) BOOL isDefaultApp; + +/** + * The container of interop SDKs for this app. + */ +@property(nonatomic) FIRComponentContainer *container; + +/** + * The heartbeat logger associated with this app. + * + * Firebase apps have a 1:1 relationship with heartbeat loggers. + */ +@property(readonly) FIRHeartbeatLogger *heartbeatLogger; + +/** + * Checks if the default app is configured without trying to configure it. + */ ++ (BOOL)isDefaultAppConfigured; + +/** + * Registers a given third-party library with the given version number to be reported for + * analytics. + * + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerLibrary:(nonnull NSString *)name withVersion:(nonnull NSString *)version; + +/** + * Registers a given internal library to be reported for analytics. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name; + +/** + * Registers a given internal library with the given version number to be reported for + * analytics. This should only be used for non-Firebase libraries that have their own versioning + * scheme. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name + withVersion:(nonnull NSString *)version; + +/** + * A concatenated string representing all the third-party libraries and version numbers. + */ ++ (NSString *)firebaseUserAgent; + +/** + * Can be used by the unit tests in each SDK to reset `FirebaseApp`. This method is thread unsafe. + */ ++ (void)resetApps; + +/** + * Can be used by the unit tests in each SDK to set customized options. + */ +- (instancetype)initInstanceWithName:(NSString *)name options:(FIROptions *)options; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponent.h new file mode 100644 index 00000000000..c58a8517d9b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponent.h @@ -0,0 +1,84 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Provides a system to clean up cached instances returned from the component system. +NS_SWIFT_NAME(ComponentLifecycleMaintainer) +@protocol FIRComponentLifecycleMaintainer +/// The associated app will be deleted, clean up any resources as they are about to be deallocated. +- (void)appWillBeDeleted:(FIRApp *)app; +@end + +typedef _Nullable id (^FIRComponentCreationBlock)(FIRComponentContainer *container, + BOOL *isCacheable) + NS_SWIFT_NAME(ComponentCreationBlock); + +/// Describes the timing of instantiation. Note: new components should default to lazy unless there +/// is a strong reason to be eager. +typedef NS_ENUM(NSInteger, FIRInstantiationTiming) { + FIRInstantiationTimingLazy, + FIRInstantiationTimingAlwaysEager, + FIRInstantiationTimingEagerInDefaultApp +} NS_SWIFT_NAME(InstantiationTiming); + +/// A component that can be used from other Firebase SDKs. +NS_SWIFT_NAME(Component) +@interface FIRComponent : NSObject + +/// The protocol describing functionality provided from the `Component`. +@property(nonatomic, strong, readonly) Protocol *protocol; + +/// The timing of instantiation. +@property(nonatomic, readonly) FIRInstantiationTiming instantiationTiming; + +/// A block to instantiate an instance of the component with the appropriate dependencies. +@property(nonatomic, copy, readonly) FIRComponentCreationBlock creationBlock; + +// There's an issue with long NS_SWIFT_NAMES that causes compilation to fail, disable clang-format +// for the next two methods. +// clang-format off + +/// Creates a component with no dependencies that will be lazily initialized. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:creationBlock:)); + +/// Creates a component to be registered with the component container. +/// +/// @param protocol - The protocol describing functionality provided by the component. +/// @param instantiationTiming - When the component should be initialized. Use .lazy unless there's +/// a good reason to be instantiated earlier. +/// @param creationBlock - A block to instantiate the component with a container, and if +/// @return A component that can be registered with the component container. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + instantiationTiming:(FIRInstantiationTiming)instantiationTiming + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:instantiationTiming:creationBlock:)); + +// clang-format on + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponentContainer.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponentContainer.h new file mode 100644 index 00000000000..6ec61470aa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponentContainer.h @@ -0,0 +1,45 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A type-safe macro to retrieve a component from a container. This should be used to retrieve +/// components instead of using the container directly. +#define FIR_COMPONENT(type, container) \ + [FIRComponentType> instanceForProtocol:@protocol(type) inContainer:container] + +@class FIRApp; + +/// A container that holds different components that are registered via the +/// `registerAsComponentRegistrant` call. These classes should conform to `ComponentRegistrant` +/// in order to properly register components for Core. +NS_SWIFT_NAME(FirebaseComponentContainer) +@interface FIRComponentContainer : NSObject + +/// A weak reference to the app that an instance of the container belongs to. +@property(nonatomic, weak, readonly) FIRApp *app; + +// TODO: See if we can get improved type safety here. +/// A Swift only API for fetching an instance since the top macro isn't available. +- (nullable id)__instanceForProtocol:(Protocol *)protocol NS_SWIFT_NAME(instance(for:)); + +/// Unavailable. Use the `container` property on `FirebaseApp`. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponentType.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponentType.h new file mode 100644 index 00000000000..c69085d1983 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponentType.h @@ -0,0 +1,35 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Do not use directly. A placeholder type in order to provide a macro that will warn users of +/// mis-matched protocols. +NS_SWIFT_NAME(ComponentType) +@interface FIRComponentType<__covariant T> : NSObject + +/// Do not use directly. A factory method to retrieve an instance that provides a specific +/// functionality. ++ (nullable T)instanceForProtocol:(Protocol *)protocol + inContainer:(FIRComponentContainer *)container; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRHeartbeatLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRHeartbeatLogger.h new file mode 100644 index 00000000000..6314f504f13 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRHeartbeatLogger.h @@ -0,0 +1,90 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +#ifndef FIREBASE_BUILD_CMAKE +@class FIRHeartbeatsPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Enum representing different daily heartbeat codes. +/// This enum is only used by clients using platform logging V1. This is because +/// the V1 payload only supports a single daily heartbeat. +typedef NS_ENUM(NSInteger, FIRDailyHeartbeatCode) { + /// Represents the absence of a daily heartbeat. + FIRDailyHeartbeatCodeNone = 0, + /// Represents the presence of a daily heartbeat. + FIRDailyHeartbeatCodeSome = 2, +}; + +@protocol FIRHeartbeatLoggerProtocol + +/// Asynchronously logs a heartbeat. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Return the headerValue for the HeartbeatLogger. +- (NSString *_Nullable)headerValue; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets the heartbeat code for today. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +#ifndef FIREBASE_BUILD_CMAKE +/// Returns a nullable string header value from a given heartbeats payload. +/// +/// This API returns `nil` when the given heartbeats payload is considered empty. +/// +/// @param heartbeatsPayload The heartbeats payload. +NSString *_Nullable FIRHeaderValueFromHeartbeatsPayload(FIRHeartbeatsPayload *heartbeatsPayload); +#endif // FIREBASE_BUILD_CMAKE + +/// A thread safe, synchronized object that logs and flushes platform logging info. +@interface FIRHeartbeatLogger : NSObject + +/// Designated initializer. +/// +/// @param appID The app ID that this heartbeat logger corresponds to. +- (instancetype)initWithAppID:(NSString *)appID; + +/// Asynchronously logs a new heartbeat corresponding to the Firebase User Agent, if needed. +/// +/// @note This API is thread-safe. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Flushes heartbeats from storage into a structured payload of heartbeats. +/// +/// This API is for clients using platform logging V2. +/// +/// @note This API is thread-safe. +/// @return A payload of heartbeats. +- (FIRHeartbeatsPayload *)flushHeartbeatsIntoPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets today's corresponding heartbeat code. +/// +/// This API is for clients using platform logging V1. +/// +/// @note This API is thread-safe. +/// @return Heartbeat code indicating whether or not there is an unsent global heartbeat. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRLibrary.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRLibrary.h new file mode 100644 index 00000000000..17664ac619f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRLibrary.h @@ -0,0 +1,39 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRLibrary_h +#define FIRLibrary_h + +#import + +@class FIRApp; +@class FIRComponent; + +NS_ASSUME_NONNULL_BEGIN + +/// Provide an interface to register a library for userAgent logging and availability to others. +NS_SWIFT_NAME(Library) +@protocol FIRLibrary + +/// Returns one or more Components that will be registered in +/// FirebaseApp and participate in dependency resolution and injection. ++ (NSArray *)componentsToRegister; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRLibrary_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRLogger.h new file mode 100644 index 00000000000..52ed75d7d6e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIRLogger.h @@ -0,0 +1,148 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * The Firebase services used in Firebase logger. + */ +typedef NSString *const FIRLoggerService; + +extern NSString *const kFIRLoggerAnalytics; +extern NSString *const kFIRLoggerCrash; +extern NSString *const kFIRLoggerCore; +extern NSString *const kFIRLoggerRemoteConfig; + +/** + * The key used to store the logger's error count. + */ +extern NSString *const kFIRLoggerErrorCountKey; + +/** + * The key used to store the logger's warning count. + */ +extern NSString *const kFIRLoggerWarningCountKey; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/** + * Enables or disables Analytics debug mode. + * If set to true, the logging level for Analytics will be set to FirebaseLoggerLevelDebug. + * Enabling the debug mode has no effect if the app is running from App Store. + * (required) analytics debug mode flag. + */ +void FIRSetAnalyticsDebugMode(BOOL analyticsDebugMode); + +/** + * Gets the current FIRLoggerLevel. + */ +FIRLoggerLevel FIRGetLoggerLevel(void); + +/** + * Changes the default logging level of FirebaseLoggerLevelNotice to a user-specified level. + * The default level cannot be set above FirebaseLoggerLevelNotice if the app is running from App + * Store. (required) log level (one of the FirebaseLoggerLevel enum values). + */ +void FIRSetLoggerLevel(FIRLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) whether or not this function is called from the Analytics component. + */ +BOOL FIRIsLoggableLevel(FIRLoggerLevel loggerLevel, BOOL analyticsComponent); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than FirebaseLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) service name of type FirebaseLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void FIRLogBasic(FIRLoggerLevel level, + NSString *category, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type FirebaseLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * FirebaseLogError(kFirebaseLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void FIRLogError(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogWarning(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogNotice(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogInfo(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogDebug(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +NS_SWIFT_NAME(FirebaseLogger) +@interface FIRLoggerWrapper : NSObject + +/// Logs a given message at a given log level. +/// +/// - Parameters: +/// - level: The log level to use (defined by `FirebaseLoggerLevel` enum values). +/// - service: The service name of type `FirebaseLoggerService`. +/// - code: The message code. Starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: Formatted string to be used as the log's message. ++ (void)logWithLevel:(FIRLoggerLevel)level + service:(NSString *)category + code:(NSString *)code + message:(NSString *)message + __attribute__((__swift_name__("log(level:service:code:message:)"))); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIROptionsInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIROptionsInternal.h new file mode 100644 index 00000000000..93a03d6894c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FIROptionsInternal.h @@ -0,0 +1,106 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/** + * Keys for the strings in the plist file. + */ +extern NSString *const kFIRAPIKey; +extern NSString *const kFIRTrackingID; +extern NSString *const kFIRGoogleAppID; +extern NSString *const kFIRClientID; +extern NSString *const kFIRGCMSenderID; +extern NSString *const kFIRAndroidClientID; +extern NSString *const kFIRDatabaseURL; +extern NSString *const kFIRStorageBucket; +extern NSString *const kFIRBundleID; +extern NSString *const kFIRProjectID; + +/** + * Keys for the plist file name + */ +extern NSString *const kServiceInfoFileName; + +extern NSString *const kServiceInfoFileType; + +/** + * This header file exposes the initialization of FirebaseOptions to internal use. + */ +@interface FIROptions () + +/** + * `resetDefaultOptions` and `initInternalWithOptionsDictionary` are exposed only for unit tests. + */ ++ (void)resetDefaultOptions; + +/** + * Initializes the options with dictionary. The above strings are the keys of the dictionary. + * This is the designated initializer. + */ +- (instancetype)initInternalWithOptionsDictionary:(NSDictionary *)serviceInfoDictionary + NS_DESIGNATED_INITIALIZER; + +/** + * `defaultOptions` and `defaultOptionsDictionary` are exposed in order to be used in FirebaseApp + * and other first party services. + */ ++ (FIROptions *)defaultOptions; + ++ (NSDictionary *)defaultOptionsDictionary; + +/** + * Indicates whether or not Analytics collection was explicitly enabled via a plist flag or at + * runtime. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionExplicitlySet; + +/** + * Whether or not Analytics Collection was enabled. Analytics Collection is enabled unless + * explicitly disabled in GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionEnabled; + +/** + * Whether or not Analytics Collection was completely disabled. If true, then + * isAnalyticsCollectionEnabled will be false. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionDeactivated; + +/** + * The version ID of the client library, e.g. @"1100000". + */ +@property(nonatomic, readonly, copy) NSString *libraryVersionID; + +/** + * The flag indicating whether this object was constructed with the values in the default plist + * file. + */ +@property(nonatomic) BOOL usingOptionsFromDefaultPlist; + +/** + * Whether or not Measurement was enabled. Measurement is enabled unless explicitly disabled in + * GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isMeasurementEnabled; + +/** + * Whether or not editing is locked. This should occur after `FirebaseOptions` has been set on a + * `FirebaseApp`. + */ +@property(nonatomic, getter=isEditingLocked) BOOL editingLocked; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FirebaseCoreExtension-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FirebaseCoreExtension-umbrella.h new file mode 100644 index 00000000000..3365681d74d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FirebaseCoreExtension-umbrella.h @@ -0,0 +1,25 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FirebaseCoreInternal.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" + +FOUNDATION_EXPORT double FirebaseCoreExtensionVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreExtensionVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FirebaseCoreInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FirebaseCoreInternal.h new file mode 100644 index 00000000000..0cb388be4fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Headers/FirebaseCoreInternal.h @@ -0,0 +1,24 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +@import FirebaseCore; + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..934487e1faf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCoreExtension { +umbrella header "FirebaseCoreExtension-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Resources/FirebaseCoreExtension_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Resources/FirebaseCoreExtension_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..3f91f6132d2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Resources/FirebaseCoreExtension_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.FirebaseCoreExtension-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreExtension_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Resources/FirebaseCoreExtension_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Resources/FirebaseCoreExtension_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..c89c88f62f5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Resources/FirebaseCoreExtension_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,18 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..259764ed62c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreExtension + CFBundleIdentifier + org.cocoapods.FirebaseCoreExtension + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreExtension + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreExtension.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension new file mode 100644 index 00000000000..90710ccb358 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..e539f6fa1dc Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..c89c88f62f5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,18 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h new file mode 100644 index 00000000000..b0b15117227 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h @@ -0,0 +1,156 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; +@class FIRHeartbeatLogger; +@protocol FIRLibrary; + +/** + * The internal interface to `FirebaseApp`. This is meant for first-party integrators, who need to + * receive `FirebaseApp` notifications, log info about the success or failure of their + * configuration, and access other internal functionality of `FirebaseApp`. + */ +NS_ASSUME_NONNULL_BEGIN + +typedef NS_ENUM(NSInteger, FIRConfigType) { + FIRConfigTypeCore = 1, + FIRConfigTypeSDK = 2, +}; + +extern NSString *const kFIRDefaultAppName; +extern NSString *const kFIRAppReadyToConfigureSDKNotification; +extern NSString *const kFIRAppDeleteNotification; +extern NSString *const kFIRAppIsDefaultAppKey; +extern NSString *const kFIRAppNameKey; +extern NSString *const kFIRGoogleAppIDKey; +extern NSString *const kFirebaseCoreErrorDomain; + +/** + * The format string for the `UserDefaults` key used for storing the data collection enabled flag. + * This includes formatting to append the `FirebaseApp`'s name. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledDefaultsKeyFormat; + +/** + * The plist key used for storing the data collection enabled flag. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledPlistKey; + +/** @var FirebaseAuthStateDidChangeInternalNotification + @brief The name of the @c NotificationCenter notification which is posted when the auth state + changes (e.g. a new token has been produced, a user logs in or out). The object parameter of + the notification is a dictionary possibly containing the key: + @c FirebaseAuthStateDidChangeInternalNotificationTokenKey (the new access token.) If it does not + contain this key it indicates a sign-out event took place. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotification; + +/** @var FirebaseAuthStateDidChangeInternalNotificationTokenKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new access token. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationTokenKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationAppKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the FirebaseApp associated with the auth instance. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationAppKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationUIDKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new user's UID (or nil if there is no longer a user signed in). + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationUIDKey; + +@interface FIRApp () + +/** + * A flag indicating if this is the default app (has the default app name). + */ +@property(nonatomic, readonly) BOOL isDefaultApp; + +/** + * The container of interop SDKs for this app. + */ +@property(nonatomic) FIRComponentContainer *container; + +/** + * The heartbeat logger associated with this app. + * + * Firebase apps have a 1:1 relationship with heartbeat loggers. + */ +@property(readonly) FIRHeartbeatLogger *heartbeatLogger; + +/** + * Checks if the default app is configured without trying to configure it. + */ ++ (BOOL)isDefaultAppConfigured; + +/** + * Registers a given third-party library with the given version number to be reported for + * analytics. + * + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerLibrary:(nonnull NSString *)name withVersion:(nonnull NSString *)version; + +/** + * Registers a given internal library to be reported for analytics. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name; + +/** + * Registers a given internal library with the given version number to be reported for + * analytics. This should only be used for non-Firebase libraries that have their own versioning + * scheme. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name + withVersion:(nonnull NSString *)version; + +/** + * A concatenated string representing all the third-party libraries and version numbers. + */ ++ (NSString *)firebaseUserAgent; + +/** + * Can be used by the unit tests in each SDK to reset `FirebaseApp`. This method is thread unsafe. + */ ++ (void)resetApps; + +/** + * Can be used by the unit tests in each SDK to set customized options. + */ +- (instancetype)initInstanceWithName:(NSString *)name options:(FIROptions *)options; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponent.h new file mode 100644 index 00000000000..c58a8517d9b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponent.h @@ -0,0 +1,84 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Provides a system to clean up cached instances returned from the component system. +NS_SWIFT_NAME(ComponentLifecycleMaintainer) +@protocol FIRComponentLifecycleMaintainer +/// The associated app will be deleted, clean up any resources as they are about to be deallocated. +- (void)appWillBeDeleted:(FIRApp *)app; +@end + +typedef _Nullable id (^FIRComponentCreationBlock)(FIRComponentContainer *container, + BOOL *isCacheable) + NS_SWIFT_NAME(ComponentCreationBlock); + +/// Describes the timing of instantiation. Note: new components should default to lazy unless there +/// is a strong reason to be eager. +typedef NS_ENUM(NSInteger, FIRInstantiationTiming) { + FIRInstantiationTimingLazy, + FIRInstantiationTimingAlwaysEager, + FIRInstantiationTimingEagerInDefaultApp +} NS_SWIFT_NAME(InstantiationTiming); + +/// A component that can be used from other Firebase SDKs. +NS_SWIFT_NAME(Component) +@interface FIRComponent : NSObject + +/// The protocol describing functionality provided from the `Component`. +@property(nonatomic, strong, readonly) Protocol *protocol; + +/// The timing of instantiation. +@property(nonatomic, readonly) FIRInstantiationTiming instantiationTiming; + +/// A block to instantiate an instance of the component with the appropriate dependencies. +@property(nonatomic, copy, readonly) FIRComponentCreationBlock creationBlock; + +// There's an issue with long NS_SWIFT_NAMES that causes compilation to fail, disable clang-format +// for the next two methods. +// clang-format off + +/// Creates a component with no dependencies that will be lazily initialized. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:creationBlock:)); + +/// Creates a component to be registered with the component container. +/// +/// @param protocol - The protocol describing functionality provided by the component. +/// @param instantiationTiming - When the component should be initialized. Use .lazy unless there's +/// a good reason to be instantiated earlier. +/// @param creationBlock - A block to instantiate the component with a container, and if +/// @return A component that can be registered with the component container. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + instantiationTiming:(FIRInstantiationTiming)instantiationTiming + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:instantiationTiming:creationBlock:)); + +// clang-format on + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h new file mode 100644 index 00000000000..6ec61470aa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h @@ -0,0 +1,45 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A type-safe macro to retrieve a component from a container. This should be used to retrieve +/// components instead of using the container directly. +#define FIR_COMPONENT(type, container) \ + [FIRComponentType> instanceForProtocol:@protocol(type) inContainer:container] + +@class FIRApp; + +/// A container that holds different components that are registered via the +/// `registerAsComponentRegistrant` call. These classes should conform to `ComponentRegistrant` +/// in order to properly register components for Core. +NS_SWIFT_NAME(FirebaseComponentContainer) +@interface FIRComponentContainer : NSObject + +/// A weak reference to the app that an instance of the container belongs to. +@property(nonatomic, weak, readonly) FIRApp *app; + +// TODO: See if we can get improved type safety here. +/// A Swift only API for fetching an instance since the top macro isn't available. +- (nullable id)__instanceForProtocol:(Protocol *)protocol NS_SWIFT_NAME(instance(for:)); + +/// Unavailable. Use the `container` property on `FirebaseApp`. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentType.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentType.h new file mode 100644 index 00000000000..c69085d1983 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentType.h @@ -0,0 +1,35 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Do not use directly. A placeholder type in order to provide a macro that will warn users of +/// mis-matched protocols. +NS_SWIFT_NAME(ComponentType) +@interface FIRComponentType<__covariant T> : NSObject + +/// Do not use directly. A factory method to retrieve an instance that provides a specific +/// functionality. ++ (nullable T)instanceForProtocol:(Protocol *)protocol + inContainer:(FIRComponentContainer *)container; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h new file mode 100644 index 00000000000..6314f504f13 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h @@ -0,0 +1,90 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +#ifndef FIREBASE_BUILD_CMAKE +@class FIRHeartbeatsPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Enum representing different daily heartbeat codes. +/// This enum is only used by clients using platform logging V1. This is because +/// the V1 payload only supports a single daily heartbeat. +typedef NS_ENUM(NSInteger, FIRDailyHeartbeatCode) { + /// Represents the absence of a daily heartbeat. + FIRDailyHeartbeatCodeNone = 0, + /// Represents the presence of a daily heartbeat. + FIRDailyHeartbeatCodeSome = 2, +}; + +@protocol FIRHeartbeatLoggerProtocol + +/// Asynchronously logs a heartbeat. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Return the headerValue for the HeartbeatLogger. +- (NSString *_Nullable)headerValue; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets the heartbeat code for today. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +#ifndef FIREBASE_BUILD_CMAKE +/// Returns a nullable string header value from a given heartbeats payload. +/// +/// This API returns `nil` when the given heartbeats payload is considered empty. +/// +/// @param heartbeatsPayload The heartbeats payload. +NSString *_Nullable FIRHeaderValueFromHeartbeatsPayload(FIRHeartbeatsPayload *heartbeatsPayload); +#endif // FIREBASE_BUILD_CMAKE + +/// A thread safe, synchronized object that logs and flushes platform logging info. +@interface FIRHeartbeatLogger : NSObject + +/// Designated initializer. +/// +/// @param appID The app ID that this heartbeat logger corresponds to. +- (instancetype)initWithAppID:(NSString *)appID; + +/// Asynchronously logs a new heartbeat corresponding to the Firebase User Agent, if needed. +/// +/// @note This API is thread-safe. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Flushes heartbeats from storage into a structured payload of heartbeats. +/// +/// This API is for clients using platform logging V2. +/// +/// @note This API is thread-safe. +/// @return A payload of heartbeats. +- (FIRHeartbeatsPayload *)flushHeartbeatsIntoPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets today's corresponding heartbeat code. +/// +/// This API is for clients using platform logging V1. +/// +/// @note This API is thread-safe. +/// @return Heartbeat code indicating whether or not there is an unsent global heartbeat. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLibrary.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLibrary.h new file mode 100644 index 00000000000..17664ac619f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLibrary.h @@ -0,0 +1,39 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRLibrary_h +#define FIRLibrary_h + +#import + +@class FIRApp; +@class FIRComponent; + +NS_ASSUME_NONNULL_BEGIN + +/// Provide an interface to register a library for userAgent logging and availability to others. +NS_SWIFT_NAME(Library) +@protocol FIRLibrary + +/// Returns one or more Components that will be registered in +/// FirebaseApp and participate in dependency resolution and injection. ++ (NSArray *)componentsToRegister; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRLibrary_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLogger.h new file mode 100644 index 00000000000..52ed75d7d6e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLogger.h @@ -0,0 +1,148 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * The Firebase services used in Firebase logger. + */ +typedef NSString *const FIRLoggerService; + +extern NSString *const kFIRLoggerAnalytics; +extern NSString *const kFIRLoggerCrash; +extern NSString *const kFIRLoggerCore; +extern NSString *const kFIRLoggerRemoteConfig; + +/** + * The key used to store the logger's error count. + */ +extern NSString *const kFIRLoggerErrorCountKey; + +/** + * The key used to store the logger's warning count. + */ +extern NSString *const kFIRLoggerWarningCountKey; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/** + * Enables or disables Analytics debug mode. + * If set to true, the logging level for Analytics will be set to FirebaseLoggerLevelDebug. + * Enabling the debug mode has no effect if the app is running from App Store. + * (required) analytics debug mode flag. + */ +void FIRSetAnalyticsDebugMode(BOOL analyticsDebugMode); + +/** + * Gets the current FIRLoggerLevel. + */ +FIRLoggerLevel FIRGetLoggerLevel(void); + +/** + * Changes the default logging level of FirebaseLoggerLevelNotice to a user-specified level. + * The default level cannot be set above FirebaseLoggerLevelNotice if the app is running from App + * Store. (required) log level (one of the FirebaseLoggerLevel enum values). + */ +void FIRSetLoggerLevel(FIRLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) whether or not this function is called from the Analytics component. + */ +BOOL FIRIsLoggableLevel(FIRLoggerLevel loggerLevel, BOOL analyticsComponent); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than FirebaseLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) service name of type FirebaseLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void FIRLogBasic(FIRLoggerLevel level, + NSString *category, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type FirebaseLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * FirebaseLogError(kFirebaseLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void FIRLogError(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogWarning(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogNotice(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogInfo(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogDebug(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +NS_SWIFT_NAME(FirebaseLogger) +@interface FIRLoggerWrapper : NSObject + +/// Logs a given message at a given log level. +/// +/// - Parameters: +/// - level: The log level to use (defined by `FirebaseLoggerLevel` enum values). +/// - service: The service name of type `FirebaseLoggerService`. +/// - code: The message code. Starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: Formatted string to be used as the log's message. ++ (void)logWithLevel:(FIRLoggerLevel)level + service:(NSString *)category + code:(NSString *)code + message:(NSString *)message + __attribute__((__swift_name__("log(level:service:code:message:)"))); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h new file mode 100644 index 00000000000..93a03d6894c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h @@ -0,0 +1,106 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/** + * Keys for the strings in the plist file. + */ +extern NSString *const kFIRAPIKey; +extern NSString *const kFIRTrackingID; +extern NSString *const kFIRGoogleAppID; +extern NSString *const kFIRClientID; +extern NSString *const kFIRGCMSenderID; +extern NSString *const kFIRAndroidClientID; +extern NSString *const kFIRDatabaseURL; +extern NSString *const kFIRStorageBucket; +extern NSString *const kFIRBundleID; +extern NSString *const kFIRProjectID; + +/** + * Keys for the plist file name + */ +extern NSString *const kServiceInfoFileName; + +extern NSString *const kServiceInfoFileType; + +/** + * This header file exposes the initialization of FirebaseOptions to internal use. + */ +@interface FIROptions () + +/** + * `resetDefaultOptions` and `initInternalWithOptionsDictionary` are exposed only for unit tests. + */ ++ (void)resetDefaultOptions; + +/** + * Initializes the options with dictionary. The above strings are the keys of the dictionary. + * This is the designated initializer. + */ +- (instancetype)initInternalWithOptionsDictionary:(NSDictionary *)serviceInfoDictionary + NS_DESIGNATED_INITIALIZER; + +/** + * `defaultOptions` and `defaultOptionsDictionary` are exposed in order to be used in FirebaseApp + * and other first party services. + */ ++ (FIROptions *)defaultOptions; + ++ (NSDictionary *)defaultOptionsDictionary; + +/** + * Indicates whether or not Analytics collection was explicitly enabled via a plist flag or at + * runtime. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionExplicitlySet; + +/** + * Whether or not Analytics Collection was enabled. Analytics Collection is enabled unless + * explicitly disabled in GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionEnabled; + +/** + * Whether or not Analytics Collection was completely disabled. If true, then + * isAnalyticsCollectionEnabled will be false. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionDeactivated; + +/** + * The version ID of the client library, e.g. @"1100000". + */ +@property(nonatomic, readonly, copy) NSString *libraryVersionID; + +/** + * The flag indicating whether this object was constructed with the values in the default plist + * file. + */ +@property(nonatomic) BOOL usingOptionsFromDefaultPlist; + +/** + * Whether or not Measurement was enabled. Measurement is enabled unless explicitly disabled in + * GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isMeasurementEnabled; + +/** + * Whether or not editing is locked. This should occur after `FirebaseOptions` has been set on a + * `FirebaseApp`. + */ +@property(nonatomic, getter=isEditingLocked) BOOL editingLocked; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h new file mode 100644 index 00000000000..3365681d74d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h @@ -0,0 +1,25 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FirebaseCoreInternal.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" + +FOUNDATION_EXPORT double FirebaseCoreExtensionVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreExtensionVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h new file mode 100644 index 00000000000..0cb388be4fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h @@ -0,0 +1,24 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +@import FirebaseCore; + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Info.plist new file mode 100644 index 00000000000..1a0abbc5bf7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreExtension + CFBundleIdentifier + org.cocoapods.FirebaseCoreExtension + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreExtension + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Modules/module.modulemap new file mode 100644 index 00000000000..934487e1faf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCoreExtension { +umbrella header "FirebaseCoreExtension-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/FirebaseCoreExtension b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/FirebaseCoreExtension new file mode 120000 index 00000000000..305b2afe95c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/FirebaseCoreExtension @@ -0,0 +1 @@ +Versions/Current/FirebaseCoreExtension \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/FirebaseCoreExtension b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/FirebaseCoreExtension new file mode 100644 index 00000000000..de6e4fc7623 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/FirebaseCoreExtension differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRAppInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRAppInternal.h new file mode 100644 index 00000000000..b0b15117227 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRAppInternal.h @@ -0,0 +1,156 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; +@class FIRHeartbeatLogger; +@protocol FIRLibrary; + +/** + * The internal interface to `FirebaseApp`. This is meant for first-party integrators, who need to + * receive `FirebaseApp` notifications, log info about the success or failure of their + * configuration, and access other internal functionality of `FirebaseApp`. + */ +NS_ASSUME_NONNULL_BEGIN + +typedef NS_ENUM(NSInteger, FIRConfigType) { + FIRConfigTypeCore = 1, + FIRConfigTypeSDK = 2, +}; + +extern NSString *const kFIRDefaultAppName; +extern NSString *const kFIRAppReadyToConfigureSDKNotification; +extern NSString *const kFIRAppDeleteNotification; +extern NSString *const kFIRAppIsDefaultAppKey; +extern NSString *const kFIRAppNameKey; +extern NSString *const kFIRGoogleAppIDKey; +extern NSString *const kFirebaseCoreErrorDomain; + +/** + * The format string for the `UserDefaults` key used for storing the data collection enabled flag. + * This includes formatting to append the `FirebaseApp`'s name. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledDefaultsKeyFormat; + +/** + * The plist key used for storing the data collection enabled flag. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledPlistKey; + +/** @var FirebaseAuthStateDidChangeInternalNotification + @brief The name of the @c NotificationCenter notification which is posted when the auth state + changes (e.g. a new token has been produced, a user logs in or out). The object parameter of + the notification is a dictionary possibly containing the key: + @c FirebaseAuthStateDidChangeInternalNotificationTokenKey (the new access token.) If it does not + contain this key it indicates a sign-out event took place. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotification; + +/** @var FirebaseAuthStateDidChangeInternalNotificationTokenKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new access token. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationTokenKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationAppKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the FirebaseApp associated with the auth instance. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationAppKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationUIDKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new user's UID (or nil if there is no longer a user signed in). + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationUIDKey; + +@interface FIRApp () + +/** + * A flag indicating if this is the default app (has the default app name). + */ +@property(nonatomic, readonly) BOOL isDefaultApp; + +/** + * The container of interop SDKs for this app. + */ +@property(nonatomic) FIRComponentContainer *container; + +/** + * The heartbeat logger associated with this app. + * + * Firebase apps have a 1:1 relationship with heartbeat loggers. + */ +@property(readonly) FIRHeartbeatLogger *heartbeatLogger; + +/** + * Checks if the default app is configured without trying to configure it. + */ ++ (BOOL)isDefaultAppConfigured; + +/** + * Registers a given third-party library with the given version number to be reported for + * analytics. + * + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerLibrary:(nonnull NSString *)name withVersion:(nonnull NSString *)version; + +/** + * Registers a given internal library to be reported for analytics. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name; + +/** + * Registers a given internal library with the given version number to be reported for + * analytics. This should only be used for non-Firebase libraries that have their own versioning + * scheme. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name + withVersion:(nonnull NSString *)version; + +/** + * A concatenated string representing all the third-party libraries and version numbers. + */ ++ (NSString *)firebaseUserAgent; + +/** + * Can be used by the unit tests in each SDK to reset `FirebaseApp`. This method is thread unsafe. + */ ++ (void)resetApps; + +/** + * Can be used by the unit tests in each SDK to set customized options. + */ +- (instancetype)initInstanceWithName:(NSString *)name options:(FIROptions *)options; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponent.h new file mode 100644 index 00000000000..c58a8517d9b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponent.h @@ -0,0 +1,84 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Provides a system to clean up cached instances returned from the component system. +NS_SWIFT_NAME(ComponentLifecycleMaintainer) +@protocol FIRComponentLifecycleMaintainer +/// The associated app will be deleted, clean up any resources as they are about to be deallocated. +- (void)appWillBeDeleted:(FIRApp *)app; +@end + +typedef _Nullable id (^FIRComponentCreationBlock)(FIRComponentContainer *container, + BOOL *isCacheable) + NS_SWIFT_NAME(ComponentCreationBlock); + +/// Describes the timing of instantiation. Note: new components should default to lazy unless there +/// is a strong reason to be eager. +typedef NS_ENUM(NSInteger, FIRInstantiationTiming) { + FIRInstantiationTimingLazy, + FIRInstantiationTimingAlwaysEager, + FIRInstantiationTimingEagerInDefaultApp +} NS_SWIFT_NAME(InstantiationTiming); + +/// A component that can be used from other Firebase SDKs. +NS_SWIFT_NAME(Component) +@interface FIRComponent : NSObject + +/// The protocol describing functionality provided from the `Component`. +@property(nonatomic, strong, readonly) Protocol *protocol; + +/// The timing of instantiation. +@property(nonatomic, readonly) FIRInstantiationTiming instantiationTiming; + +/// A block to instantiate an instance of the component with the appropriate dependencies. +@property(nonatomic, copy, readonly) FIRComponentCreationBlock creationBlock; + +// There's an issue with long NS_SWIFT_NAMES that causes compilation to fail, disable clang-format +// for the next two methods. +// clang-format off + +/// Creates a component with no dependencies that will be lazily initialized. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:creationBlock:)); + +/// Creates a component to be registered with the component container. +/// +/// @param protocol - The protocol describing functionality provided by the component. +/// @param instantiationTiming - When the component should be initialized. Use .lazy unless there's +/// a good reason to be instantiated earlier. +/// @param creationBlock - A block to instantiate the component with a container, and if +/// @return A component that can be registered with the component container. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + instantiationTiming:(FIRInstantiationTiming)instantiationTiming + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:instantiationTiming:creationBlock:)); + +// clang-format on + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponentContainer.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponentContainer.h new file mode 100644 index 00000000000..6ec61470aa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponentContainer.h @@ -0,0 +1,45 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A type-safe macro to retrieve a component from a container. This should be used to retrieve +/// components instead of using the container directly. +#define FIR_COMPONENT(type, container) \ + [FIRComponentType> instanceForProtocol:@protocol(type) inContainer:container] + +@class FIRApp; + +/// A container that holds different components that are registered via the +/// `registerAsComponentRegistrant` call. These classes should conform to `ComponentRegistrant` +/// in order to properly register components for Core. +NS_SWIFT_NAME(FirebaseComponentContainer) +@interface FIRComponentContainer : NSObject + +/// A weak reference to the app that an instance of the container belongs to. +@property(nonatomic, weak, readonly) FIRApp *app; + +// TODO: See if we can get improved type safety here. +/// A Swift only API for fetching an instance since the top macro isn't available. +- (nullable id)__instanceForProtocol:(Protocol *)protocol NS_SWIFT_NAME(instance(for:)); + +/// Unavailable. Use the `container` property on `FirebaseApp`. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponentType.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponentType.h new file mode 100644 index 00000000000..c69085d1983 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRComponentType.h @@ -0,0 +1,35 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Do not use directly. A placeholder type in order to provide a macro that will warn users of +/// mis-matched protocols. +NS_SWIFT_NAME(ComponentType) +@interface FIRComponentType<__covariant T> : NSObject + +/// Do not use directly. A factory method to retrieve an instance that provides a specific +/// functionality. ++ (nullable T)instanceForProtocol:(Protocol *)protocol + inContainer:(FIRComponentContainer *)container; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRHeartbeatLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRHeartbeatLogger.h new file mode 100644 index 00000000000..6314f504f13 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRHeartbeatLogger.h @@ -0,0 +1,90 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +#ifndef FIREBASE_BUILD_CMAKE +@class FIRHeartbeatsPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Enum representing different daily heartbeat codes. +/// This enum is only used by clients using platform logging V1. This is because +/// the V1 payload only supports a single daily heartbeat. +typedef NS_ENUM(NSInteger, FIRDailyHeartbeatCode) { + /// Represents the absence of a daily heartbeat. + FIRDailyHeartbeatCodeNone = 0, + /// Represents the presence of a daily heartbeat. + FIRDailyHeartbeatCodeSome = 2, +}; + +@protocol FIRHeartbeatLoggerProtocol + +/// Asynchronously logs a heartbeat. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Return the headerValue for the HeartbeatLogger. +- (NSString *_Nullable)headerValue; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets the heartbeat code for today. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +#ifndef FIREBASE_BUILD_CMAKE +/// Returns a nullable string header value from a given heartbeats payload. +/// +/// This API returns `nil` when the given heartbeats payload is considered empty. +/// +/// @param heartbeatsPayload The heartbeats payload. +NSString *_Nullable FIRHeaderValueFromHeartbeatsPayload(FIRHeartbeatsPayload *heartbeatsPayload); +#endif // FIREBASE_BUILD_CMAKE + +/// A thread safe, synchronized object that logs and flushes platform logging info. +@interface FIRHeartbeatLogger : NSObject + +/// Designated initializer. +/// +/// @param appID The app ID that this heartbeat logger corresponds to. +- (instancetype)initWithAppID:(NSString *)appID; + +/// Asynchronously logs a new heartbeat corresponding to the Firebase User Agent, if needed. +/// +/// @note This API is thread-safe. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Flushes heartbeats from storage into a structured payload of heartbeats. +/// +/// This API is for clients using platform logging V2. +/// +/// @note This API is thread-safe. +/// @return A payload of heartbeats. +- (FIRHeartbeatsPayload *)flushHeartbeatsIntoPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets today's corresponding heartbeat code. +/// +/// This API is for clients using platform logging V1. +/// +/// @note This API is thread-safe. +/// @return Heartbeat code indicating whether or not there is an unsent global heartbeat. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRLibrary.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRLibrary.h new file mode 100644 index 00000000000..17664ac619f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRLibrary.h @@ -0,0 +1,39 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRLibrary_h +#define FIRLibrary_h + +#import + +@class FIRApp; +@class FIRComponent; + +NS_ASSUME_NONNULL_BEGIN + +/// Provide an interface to register a library for userAgent logging and availability to others. +NS_SWIFT_NAME(Library) +@protocol FIRLibrary + +/// Returns one or more Components that will be registered in +/// FirebaseApp and participate in dependency resolution and injection. ++ (NSArray *)componentsToRegister; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRLibrary_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRLogger.h new file mode 100644 index 00000000000..52ed75d7d6e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIRLogger.h @@ -0,0 +1,148 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * The Firebase services used in Firebase logger. + */ +typedef NSString *const FIRLoggerService; + +extern NSString *const kFIRLoggerAnalytics; +extern NSString *const kFIRLoggerCrash; +extern NSString *const kFIRLoggerCore; +extern NSString *const kFIRLoggerRemoteConfig; + +/** + * The key used to store the logger's error count. + */ +extern NSString *const kFIRLoggerErrorCountKey; + +/** + * The key used to store the logger's warning count. + */ +extern NSString *const kFIRLoggerWarningCountKey; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/** + * Enables or disables Analytics debug mode. + * If set to true, the logging level for Analytics will be set to FirebaseLoggerLevelDebug. + * Enabling the debug mode has no effect if the app is running from App Store. + * (required) analytics debug mode flag. + */ +void FIRSetAnalyticsDebugMode(BOOL analyticsDebugMode); + +/** + * Gets the current FIRLoggerLevel. + */ +FIRLoggerLevel FIRGetLoggerLevel(void); + +/** + * Changes the default logging level of FirebaseLoggerLevelNotice to a user-specified level. + * The default level cannot be set above FirebaseLoggerLevelNotice if the app is running from App + * Store. (required) log level (one of the FirebaseLoggerLevel enum values). + */ +void FIRSetLoggerLevel(FIRLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) whether or not this function is called from the Analytics component. + */ +BOOL FIRIsLoggableLevel(FIRLoggerLevel loggerLevel, BOOL analyticsComponent); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than FirebaseLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) service name of type FirebaseLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void FIRLogBasic(FIRLoggerLevel level, + NSString *category, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type FirebaseLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * FirebaseLogError(kFirebaseLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void FIRLogError(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogWarning(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogNotice(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogInfo(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogDebug(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +NS_SWIFT_NAME(FirebaseLogger) +@interface FIRLoggerWrapper : NSObject + +/// Logs a given message at a given log level. +/// +/// - Parameters: +/// - level: The log level to use (defined by `FirebaseLoggerLevel` enum values). +/// - service: The service name of type `FirebaseLoggerService`. +/// - code: The message code. Starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: Formatted string to be used as the log's message. ++ (void)logWithLevel:(FIRLoggerLevel)level + service:(NSString *)category + code:(NSString *)code + message:(NSString *)message + __attribute__((__swift_name__("log(level:service:code:message:)"))); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIROptionsInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIROptionsInternal.h new file mode 100644 index 00000000000..93a03d6894c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FIROptionsInternal.h @@ -0,0 +1,106 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/** + * Keys for the strings in the plist file. + */ +extern NSString *const kFIRAPIKey; +extern NSString *const kFIRTrackingID; +extern NSString *const kFIRGoogleAppID; +extern NSString *const kFIRClientID; +extern NSString *const kFIRGCMSenderID; +extern NSString *const kFIRAndroidClientID; +extern NSString *const kFIRDatabaseURL; +extern NSString *const kFIRStorageBucket; +extern NSString *const kFIRBundleID; +extern NSString *const kFIRProjectID; + +/** + * Keys for the plist file name + */ +extern NSString *const kServiceInfoFileName; + +extern NSString *const kServiceInfoFileType; + +/** + * This header file exposes the initialization of FirebaseOptions to internal use. + */ +@interface FIROptions () + +/** + * `resetDefaultOptions` and `initInternalWithOptionsDictionary` are exposed only for unit tests. + */ ++ (void)resetDefaultOptions; + +/** + * Initializes the options with dictionary. The above strings are the keys of the dictionary. + * This is the designated initializer. + */ +- (instancetype)initInternalWithOptionsDictionary:(NSDictionary *)serviceInfoDictionary + NS_DESIGNATED_INITIALIZER; + +/** + * `defaultOptions` and `defaultOptionsDictionary` are exposed in order to be used in FirebaseApp + * and other first party services. + */ ++ (FIROptions *)defaultOptions; + ++ (NSDictionary *)defaultOptionsDictionary; + +/** + * Indicates whether or not Analytics collection was explicitly enabled via a plist flag or at + * runtime. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionExplicitlySet; + +/** + * Whether or not Analytics Collection was enabled. Analytics Collection is enabled unless + * explicitly disabled in GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionEnabled; + +/** + * Whether or not Analytics Collection was completely disabled. If true, then + * isAnalyticsCollectionEnabled will be false. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionDeactivated; + +/** + * The version ID of the client library, e.g. @"1100000". + */ +@property(nonatomic, readonly, copy) NSString *libraryVersionID; + +/** + * The flag indicating whether this object was constructed with the values in the default plist + * file. + */ +@property(nonatomic) BOOL usingOptionsFromDefaultPlist; + +/** + * Whether or not Measurement was enabled. Measurement is enabled unless explicitly disabled in + * GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isMeasurementEnabled; + +/** + * Whether or not editing is locked. This should occur after `FirebaseOptions` has been set on a + * `FirebaseApp`. + */ +@property(nonatomic, getter=isEditingLocked) BOOL editingLocked; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FirebaseCoreExtension-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FirebaseCoreExtension-umbrella.h new file mode 100644 index 00000000000..32fef6e87f8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FirebaseCoreExtension-umbrella.h @@ -0,0 +1,25 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FirebaseCoreInternal.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" + +FOUNDATION_EXPORT double FirebaseCoreExtensionVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreExtensionVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FirebaseCoreInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FirebaseCoreInternal.h new file mode 100644 index 00000000000..0cb388be4fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Headers/FirebaseCoreInternal.h @@ -0,0 +1,24 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +@import FirebaseCore; + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..f8792f1ad2e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCoreExtension { +umbrella header "FirebaseCoreExtension-umbrella.h" +export * +module * { export * } + link framework "AppKit" + link framework "Foundation" + link framework "Security" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Resources/FirebaseCoreExtension_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Resources/FirebaseCoreExtension_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..59131913e79 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Resources/FirebaseCoreExtension_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,46 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.FirebaseCoreExtension-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreExtension_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Resources/FirebaseCoreExtension_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Resources/FirebaseCoreExtension_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..c89c88f62f5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Resources/FirebaseCoreExtension_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,18 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..9b2d5269d29 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreExtension + CFBundleIdentifier + org.cocoapods.FirebaseCoreExtension + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreExtension + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/macos-arm64_x86_64/FirebaseCoreExtension.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension new file mode 100644 index 00000000000..ea02b5762e2 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..9fa993f2513 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..c89c88f62f5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,18 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h new file mode 100644 index 00000000000..b0b15117227 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h @@ -0,0 +1,156 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; +@class FIRHeartbeatLogger; +@protocol FIRLibrary; + +/** + * The internal interface to `FirebaseApp`. This is meant for first-party integrators, who need to + * receive `FirebaseApp` notifications, log info about the success or failure of their + * configuration, and access other internal functionality of `FirebaseApp`. + */ +NS_ASSUME_NONNULL_BEGIN + +typedef NS_ENUM(NSInteger, FIRConfigType) { + FIRConfigTypeCore = 1, + FIRConfigTypeSDK = 2, +}; + +extern NSString *const kFIRDefaultAppName; +extern NSString *const kFIRAppReadyToConfigureSDKNotification; +extern NSString *const kFIRAppDeleteNotification; +extern NSString *const kFIRAppIsDefaultAppKey; +extern NSString *const kFIRAppNameKey; +extern NSString *const kFIRGoogleAppIDKey; +extern NSString *const kFirebaseCoreErrorDomain; + +/** + * The format string for the `UserDefaults` key used for storing the data collection enabled flag. + * This includes formatting to append the `FirebaseApp`'s name. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledDefaultsKeyFormat; + +/** + * The plist key used for storing the data collection enabled flag. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledPlistKey; + +/** @var FirebaseAuthStateDidChangeInternalNotification + @brief The name of the @c NotificationCenter notification which is posted when the auth state + changes (e.g. a new token has been produced, a user logs in or out). The object parameter of + the notification is a dictionary possibly containing the key: + @c FirebaseAuthStateDidChangeInternalNotificationTokenKey (the new access token.) If it does not + contain this key it indicates a sign-out event took place. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotification; + +/** @var FirebaseAuthStateDidChangeInternalNotificationTokenKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new access token. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationTokenKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationAppKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the FirebaseApp associated with the auth instance. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationAppKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationUIDKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new user's UID (or nil if there is no longer a user signed in). + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationUIDKey; + +@interface FIRApp () + +/** + * A flag indicating if this is the default app (has the default app name). + */ +@property(nonatomic, readonly) BOOL isDefaultApp; + +/** + * The container of interop SDKs for this app. + */ +@property(nonatomic) FIRComponentContainer *container; + +/** + * The heartbeat logger associated with this app. + * + * Firebase apps have a 1:1 relationship with heartbeat loggers. + */ +@property(readonly) FIRHeartbeatLogger *heartbeatLogger; + +/** + * Checks if the default app is configured without trying to configure it. + */ ++ (BOOL)isDefaultAppConfigured; + +/** + * Registers a given third-party library with the given version number to be reported for + * analytics. + * + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerLibrary:(nonnull NSString *)name withVersion:(nonnull NSString *)version; + +/** + * Registers a given internal library to be reported for analytics. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name; + +/** + * Registers a given internal library with the given version number to be reported for + * analytics. This should only be used for non-Firebase libraries that have their own versioning + * scheme. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name + withVersion:(nonnull NSString *)version; + +/** + * A concatenated string representing all the third-party libraries and version numbers. + */ ++ (NSString *)firebaseUserAgent; + +/** + * Can be used by the unit tests in each SDK to reset `FirebaseApp`. This method is thread unsafe. + */ ++ (void)resetApps; + +/** + * Can be used by the unit tests in each SDK to set customized options. + */ +- (instancetype)initInstanceWithName:(NSString *)name options:(FIROptions *)options; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRComponent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRComponent.h new file mode 100644 index 00000000000..c58a8517d9b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRComponent.h @@ -0,0 +1,84 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Provides a system to clean up cached instances returned from the component system. +NS_SWIFT_NAME(ComponentLifecycleMaintainer) +@protocol FIRComponentLifecycleMaintainer +/// The associated app will be deleted, clean up any resources as they are about to be deallocated. +- (void)appWillBeDeleted:(FIRApp *)app; +@end + +typedef _Nullable id (^FIRComponentCreationBlock)(FIRComponentContainer *container, + BOOL *isCacheable) + NS_SWIFT_NAME(ComponentCreationBlock); + +/// Describes the timing of instantiation. Note: new components should default to lazy unless there +/// is a strong reason to be eager. +typedef NS_ENUM(NSInteger, FIRInstantiationTiming) { + FIRInstantiationTimingLazy, + FIRInstantiationTimingAlwaysEager, + FIRInstantiationTimingEagerInDefaultApp +} NS_SWIFT_NAME(InstantiationTiming); + +/// A component that can be used from other Firebase SDKs. +NS_SWIFT_NAME(Component) +@interface FIRComponent : NSObject + +/// The protocol describing functionality provided from the `Component`. +@property(nonatomic, strong, readonly) Protocol *protocol; + +/// The timing of instantiation. +@property(nonatomic, readonly) FIRInstantiationTiming instantiationTiming; + +/// A block to instantiate an instance of the component with the appropriate dependencies. +@property(nonatomic, copy, readonly) FIRComponentCreationBlock creationBlock; + +// There's an issue with long NS_SWIFT_NAMES that causes compilation to fail, disable clang-format +// for the next two methods. +// clang-format off + +/// Creates a component with no dependencies that will be lazily initialized. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:creationBlock:)); + +/// Creates a component to be registered with the component container. +/// +/// @param protocol - The protocol describing functionality provided by the component. +/// @param instantiationTiming - When the component should be initialized. Use .lazy unless there's +/// a good reason to be instantiated earlier. +/// @param creationBlock - A block to instantiate the component with a container, and if +/// @return A component that can be registered with the component container. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + instantiationTiming:(FIRInstantiationTiming)instantiationTiming + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:instantiationTiming:creationBlock:)); + +// clang-format on + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h new file mode 100644 index 00000000000..6ec61470aa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h @@ -0,0 +1,45 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A type-safe macro to retrieve a component from a container. This should be used to retrieve +/// components instead of using the container directly. +#define FIR_COMPONENT(type, container) \ + [FIRComponentType> instanceForProtocol:@protocol(type) inContainer:container] + +@class FIRApp; + +/// A container that holds different components that are registered via the +/// `registerAsComponentRegistrant` call. These classes should conform to `ComponentRegistrant` +/// in order to properly register components for Core. +NS_SWIFT_NAME(FirebaseComponentContainer) +@interface FIRComponentContainer : NSObject + +/// A weak reference to the app that an instance of the container belongs to. +@property(nonatomic, weak, readonly) FIRApp *app; + +// TODO: See if we can get improved type safety here. +/// A Swift only API for fetching an instance since the top macro isn't available. +- (nullable id)__instanceForProtocol:(Protocol *)protocol NS_SWIFT_NAME(instance(for:)); + +/// Unavailable. Use the `container` property on `FirebaseApp`. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRComponentType.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRComponentType.h new file mode 100644 index 00000000000..c69085d1983 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRComponentType.h @@ -0,0 +1,35 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Do not use directly. A placeholder type in order to provide a macro that will warn users of +/// mis-matched protocols. +NS_SWIFT_NAME(ComponentType) +@interface FIRComponentType<__covariant T> : NSObject + +/// Do not use directly. A factory method to retrieve an instance that provides a specific +/// functionality. ++ (nullable T)instanceForProtocol:(Protocol *)protocol + inContainer:(FIRComponentContainer *)container; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h new file mode 100644 index 00000000000..6314f504f13 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h @@ -0,0 +1,90 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +#ifndef FIREBASE_BUILD_CMAKE +@class FIRHeartbeatsPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Enum representing different daily heartbeat codes. +/// This enum is only used by clients using platform logging V1. This is because +/// the V1 payload only supports a single daily heartbeat. +typedef NS_ENUM(NSInteger, FIRDailyHeartbeatCode) { + /// Represents the absence of a daily heartbeat. + FIRDailyHeartbeatCodeNone = 0, + /// Represents the presence of a daily heartbeat. + FIRDailyHeartbeatCodeSome = 2, +}; + +@protocol FIRHeartbeatLoggerProtocol + +/// Asynchronously logs a heartbeat. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Return the headerValue for the HeartbeatLogger. +- (NSString *_Nullable)headerValue; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets the heartbeat code for today. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +#ifndef FIREBASE_BUILD_CMAKE +/// Returns a nullable string header value from a given heartbeats payload. +/// +/// This API returns `nil` when the given heartbeats payload is considered empty. +/// +/// @param heartbeatsPayload The heartbeats payload. +NSString *_Nullable FIRHeaderValueFromHeartbeatsPayload(FIRHeartbeatsPayload *heartbeatsPayload); +#endif // FIREBASE_BUILD_CMAKE + +/// A thread safe, synchronized object that logs and flushes platform logging info. +@interface FIRHeartbeatLogger : NSObject + +/// Designated initializer. +/// +/// @param appID The app ID that this heartbeat logger corresponds to. +- (instancetype)initWithAppID:(NSString *)appID; + +/// Asynchronously logs a new heartbeat corresponding to the Firebase User Agent, if needed. +/// +/// @note This API is thread-safe. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Flushes heartbeats from storage into a structured payload of heartbeats. +/// +/// This API is for clients using platform logging V2. +/// +/// @note This API is thread-safe. +/// @return A payload of heartbeats. +- (FIRHeartbeatsPayload *)flushHeartbeatsIntoPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets today's corresponding heartbeat code. +/// +/// This API is for clients using platform logging V1. +/// +/// @note This API is thread-safe. +/// @return Heartbeat code indicating whether or not there is an unsent global heartbeat. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRLibrary.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRLibrary.h new file mode 100644 index 00000000000..17664ac619f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRLibrary.h @@ -0,0 +1,39 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRLibrary_h +#define FIRLibrary_h + +#import + +@class FIRApp; +@class FIRComponent; + +NS_ASSUME_NONNULL_BEGIN + +/// Provide an interface to register a library for userAgent logging and availability to others. +NS_SWIFT_NAME(Library) +@protocol FIRLibrary + +/// Returns one or more Components that will be registered in +/// FirebaseApp and participate in dependency resolution and injection. ++ (NSArray *)componentsToRegister; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRLibrary_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRLogger.h new file mode 100644 index 00000000000..52ed75d7d6e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIRLogger.h @@ -0,0 +1,148 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * The Firebase services used in Firebase logger. + */ +typedef NSString *const FIRLoggerService; + +extern NSString *const kFIRLoggerAnalytics; +extern NSString *const kFIRLoggerCrash; +extern NSString *const kFIRLoggerCore; +extern NSString *const kFIRLoggerRemoteConfig; + +/** + * The key used to store the logger's error count. + */ +extern NSString *const kFIRLoggerErrorCountKey; + +/** + * The key used to store the logger's warning count. + */ +extern NSString *const kFIRLoggerWarningCountKey; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/** + * Enables or disables Analytics debug mode. + * If set to true, the logging level for Analytics will be set to FirebaseLoggerLevelDebug. + * Enabling the debug mode has no effect if the app is running from App Store. + * (required) analytics debug mode flag. + */ +void FIRSetAnalyticsDebugMode(BOOL analyticsDebugMode); + +/** + * Gets the current FIRLoggerLevel. + */ +FIRLoggerLevel FIRGetLoggerLevel(void); + +/** + * Changes the default logging level of FirebaseLoggerLevelNotice to a user-specified level. + * The default level cannot be set above FirebaseLoggerLevelNotice if the app is running from App + * Store. (required) log level (one of the FirebaseLoggerLevel enum values). + */ +void FIRSetLoggerLevel(FIRLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) whether or not this function is called from the Analytics component. + */ +BOOL FIRIsLoggableLevel(FIRLoggerLevel loggerLevel, BOOL analyticsComponent); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than FirebaseLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) service name of type FirebaseLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void FIRLogBasic(FIRLoggerLevel level, + NSString *category, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type FirebaseLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * FirebaseLogError(kFirebaseLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void FIRLogError(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogWarning(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogNotice(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogInfo(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogDebug(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +NS_SWIFT_NAME(FirebaseLogger) +@interface FIRLoggerWrapper : NSObject + +/// Logs a given message at a given log level. +/// +/// - Parameters: +/// - level: The log level to use (defined by `FirebaseLoggerLevel` enum values). +/// - service: The service name of type `FirebaseLoggerService`. +/// - code: The message code. Starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: Formatted string to be used as the log's message. ++ (void)logWithLevel:(FIRLoggerLevel)level + service:(NSString *)category + code:(NSString *)code + message:(NSString *)message + __attribute__((__swift_name__("log(level:service:code:message:)"))); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h new file mode 100644 index 00000000000..93a03d6894c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h @@ -0,0 +1,106 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/** + * Keys for the strings in the plist file. + */ +extern NSString *const kFIRAPIKey; +extern NSString *const kFIRTrackingID; +extern NSString *const kFIRGoogleAppID; +extern NSString *const kFIRClientID; +extern NSString *const kFIRGCMSenderID; +extern NSString *const kFIRAndroidClientID; +extern NSString *const kFIRDatabaseURL; +extern NSString *const kFIRStorageBucket; +extern NSString *const kFIRBundleID; +extern NSString *const kFIRProjectID; + +/** + * Keys for the plist file name + */ +extern NSString *const kServiceInfoFileName; + +extern NSString *const kServiceInfoFileType; + +/** + * This header file exposes the initialization of FirebaseOptions to internal use. + */ +@interface FIROptions () + +/** + * `resetDefaultOptions` and `initInternalWithOptionsDictionary` are exposed only for unit tests. + */ ++ (void)resetDefaultOptions; + +/** + * Initializes the options with dictionary. The above strings are the keys of the dictionary. + * This is the designated initializer. + */ +- (instancetype)initInternalWithOptionsDictionary:(NSDictionary *)serviceInfoDictionary + NS_DESIGNATED_INITIALIZER; + +/** + * `defaultOptions` and `defaultOptionsDictionary` are exposed in order to be used in FirebaseApp + * and other first party services. + */ ++ (FIROptions *)defaultOptions; + ++ (NSDictionary *)defaultOptionsDictionary; + +/** + * Indicates whether or not Analytics collection was explicitly enabled via a plist flag or at + * runtime. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionExplicitlySet; + +/** + * Whether or not Analytics Collection was enabled. Analytics Collection is enabled unless + * explicitly disabled in GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionEnabled; + +/** + * Whether or not Analytics Collection was completely disabled. If true, then + * isAnalyticsCollectionEnabled will be false. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionDeactivated; + +/** + * The version ID of the client library, e.g. @"1100000". + */ +@property(nonatomic, readonly, copy) NSString *libraryVersionID; + +/** + * The flag indicating whether this object was constructed with the values in the default plist + * file. + */ +@property(nonatomic) BOOL usingOptionsFromDefaultPlist; + +/** + * Whether or not Measurement was enabled. Measurement is enabled unless explicitly disabled in + * GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isMeasurementEnabled; + +/** + * Whether or not editing is locked. This should occur after `FirebaseOptions` has been set on a + * `FirebaseApp`. + */ +@property(nonatomic, getter=isEditingLocked) BOOL editingLocked; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h new file mode 100644 index 00000000000..3365681d74d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h @@ -0,0 +1,25 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FirebaseCoreInternal.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" + +FOUNDATION_EXPORT double FirebaseCoreExtensionVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreExtensionVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h new file mode 100644 index 00000000000..0cb388be4fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h @@ -0,0 +1,24 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +@import FirebaseCore; + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Info.plist new file mode 100644 index 00000000000..58aadf0d874 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreExtension + CFBundleIdentifier + org.cocoapods.FirebaseCoreExtension + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreExtension + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Modules/module.modulemap new file mode 100644 index 00000000000..934487e1faf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64/FirebaseCoreExtension.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCoreExtension { +umbrella header "FirebaseCoreExtension-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension new file mode 100644 index 00000000000..0d37137263a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..e9adba00c58 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..c89c88f62f5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,18 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h new file mode 100644 index 00000000000..b0b15117227 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h @@ -0,0 +1,156 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; +@class FIRHeartbeatLogger; +@protocol FIRLibrary; + +/** + * The internal interface to `FirebaseApp`. This is meant for first-party integrators, who need to + * receive `FirebaseApp` notifications, log info about the success or failure of their + * configuration, and access other internal functionality of `FirebaseApp`. + */ +NS_ASSUME_NONNULL_BEGIN + +typedef NS_ENUM(NSInteger, FIRConfigType) { + FIRConfigTypeCore = 1, + FIRConfigTypeSDK = 2, +}; + +extern NSString *const kFIRDefaultAppName; +extern NSString *const kFIRAppReadyToConfigureSDKNotification; +extern NSString *const kFIRAppDeleteNotification; +extern NSString *const kFIRAppIsDefaultAppKey; +extern NSString *const kFIRAppNameKey; +extern NSString *const kFIRGoogleAppIDKey; +extern NSString *const kFirebaseCoreErrorDomain; + +/** + * The format string for the `UserDefaults` key used for storing the data collection enabled flag. + * This includes formatting to append the `FirebaseApp`'s name. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledDefaultsKeyFormat; + +/** + * The plist key used for storing the data collection enabled flag. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledPlistKey; + +/** @var FirebaseAuthStateDidChangeInternalNotification + @brief The name of the @c NotificationCenter notification which is posted when the auth state + changes (e.g. a new token has been produced, a user logs in or out). The object parameter of + the notification is a dictionary possibly containing the key: + @c FirebaseAuthStateDidChangeInternalNotificationTokenKey (the new access token.) If it does not + contain this key it indicates a sign-out event took place. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotification; + +/** @var FirebaseAuthStateDidChangeInternalNotificationTokenKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new access token. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationTokenKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationAppKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the FirebaseApp associated with the auth instance. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationAppKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationUIDKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new user's UID (or nil if there is no longer a user signed in). + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationUIDKey; + +@interface FIRApp () + +/** + * A flag indicating if this is the default app (has the default app name). + */ +@property(nonatomic, readonly) BOOL isDefaultApp; + +/** + * The container of interop SDKs for this app. + */ +@property(nonatomic) FIRComponentContainer *container; + +/** + * The heartbeat logger associated with this app. + * + * Firebase apps have a 1:1 relationship with heartbeat loggers. + */ +@property(readonly) FIRHeartbeatLogger *heartbeatLogger; + +/** + * Checks if the default app is configured without trying to configure it. + */ ++ (BOOL)isDefaultAppConfigured; + +/** + * Registers a given third-party library with the given version number to be reported for + * analytics. + * + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerLibrary:(nonnull NSString *)name withVersion:(nonnull NSString *)version; + +/** + * Registers a given internal library to be reported for analytics. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name; + +/** + * Registers a given internal library with the given version number to be reported for + * analytics. This should only be used for non-Firebase libraries that have their own versioning + * scheme. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name + withVersion:(nonnull NSString *)version; + +/** + * A concatenated string representing all the third-party libraries and version numbers. + */ ++ (NSString *)firebaseUserAgent; + +/** + * Can be used by the unit tests in each SDK to reset `FirebaseApp`. This method is thread unsafe. + */ ++ (void)resetApps; + +/** + * Can be used by the unit tests in each SDK to set customized options. + */ +- (instancetype)initInstanceWithName:(NSString *)name options:(FIROptions *)options; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponent.h new file mode 100644 index 00000000000..c58a8517d9b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponent.h @@ -0,0 +1,84 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Provides a system to clean up cached instances returned from the component system. +NS_SWIFT_NAME(ComponentLifecycleMaintainer) +@protocol FIRComponentLifecycleMaintainer +/// The associated app will be deleted, clean up any resources as they are about to be deallocated. +- (void)appWillBeDeleted:(FIRApp *)app; +@end + +typedef _Nullable id (^FIRComponentCreationBlock)(FIRComponentContainer *container, + BOOL *isCacheable) + NS_SWIFT_NAME(ComponentCreationBlock); + +/// Describes the timing of instantiation. Note: new components should default to lazy unless there +/// is a strong reason to be eager. +typedef NS_ENUM(NSInteger, FIRInstantiationTiming) { + FIRInstantiationTimingLazy, + FIRInstantiationTimingAlwaysEager, + FIRInstantiationTimingEagerInDefaultApp +} NS_SWIFT_NAME(InstantiationTiming); + +/// A component that can be used from other Firebase SDKs. +NS_SWIFT_NAME(Component) +@interface FIRComponent : NSObject + +/// The protocol describing functionality provided from the `Component`. +@property(nonatomic, strong, readonly) Protocol *protocol; + +/// The timing of instantiation. +@property(nonatomic, readonly) FIRInstantiationTiming instantiationTiming; + +/// A block to instantiate an instance of the component with the appropriate dependencies. +@property(nonatomic, copy, readonly) FIRComponentCreationBlock creationBlock; + +// There's an issue with long NS_SWIFT_NAMES that causes compilation to fail, disable clang-format +// for the next two methods. +// clang-format off + +/// Creates a component with no dependencies that will be lazily initialized. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:creationBlock:)); + +/// Creates a component to be registered with the component container. +/// +/// @param protocol - The protocol describing functionality provided by the component. +/// @param instantiationTiming - When the component should be initialized. Use .lazy unless there's +/// a good reason to be instantiated earlier. +/// @param creationBlock - A block to instantiate the component with a container, and if +/// @return A component that can be registered with the component container. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + instantiationTiming:(FIRInstantiationTiming)instantiationTiming + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:instantiationTiming:creationBlock:)); + +// clang-format on + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h new file mode 100644 index 00000000000..6ec61470aa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h @@ -0,0 +1,45 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A type-safe macro to retrieve a component from a container. This should be used to retrieve +/// components instead of using the container directly. +#define FIR_COMPONENT(type, container) \ + [FIRComponentType> instanceForProtocol:@protocol(type) inContainer:container] + +@class FIRApp; + +/// A container that holds different components that are registered via the +/// `registerAsComponentRegistrant` call. These classes should conform to `ComponentRegistrant` +/// in order to properly register components for Core. +NS_SWIFT_NAME(FirebaseComponentContainer) +@interface FIRComponentContainer : NSObject + +/// A weak reference to the app that an instance of the container belongs to. +@property(nonatomic, weak, readonly) FIRApp *app; + +// TODO: See if we can get improved type safety here. +/// A Swift only API for fetching an instance since the top macro isn't available. +- (nullable id)__instanceForProtocol:(Protocol *)protocol NS_SWIFT_NAME(instance(for:)); + +/// Unavailable. Use the `container` property on `FirebaseApp`. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentType.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentType.h new file mode 100644 index 00000000000..c69085d1983 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentType.h @@ -0,0 +1,35 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Do not use directly. A placeholder type in order to provide a macro that will warn users of +/// mis-matched protocols. +NS_SWIFT_NAME(ComponentType) +@interface FIRComponentType<__covariant T> : NSObject + +/// Do not use directly. A factory method to retrieve an instance that provides a specific +/// functionality. ++ (nullable T)instanceForProtocol:(Protocol *)protocol + inContainer:(FIRComponentContainer *)container; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h new file mode 100644 index 00000000000..6314f504f13 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h @@ -0,0 +1,90 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +#ifndef FIREBASE_BUILD_CMAKE +@class FIRHeartbeatsPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Enum representing different daily heartbeat codes. +/// This enum is only used by clients using platform logging V1. This is because +/// the V1 payload only supports a single daily heartbeat. +typedef NS_ENUM(NSInteger, FIRDailyHeartbeatCode) { + /// Represents the absence of a daily heartbeat. + FIRDailyHeartbeatCodeNone = 0, + /// Represents the presence of a daily heartbeat. + FIRDailyHeartbeatCodeSome = 2, +}; + +@protocol FIRHeartbeatLoggerProtocol + +/// Asynchronously logs a heartbeat. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Return the headerValue for the HeartbeatLogger. +- (NSString *_Nullable)headerValue; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets the heartbeat code for today. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +#ifndef FIREBASE_BUILD_CMAKE +/// Returns a nullable string header value from a given heartbeats payload. +/// +/// This API returns `nil` when the given heartbeats payload is considered empty. +/// +/// @param heartbeatsPayload The heartbeats payload. +NSString *_Nullable FIRHeaderValueFromHeartbeatsPayload(FIRHeartbeatsPayload *heartbeatsPayload); +#endif // FIREBASE_BUILD_CMAKE + +/// A thread safe, synchronized object that logs and flushes platform logging info. +@interface FIRHeartbeatLogger : NSObject + +/// Designated initializer. +/// +/// @param appID The app ID that this heartbeat logger corresponds to. +- (instancetype)initWithAppID:(NSString *)appID; + +/// Asynchronously logs a new heartbeat corresponding to the Firebase User Agent, if needed. +/// +/// @note This API is thread-safe. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Flushes heartbeats from storage into a structured payload of heartbeats. +/// +/// This API is for clients using platform logging V2. +/// +/// @note This API is thread-safe. +/// @return A payload of heartbeats. +- (FIRHeartbeatsPayload *)flushHeartbeatsIntoPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets today's corresponding heartbeat code. +/// +/// This API is for clients using platform logging V1. +/// +/// @note This API is thread-safe. +/// @return Heartbeat code indicating whether or not there is an unsent global heartbeat. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLibrary.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLibrary.h new file mode 100644 index 00000000000..17664ac619f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLibrary.h @@ -0,0 +1,39 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRLibrary_h +#define FIRLibrary_h + +#import + +@class FIRApp; +@class FIRComponent; + +NS_ASSUME_NONNULL_BEGIN + +/// Provide an interface to register a library for userAgent logging and availability to others. +NS_SWIFT_NAME(Library) +@protocol FIRLibrary + +/// Returns one or more Components that will be registered in +/// FirebaseApp and participate in dependency resolution and injection. ++ (NSArray *)componentsToRegister; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRLibrary_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLogger.h new file mode 100644 index 00000000000..52ed75d7d6e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLogger.h @@ -0,0 +1,148 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * The Firebase services used in Firebase logger. + */ +typedef NSString *const FIRLoggerService; + +extern NSString *const kFIRLoggerAnalytics; +extern NSString *const kFIRLoggerCrash; +extern NSString *const kFIRLoggerCore; +extern NSString *const kFIRLoggerRemoteConfig; + +/** + * The key used to store the logger's error count. + */ +extern NSString *const kFIRLoggerErrorCountKey; + +/** + * The key used to store the logger's warning count. + */ +extern NSString *const kFIRLoggerWarningCountKey; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/** + * Enables or disables Analytics debug mode. + * If set to true, the logging level for Analytics will be set to FirebaseLoggerLevelDebug. + * Enabling the debug mode has no effect if the app is running from App Store. + * (required) analytics debug mode flag. + */ +void FIRSetAnalyticsDebugMode(BOOL analyticsDebugMode); + +/** + * Gets the current FIRLoggerLevel. + */ +FIRLoggerLevel FIRGetLoggerLevel(void); + +/** + * Changes the default logging level of FirebaseLoggerLevelNotice to a user-specified level. + * The default level cannot be set above FirebaseLoggerLevelNotice if the app is running from App + * Store. (required) log level (one of the FirebaseLoggerLevel enum values). + */ +void FIRSetLoggerLevel(FIRLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) whether or not this function is called from the Analytics component. + */ +BOOL FIRIsLoggableLevel(FIRLoggerLevel loggerLevel, BOOL analyticsComponent); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than FirebaseLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) service name of type FirebaseLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void FIRLogBasic(FIRLoggerLevel level, + NSString *category, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type FirebaseLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * FirebaseLogError(kFirebaseLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void FIRLogError(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogWarning(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogNotice(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogInfo(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogDebug(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +NS_SWIFT_NAME(FirebaseLogger) +@interface FIRLoggerWrapper : NSObject + +/// Logs a given message at a given log level. +/// +/// - Parameters: +/// - level: The log level to use (defined by `FirebaseLoggerLevel` enum values). +/// - service: The service name of type `FirebaseLoggerService`. +/// - code: The message code. Starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: Formatted string to be used as the log's message. ++ (void)logWithLevel:(FIRLoggerLevel)level + service:(NSString *)category + code:(NSString *)code + message:(NSString *)message + __attribute__((__swift_name__("log(level:service:code:message:)"))); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h new file mode 100644 index 00000000000..93a03d6894c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h @@ -0,0 +1,106 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/** + * Keys for the strings in the plist file. + */ +extern NSString *const kFIRAPIKey; +extern NSString *const kFIRTrackingID; +extern NSString *const kFIRGoogleAppID; +extern NSString *const kFIRClientID; +extern NSString *const kFIRGCMSenderID; +extern NSString *const kFIRAndroidClientID; +extern NSString *const kFIRDatabaseURL; +extern NSString *const kFIRStorageBucket; +extern NSString *const kFIRBundleID; +extern NSString *const kFIRProjectID; + +/** + * Keys for the plist file name + */ +extern NSString *const kServiceInfoFileName; + +extern NSString *const kServiceInfoFileType; + +/** + * This header file exposes the initialization of FirebaseOptions to internal use. + */ +@interface FIROptions () + +/** + * `resetDefaultOptions` and `initInternalWithOptionsDictionary` are exposed only for unit tests. + */ ++ (void)resetDefaultOptions; + +/** + * Initializes the options with dictionary. The above strings are the keys of the dictionary. + * This is the designated initializer. + */ +- (instancetype)initInternalWithOptionsDictionary:(NSDictionary *)serviceInfoDictionary + NS_DESIGNATED_INITIALIZER; + +/** + * `defaultOptions` and `defaultOptionsDictionary` are exposed in order to be used in FirebaseApp + * and other first party services. + */ ++ (FIROptions *)defaultOptions; + ++ (NSDictionary *)defaultOptionsDictionary; + +/** + * Indicates whether or not Analytics collection was explicitly enabled via a plist flag or at + * runtime. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionExplicitlySet; + +/** + * Whether or not Analytics Collection was enabled. Analytics Collection is enabled unless + * explicitly disabled in GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionEnabled; + +/** + * Whether or not Analytics Collection was completely disabled. If true, then + * isAnalyticsCollectionEnabled will be false. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionDeactivated; + +/** + * The version ID of the client library, e.g. @"1100000". + */ +@property(nonatomic, readonly, copy) NSString *libraryVersionID; + +/** + * The flag indicating whether this object was constructed with the values in the default plist + * file. + */ +@property(nonatomic) BOOL usingOptionsFromDefaultPlist; + +/** + * Whether or not Measurement was enabled. Measurement is enabled unless explicitly disabled in + * GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isMeasurementEnabled; + +/** + * Whether or not editing is locked. This should occur after `FirebaseOptions` has been set on a + * `FirebaseApp`. + */ +@property(nonatomic, getter=isEditingLocked) BOOL editingLocked; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h new file mode 100644 index 00000000000..3365681d74d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h @@ -0,0 +1,25 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FirebaseCoreInternal.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" + +FOUNDATION_EXPORT double FirebaseCoreExtensionVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreExtensionVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h new file mode 100644 index 00000000000..0cb388be4fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h @@ -0,0 +1,24 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +@import FirebaseCore; + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Info.plist new file mode 100644 index 00000000000..90fef9d08b2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreExtension + CFBundleIdentifier + org.cocoapods.FirebaseCoreExtension + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreExtension + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Modules/module.modulemap new file mode 100644 index 00000000000..934487e1faf --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCoreExtension { +umbrella header "FirebaseCoreExtension-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/FirebaseCoreExtension b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/FirebaseCoreExtension new file mode 100644 index 00000000000..a62ff8681fd Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/FirebaseCoreExtension differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..6ba167a904f Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..c89c88f62f5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,18 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h new file mode 100644 index 00000000000..b0b15117227 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h @@ -0,0 +1,156 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; +@class FIRHeartbeatLogger; +@protocol FIRLibrary; + +/** + * The internal interface to `FirebaseApp`. This is meant for first-party integrators, who need to + * receive `FirebaseApp` notifications, log info about the success or failure of their + * configuration, and access other internal functionality of `FirebaseApp`. + */ +NS_ASSUME_NONNULL_BEGIN + +typedef NS_ENUM(NSInteger, FIRConfigType) { + FIRConfigTypeCore = 1, + FIRConfigTypeSDK = 2, +}; + +extern NSString *const kFIRDefaultAppName; +extern NSString *const kFIRAppReadyToConfigureSDKNotification; +extern NSString *const kFIRAppDeleteNotification; +extern NSString *const kFIRAppIsDefaultAppKey; +extern NSString *const kFIRAppNameKey; +extern NSString *const kFIRGoogleAppIDKey; +extern NSString *const kFirebaseCoreErrorDomain; + +/** + * The format string for the `UserDefaults` key used for storing the data collection enabled flag. + * This includes formatting to append the `FirebaseApp`'s name. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledDefaultsKeyFormat; + +/** + * The plist key used for storing the data collection enabled flag. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledPlistKey; + +/** @var FirebaseAuthStateDidChangeInternalNotification + @brief The name of the @c NotificationCenter notification which is posted when the auth state + changes (e.g. a new token has been produced, a user logs in or out). The object parameter of + the notification is a dictionary possibly containing the key: + @c FirebaseAuthStateDidChangeInternalNotificationTokenKey (the new access token.) If it does not + contain this key it indicates a sign-out event took place. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotification; + +/** @var FirebaseAuthStateDidChangeInternalNotificationTokenKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new access token. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationTokenKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationAppKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the FirebaseApp associated with the auth instance. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationAppKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationUIDKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new user's UID (or nil if there is no longer a user signed in). + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationUIDKey; + +@interface FIRApp () + +/** + * A flag indicating if this is the default app (has the default app name). + */ +@property(nonatomic, readonly) BOOL isDefaultApp; + +/** + * The container of interop SDKs for this app. + */ +@property(nonatomic) FIRComponentContainer *container; + +/** + * The heartbeat logger associated with this app. + * + * Firebase apps have a 1:1 relationship with heartbeat loggers. + */ +@property(readonly) FIRHeartbeatLogger *heartbeatLogger; + +/** + * Checks if the default app is configured without trying to configure it. + */ ++ (BOOL)isDefaultAppConfigured; + +/** + * Registers a given third-party library with the given version number to be reported for + * analytics. + * + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerLibrary:(nonnull NSString *)name withVersion:(nonnull NSString *)version; + +/** + * Registers a given internal library to be reported for analytics. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name; + +/** + * Registers a given internal library with the given version number to be reported for + * analytics. This should only be used for non-Firebase libraries that have their own versioning + * scheme. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name + withVersion:(nonnull NSString *)version; + +/** + * A concatenated string representing all the third-party libraries and version numbers. + */ ++ (NSString *)firebaseUserAgent; + +/** + * Can be used by the unit tests in each SDK to reset `FirebaseApp`. This method is thread unsafe. + */ ++ (void)resetApps; + +/** + * Can be used by the unit tests in each SDK to set customized options. + */ +- (instancetype)initInstanceWithName:(NSString *)name options:(FIROptions *)options; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRComponent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRComponent.h new file mode 100644 index 00000000000..c58a8517d9b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRComponent.h @@ -0,0 +1,84 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Provides a system to clean up cached instances returned from the component system. +NS_SWIFT_NAME(ComponentLifecycleMaintainer) +@protocol FIRComponentLifecycleMaintainer +/// The associated app will be deleted, clean up any resources as they are about to be deallocated. +- (void)appWillBeDeleted:(FIRApp *)app; +@end + +typedef _Nullable id (^FIRComponentCreationBlock)(FIRComponentContainer *container, + BOOL *isCacheable) + NS_SWIFT_NAME(ComponentCreationBlock); + +/// Describes the timing of instantiation. Note: new components should default to lazy unless there +/// is a strong reason to be eager. +typedef NS_ENUM(NSInteger, FIRInstantiationTiming) { + FIRInstantiationTimingLazy, + FIRInstantiationTimingAlwaysEager, + FIRInstantiationTimingEagerInDefaultApp +} NS_SWIFT_NAME(InstantiationTiming); + +/// A component that can be used from other Firebase SDKs. +NS_SWIFT_NAME(Component) +@interface FIRComponent : NSObject + +/// The protocol describing functionality provided from the `Component`. +@property(nonatomic, strong, readonly) Protocol *protocol; + +/// The timing of instantiation. +@property(nonatomic, readonly) FIRInstantiationTiming instantiationTiming; + +/// A block to instantiate an instance of the component with the appropriate dependencies. +@property(nonatomic, copy, readonly) FIRComponentCreationBlock creationBlock; + +// There's an issue with long NS_SWIFT_NAMES that causes compilation to fail, disable clang-format +// for the next two methods. +// clang-format off + +/// Creates a component with no dependencies that will be lazily initialized. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:creationBlock:)); + +/// Creates a component to be registered with the component container. +/// +/// @param protocol - The protocol describing functionality provided by the component. +/// @param instantiationTiming - When the component should be initialized. Use .lazy unless there's +/// a good reason to be instantiated earlier. +/// @param creationBlock - A block to instantiate the component with a container, and if +/// @return A component that can be registered with the component container. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + instantiationTiming:(FIRInstantiationTiming)instantiationTiming + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:instantiationTiming:creationBlock:)); + +// clang-format on + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h new file mode 100644 index 00000000000..6ec61470aa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h @@ -0,0 +1,45 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A type-safe macro to retrieve a component from a container. This should be used to retrieve +/// components instead of using the container directly. +#define FIR_COMPONENT(type, container) \ + [FIRComponentType> instanceForProtocol:@protocol(type) inContainer:container] + +@class FIRApp; + +/// A container that holds different components that are registered via the +/// `registerAsComponentRegistrant` call. These classes should conform to `ComponentRegistrant` +/// in order to properly register components for Core. +NS_SWIFT_NAME(FirebaseComponentContainer) +@interface FIRComponentContainer : NSObject + +/// A weak reference to the app that an instance of the container belongs to. +@property(nonatomic, weak, readonly) FIRApp *app; + +// TODO: See if we can get improved type safety here. +/// A Swift only API for fetching an instance since the top macro isn't available. +- (nullable id)__instanceForProtocol:(Protocol *)protocol NS_SWIFT_NAME(instance(for:)); + +/// Unavailable. Use the `container` property on `FirebaseApp`. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRComponentType.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRComponentType.h new file mode 100644 index 00000000000..c69085d1983 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRComponentType.h @@ -0,0 +1,35 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Do not use directly. A placeholder type in order to provide a macro that will warn users of +/// mis-matched protocols. +NS_SWIFT_NAME(ComponentType) +@interface FIRComponentType<__covariant T> : NSObject + +/// Do not use directly. A factory method to retrieve an instance that provides a specific +/// functionality. ++ (nullable T)instanceForProtocol:(Protocol *)protocol + inContainer:(FIRComponentContainer *)container; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h new file mode 100644 index 00000000000..6314f504f13 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h @@ -0,0 +1,90 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +#ifndef FIREBASE_BUILD_CMAKE +@class FIRHeartbeatsPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Enum representing different daily heartbeat codes. +/// This enum is only used by clients using platform logging V1. This is because +/// the V1 payload only supports a single daily heartbeat. +typedef NS_ENUM(NSInteger, FIRDailyHeartbeatCode) { + /// Represents the absence of a daily heartbeat. + FIRDailyHeartbeatCodeNone = 0, + /// Represents the presence of a daily heartbeat. + FIRDailyHeartbeatCodeSome = 2, +}; + +@protocol FIRHeartbeatLoggerProtocol + +/// Asynchronously logs a heartbeat. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Return the headerValue for the HeartbeatLogger. +- (NSString *_Nullable)headerValue; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets the heartbeat code for today. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +#ifndef FIREBASE_BUILD_CMAKE +/// Returns a nullable string header value from a given heartbeats payload. +/// +/// This API returns `nil` when the given heartbeats payload is considered empty. +/// +/// @param heartbeatsPayload The heartbeats payload. +NSString *_Nullable FIRHeaderValueFromHeartbeatsPayload(FIRHeartbeatsPayload *heartbeatsPayload); +#endif // FIREBASE_BUILD_CMAKE + +/// A thread safe, synchronized object that logs and flushes platform logging info. +@interface FIRHeartbeatLogger : NSObject + +/// Designated initializer. +/// +/// @param appID The app ID that this heartbeat logger corresponds to. +- (instancetype)initWithAppID:(NSString *)appID; + +/// Asynchronously logs a new heartbeat corresponding to the Firebase User Agent, if needed. +/// +/// @note This API is thread-safe. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Flushes heartbeats from storage into a structured payload of heartbeats. +/// +/// This API is for clients using platform logging V2. +/// +/// @note This API is thread-safe. +/// @return A payload of heartbeats. +- (FIRHeartbeatsPayload *)flushHeartbeatsIntoPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets today's corresponding heartbeat code. +/// +/// This API is for clients using platform logging V1. +/// +/// @note This API is thread-safe. +/// @return Heartbeat code indicating whether or not there is an unsent global heartbeat. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRLibrary.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRLibrary.h new file mode 100644 index 00000000000..17664ac619f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRLibrary.h @@ -0,0 +1,39 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRLibrary_h +#define FIRLibrary_h + +#import + +@class FIRApp; +@class FIRComponent; + +NS_ASSUME_NONNULL_BEGIN + +/// Provide an interface to register a library for userAgent logging and availability to others. +NS_SWIFT_NAME(Library) +@protocol FIRLibrary + +/// Returns one or more Components that will be registered in +/// FirebaseApp and participate in dependency resolution and injection. ++ (NSArray *)componentsToRegister; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRLibrary_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRLogger.h new file mode 100644 index 00000000000..52ed75d7d6e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIRLogger.h @@ -0,0 +1,148 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * The Firebase services used in Firebase logger. + */ +typedef NSString *const FIRLoggerService; + +extern NSString *const kFIRLoggerAnalytics; +extern NSString *const kFIRLoggerCrash; +extern NSString *const kFIRLoggerCore; +extern NSString *const kFIRLoggerRemoteConfig; + +/** + * The key used to store the logger's error count. + */ +extern NSString *const kFIRLoggerErrorCountKey; + +/** + * The key used to store the logger's warning count. + */ +extern NSString *const kFIRLoggerWarningCountKey; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/** + * Enables or disables Analytics debug mode. + * If set to true, the logging level for Analytics will be set to FirebaseLoggerLevelDebug. + * Enabling the debug mode has no effect if the app is running from App Store. + * (required) analytics debug mode flag. + */ +void FIRSetAnalyticsDebugMode(BOOL analyticsDebugMode); + +/** + * Gets the current FIRLoggerLevel. + */ +FIRLoggerLevel FIRGetLoggerLevel(void); + +/** + * Changes the default logging level of FirebaseLoggerLevelNotice to a user-specified level. + * The default level cannot be set above FirebaseLoggerLevelNotice if the app is running from App + * Store. (required) log level (one of the FirebaseLoggerLevel enum values). + */ +void FIRSetLoggerLevel(FIRLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) whether or not this function is called from the Analytics component. + */ +BOOL FIRIsLoggableLevel(FIRLoggerLevel loggerLevel, BOOL analyticsComponent); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than FirebaseLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) service name of type FirebaseLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void FIRLogBasic(FIRLoggerLevel level, + NSString *category, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type FirebaseLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * FirebaseLogError(kFirebaseLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void FIRLogError(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogWarning(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogNotice(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogInfo(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogDebug(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +NS_SWIFT_NAME(FirebaseLogger) +@interface FIRLoggerWrapper : NSObject + +/// Logs a given message at a given log level. +/// +/// - Parameters: +/// - level: The log level to use (defined by `FirebaseLoggerLevel` enum values). +/// - service: The service name of type `FirebaseLoggerService`. +/// - code: The message code. Starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: Formatted string to be used as the log's message. ++ (void)logWithLevel:(FIRLoggerLevel)level + service:(NSString *)category + code:(NSString *)code + message:(NSString *)message + __attribute__((__swift_name__("log(level:service:code:message:)"))); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h new file mode 100644 index 00000000000..93a03d6894c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h @@ -0,0 +1,106 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/** + * Keys for the strings in the plist file. + */ +extern NSString *const kFIRAPIKey; +extern NSString *const kFIRTrackingID; +extern NSString *const kFIRGoogleAppID; +extern NSString *const kFIRClientID; +extern NSString *const kFIRGCMSenderID; +extern NSString *const kFIRAndroidClientID; +extern NSString *const kFIRDatabaseURL; +extern NSString *const kFIRStorageBucket; +extern NSString *const kFIRBundleID; +extern NSString *const kFIRProjectID; + +/** + * Keys for the plist file name + */ +extern NSString *const kServiceInfoFileName; + +extern NSString *const kServiceInfoFileType; + +/** + * This header file exposes the initialization of FirebaseOptions to internal use. + */ +@interface FIROptions () + +/** + * `resetDefaultOptions` and `initInternalWithOptionsDictionary` are exposed only for unit tests. + */ ++ (void)resetDefaultOptions; + +/** + * Initializes the options with dictionary. The above strings are the keys of the dictionary. + * This is the designated initializer. + */ +- (instancetype)initInternalWithOptionsDictionary:(NSDictionary *)serviceInfoDictionary + NS_DESIGNATED_INITIALIZER; + +/** + * `defaultOptions` and `defaultOptionsDictionary` are exposed in order to be used in FirebaseApp + * and other first party services. + */ ++ (FIROptions *)defaultOptions; + ++ (NSDictionary *)defaultOptionsDictionary; + +/** + * Indicates whether or not Analytics collection was explicitly enabled via a plist flag or at + * runtime. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionExplicitlySet; + +/** + * Whether or not Analytics Collection was enabled. Analytics Collection is enabled unless + * explicitly disabled in GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionEnabled; + +/** + * Whether or not Analytics Collection was completely disabled. If true, then + * isAnalyticsCollectionEnabled will be false. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionDeactivated; + +/** + * The version ID of the client library, e.g. @"1100000". + */ +@property(nonatomic, readonly, copy) NSString *libraryVersionID; + +/** + * The flag indicating whether this object was constructed with the values in the default plist + * file. + */ +@property(nonatomic) BOOL usingOptionsFromDefaultPlist; + +/** + * Whether or not Measurement was enabled. Measurement is enabled unless explicitly disabled in + * GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isMeasurementEnabled; + +/** + * Whether or not editing is locked. This should occur after `FirebaseOptions` has been set on a + * `FirebaseApp`. + */ +@property(nonatomic, getter=isEditingLocked) BOOL editingLocked; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h new file mode 100644 index 00000000000..32a584934f2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h @@ -0,0 +1,25 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FirebaseCoreInternal.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" + +FOUNDATION_EXPORT double FirebaseCoreExtensionVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreExtensionVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h new file mode 100644 index 00000000000..0cb388be4fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h @@ -0,0 +1,24 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +@import FirebaseCore; + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Info.plist new file mode 100644 index 00000000000..f43b03f9b15 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreExtension + CFBundleIdentifier + org.cocoapods.FirebaseCoreExtension + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreExtension + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchos + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchos10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Modules/module.modulemap new file mode 100644 index 00000000000..7c423b2e801 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_arm64_32/FirebaseCoreExtension.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCoreExtension { +umbrella header "FirebaseCoreExtension-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "WatchKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension new file mode 100644 index 00000000000..88608dca619 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..31f6c138ab1 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..c89c88f62f5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,18 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h new file mode 100644 index 00000000000..b0b15117227 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h @@ -0,0 +1,156 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; +@class FIRHeartbeatLogger; +@protocol FIRLibrary; + +/** + * The internal interface to `FirebaseApp`. This is meant for first-party integrators, who need to + * receive `FirebaseApp` notifications, log info about the success or failure of their + * configuration, and access other internal functionality of `FirebaseApp`. + */ +NS_ASSUME_NONNULL_BEGIN + +typedef NS_ENUM(NSInteger, FIRConfigType) { + FIRConfigTypeCore = 1, + FIRConfigTypeSDK = 2, +}; + +extern NSString *const kFIRDefaultAppName; +extern NSString *const kFIRAppReadyToConfigureSDKNotification; +extern NSString *const kFIRAppDeleteNotification; +extern NSString *const kFIRAppIsDefaultAppKey; +extern NSString *const kFIRAppNameKey; +extern NSString *const kFIRGoogleAppIDKey; +extern NSString *const kFirebaseCoreErrorDomain; + +/** + * The format string for the `UserDefaults` key used for storing the data collection enabled flag. + * This includes formatting to append the `FirebaseApp`'s name. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledDefaultsKeyFormat; + +/** + * The plist key used for storing the data collection enabled flag. + */ +extern NSString *const kFIRGlobalAppDataCollectionEnabledPlistKey; + +/** @var FirebaseAuthStateDidChangeInternalNotification + @brief The name of the @c NotificationCenter notification which is posted when the auth state + changes (e.g. a new token has been produced, a user logs in or out). The object parameter of + the notification is a dictionary possibly containing the key: + @c FirebaseAuthStateDidChangeInternalNotificationTokenKey (the new access token.) If it does not + contain this key it indicates a sign-out event took place. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotification; + +/** @var FirebaseAuthStateDidChangeInternalNotificationTokenKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new access token. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationTokenKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationAppKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the FirebaseApp associated with the auth instance. + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationAppKey; + +/** @var FirebaseAuthStateDidChangeInternalNotificationUIDKey + @brief A key present in the dictionary object parameter of the + @c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new user's UID (or nil if there is no longer a user signed in). + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationUIDKey; + +@interface FIRApp () + +/** + * A flag indicating if this is the default app (has the default app name). + */ +@property(nonatomic, readonly) BOOL isDefaultApp; + +/** + * The container of interop SDKs for this app. + */ +@property(nonatomic) FIRComponentContainer *container; + +/** + * The heartbeat logger associated with this app. + * + * Firebase apps have a 1:1 relationship with heartbeat loggers. + */ +@property(readonly) FIRHeartbeatLogger *heartbeatLogger; + +/** + * Checks if the default app is configured without trying to configure it. + */ ++ (BOOL)isDefaultAppConfigured; + +/** + * Registers a given third-party library with the given version number to be reported for + * analytics. + * + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerLibrary:(nonnull NSString *)name withVersion:(nonnull NSString *)version; + +/** + * Registers a given internal library to be reported for analytics. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name; + +/** + * Registers a given internal library with the given version number to be reported for + * analytics. This should only be used for non-Firebase libraries that have their own versioning + * scheme. + * + * @param library Optional parameter for component registration. + * @param name Name of the library. + * @param version Version of the library. + */ ++ (void)registerInternalLibrary:(nonnull Class)library + withName:(nonnull NSString *)name + withVersion:(nonnull NSString *)version; + +/** + * A concatenated string representing all the third-party libraries and version numbers. + */ ++ (NSString *)firebaseUserAgent; + +/** + * Can be used by the unit tests in each SDK to reset `FirebaseApp`. This method is thread unsafe. + */ ++ (void)resetApps; + +/** + * Can be used by the unit tests in each SDK to set customized options. + */ +- (instancetype)initInstanceWithName:(NSString *)name options:(FIROptions *)options; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponent.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponent.h new file mode 100644 index 00000000000..c58a8517d9b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponent.h @@ -0,0 +1,84 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Provides a system to clean up cached instances returned from the component system. +NS_SWIFT_NAME(ComponentLifecycleMaintainer) +@protocol FIRComponentLifecycleMaintainer +/// The associated app will be deleted, clean up any resources as they are about to be deallocated. +- (void)appWillBeDeleted:(FIRApp *)app; +@end + +typedef _Nullable id (^FIRComponentCreationBlock)(FIRComponentContainer *container, + BOOL *isCacheable) + NS_SWIFT_NAME(ComponentCreationBlock); + +/// Describes the timing of instantiation. Note: new components should default to lazy unless there +/// is a strong reason to be eager. +typedef NS_ENUM(NSInteger, FIRInstantiationTiming) { + FIRInstantiationTimingLazy, + FIRInstantiationTimingAlwaysEager, + FIRInstantiationTimingEagerInDefaultApp +} NS_SWIFT_NAME(InstantiationTiming); + +/// A component that can be used from other Firebase SDKs. +NS_SWIFT_NAME(Component) +@interface FIRComponent : NSObject + +/// The protocol describing functionality provided from the `Component`. +@property(nonatomic, strong, readonly) Protocol *protocol; + +/// The timing of instantiation. +@property(nonatomic, readonly) FIRInstantiationTiming instantiationTiming; + +/// A block to instantiate an instance of the component with the appropriate dependencies. +@property(nonatomic, copy, readonly) FIRComponentCreationBlock creationBlock; + +// There's an issue with long NS_SWIFT_NAMES that causes compilation to fail, disable clang-format +// for the next two methods. +// clang-format off + +/// Creates a component with no dependencies that will be lazily initialized. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:creationBlock:)); + +/// Creates a component to be registered with the component container. +/// +/// @param protocol - The protocol describing functionality provided by the component. +/// @param instantiationTiming - When the component should be initialized. Use .lazy unless there's +/// a good reason to be instantiated earlier. +/// @param creationBlock - A block to instantiate the component with a container, and if +/// @return A component that can be registered with the component container. ++ (instancetype)componentWithProtocol:(Protocol *)protocol + instantiationTiming:(FIRInstantiationTiming)instantiationTiming + creationBlock:(FIRComponentCreationBlock)creationBlock +NS_SWIFT_NAME(init(_:instantiationTiming:creationBlock:)); + +// clang-format on + +/// Unavailable. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h new file mode 100644 index 00000000000..6ec61470aa3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentContainer.h @@ -0,0 +1,45 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A type-safe macro to retrieve a component from a container. This should be used to retrieve +/// components instead of using the container directly. +#define FIR_COMPONENT(type, container) \ + [FIRComponentType> instanceForProtocol:@protocol(type) inContainer:container] + +@class FIRApp; + +/// A container that holds different components that are registered via the +/// `registerAsComponentRegistrant` call. These classes should conform to `ComponentRegistrant` +/// in order to properly register components for Core. +NS_SWIFT_NAME(FirebaseComponentContainer) +@interface FIRComponentContainer : NSObject + +/// A weak reference to the app that an instance of the container belongs to. +@property(nonatomic, weak, readonly) FIRApp *app; + +// TODO: See if we can get improved type safety here. +/// A Swift only API for fetching an instance since the top macro isn't available. +- (nullable id)__instanceForProtocol:(Protocol *)protocol NS_SWIFT_NAME(instance(for:)); + +/// Unavailable. Use the `container` property on `FirebaseApp`. +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentType.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentType.h new file mode 100644 index 00000000000..c69085d1983 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRComponentType.h @@ -0,0 +1,35 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRComponentContainer; + +NS_ASSUME_NONNULL_BEGIN + +/// Do not use directly. A placeholder type in order to provide a macro that will warn users of +/// mis-matched protocols. +NS_SWIFT_NAME(ComponentType) +@interface FIRComponentType<__covariant T> : NSObject + +/// Do not use directly. A factory method to retrieve an instance that provides a specific +/// functionality. ++ (nullable T)instanceForProtocol:(Protocol *)protocol + inContainer:(FIRComponentContainer *)container; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h new file mode 100644 index 00000000000..6314f504f13 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRHeartbeatLogger.h @@ -0,0 +1,90 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +#ifndef FIREBASE_BUILD_CMAKE +@class FIRHeartbeatsPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Enum representing different daily heartbeat codes. +/// This enum is only used by clients using platform logging V1. This is because +/// the V1 payload only supports a single daily heartbeat. +typedef NS_ENUM(NSInteger, FIRDailyHeartbeatCode) { + /// Represents the absence of a daily heartbeat. + FIRDailyHeartbeatCodeNone = 0, + /// Represents the presence of a daily heartbeat. + FIRDailyHeartbeatCodeSome = 2, +}; + +@protocol FIRHeartbeatLoggerProtocol + +/// Asynchronously logs a heartbeat. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Return the headerValue for the HeartbeatLogger. +- (NSString *_Nullable)headerValue; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets the heartbeat code for today. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +#ifndef FIREBASE_BUILD_CMAKE +/// Returns a nullable string header value from a given heartbeats payload. +/// +/// This API returns `nil` when the given heartbeats payload is considered empty. +/// +/// @param heartbeatsPayload The heartbeats payload. +NSString *_Nullable FIRHeaderValueFromHeartbeatsPayload(FIRHeartbeatsPayload *heartbeatsPayload); +#endif // FIREBASE_BUILD_CMAKE + +/// A thread safe, synchronized object that logs and flushes platform logging info. +@interface FIRHeartbeatLogger : NSObject + +/// Designated initializer. +/// +/// @param appID The app ID that this heartbeat logger corresponds to. +- (instancetype)initWithAppID:(NSString *)appID; + +/// Asynchronously logs a new heartbeat corresponding to the Firebase User Agent, if needed. +/// +/// @note This API is thread-safe. +- (void)log; + +#ifndef FIREBASE_BUILD_CMAKE +/// Flushes heartbeats from storage into a structured payload of heartbeats. +/// +/// This API is for clients using platform logging V2. +/// +/// @note This API is thread-safe. +/// @return A payload of heartbeats. +- (FIRHeartbeatsPayload *)flushHeartbeatsIntoPayload; +#endif // FIREBASE_BUILD_CMAKE + +/// Gets today's corresponding heartbeat code. +/// +/// This API is for clients using platform logging V1. +/// +/// @note This API is thread-safe. +/// @return Heartbeat code indicating whether or not there is an unsent global heartbeat. +- (FIRDailyHeartbeatCode)heartbeatCodeForToday; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLibrary.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLibrary.h new file mode 100644 index 00000000000..17664ac619f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLibrary.h @@ -0,0 +1,39 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef FIRLibrary_h +#define FIRLibrary_h + +#import + +@class FIRApp; +@class FIRComponent; + +NS_ASSUME_NONNULL_BEGIN + +/// Provide an interface to register a library for userAgent logging and availability to others. +NS_SWIFT_NAME(Library) +@protocol FIRLibrary + +/// Returns one or more Components that will be registered in +/// FirebaseApp and participate in dependency resolution and injection. ++ (NSArray *)componentsToRegister; + +@end + +NS_ASSUME_NONNULL_END + +#endif /* FIRLibrary_h */ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLogger.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLogger.h new file mode 100644 index 00000000000..52ed75d7d6e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIRLogger.h @@ -0,0 +1,148 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * The Firebase services used in Firebase logger. + */ +typedef NSString *const FIRLoggerService; + +extern NSString *const kFIRLoggerAnalytics; +extern NSString *const kFIRLoggerCrash; +extern NSString *const kFIRLoggerCore; +extern NSString *const kFIRLoggerRemoteConfig; + +/** + * The key used to store the logger's error count. + */ +extern NSString *const kFIRLoggerErrorCountKey; + +/** + * The key used to store the logger's warning count. + */ +extern NSString *const kFIRLoggerWarningCountKey; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/** + * Enables or disables Analytics debug mode. + * If set to true, the logging level for Analytics will be set to FirebaseLoggerLevelDebug. + * Enabling the debug mode has no effect if the app is running from App Store. + * (required) analytics debug mode flag. + */ +void FIRSetAnalyticsDebugMode(BOOL analyticsDebugMode); + +/** + * Gets the current FIRLoggerLevel. + */ +FIRLoggerLevel FIRGetLoggerLevel(void); + +/** + * Changes the default logging level of FirebaseLoggerLevelNotice to a user-specified level. + * The default level cannot be set above FirebaseLoggerLevelNotice if the app is running from App + * Store. (required) log level (one of the FirebaseLoggerLevel enum values). + */ +void FIRSetLoggerLevel(FIRLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) whether or not this function is called from the Analytics component. + */ +BOOL FIRIsLoggableLevel(FIRLoggerLevel loggerLevel, BOOL analyticsComponent); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than FirebaseLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the FirebaseLoggerLevel enum values). + * (required) service name of type FirebaseLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void FIRLogBasic(FIRLoggerLevel level, + NSString *category, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type FirebaseLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * FirebaseLogError(kFirebaseLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void FIRLogError(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogWarning(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogNotice(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogInfo(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); +extern void FIRLogDebug(NSString *category, NSString *messageCode, NSString *message, ...) + NS_FORMAT_FUNCTION(3, 4); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +NS_SWIFT_NAME(FirebaseLogger) +@interface FIRLoggerWrapper : NSObject + +/// Logs a given message at a given log level. +/// +/// - Parameters: +/// - level: The log level to use (defined by `FirebaseLoggerLevel` enum values). +/// - service: The service name of type `FirebaseLoggerService`. +/// - code: The message code. Starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: Formatted string to be used as the log's message. ++ (void)logWithLevel:(FIRLoggerLevel)level + service:(NSString *)category + code:(NSString *)code + message:(NSString *)message + __attribute__((__swift_name__("log(level:service:code:message:)"))); + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h new file mode 100644 index 00000000000..93a03d6894c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FIROptionsInternal.h @@ -0,0 +1,106 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +/** + * Keys for the strings in the plist file. + */ +extern NSString *const kFIRAPIKey; +extern NSString *const kFIRTrackingID; +extern NSString *const kFIRGoogleAppID; +extern NSString *const kFIRClientID; +extern NSString *const kFIRGCMSenderID; +extern NSString *const kFIRAndroidClientID; +extern NSString *const kFIRDatabaseURL; +extern NSString *const kFIRStorageBucket; +extern NSString *const kFIRBundleID; +extern NSString *const kFIRProjectID; + +/** + * Keys for the plist file name + */ +extern NSString *const kServiceInfoFileName; + +extern NSString *const kServiceInfoFileType; + +/** + * This header file exposes the initialization of FirebaseOptions to internal use. + */ +@interface FIROptions () + +/** + * `resetDefaultOptions` and `initInternalWithOptionsDictionary` are exposed only for unit tests. + */ ++ (void)resetDefaultOptions; + +/** + * Initializes the options with dictionary. The above strings are the keys of the dictionary. + * This is the designated initializer. + */ +- (instancetype)initInternalWithOptionsDictionary:(NSDictionary *)serviceInfoDictionary + NS_DESIGNATED_INITIALIZER; + +/** + * `defaultOptions` and `defaultOptionsDictionary` are exposed in order to be used in FirebaseApp + * and other first party services. + */ ++ (FIROptions *)defaultOptions; + ++ (NSDictionary *)defaultOptionsDictionary; + +/** + * Indicates whether or not Analytics collection was explicitly enabled via a plist flag or at + * runtime. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionExplicitlySet; + +/** + * Whether or not Analytics Collection was enabled. Analytics Collection is enabled unless + * explicitly disabled in GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionEnabled; + +/** + * Whether or not Analytics Collection was completely disabled. If true, then + * isAnalyticsCollectionEnabled will be false. + */ +@property(nonatomic, readonly) BOOL isAnalyticsCollectionDeactivated; + +/** + * The version ID of the client library, e.g. @"1100000". + */ +@property(nonatomic, readonly, copy) NSString *libraryVersionID; + +/** + * The flag indicating whether this object was constructed with the values in the default plist + * file. + */ +@property(nonatomic) BOOL usingOptionsFromDefaultPlist; + +/** + * Whether or not Measurement was enabled. Measurement is enabled unless explicitly disabled in + * GoogleService-Info.plist. + */ +@property(nonatomic, readonly) BOOL isMeasurementEnabled; + +/** + * Whether or not editing is locked. This should occur after `FirebaseOptions` has been set on a + * `FirebaseApp`. + */ +@property(nonatomic, getter=isEditingLocked) BOOL editingLocked; + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h new file mode 100644 index 00000000000..32a584934f2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreExtension-umbrella.h @@ -0,0 +1,25 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FirebaseCoreInternal.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" + +FOUNDATION_EXPORT double FirebaseCoreExtensionVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreExtensionVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h new file mode 100644 index 00000000000..0cb388be4fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Headers/FirebaseCoreInternal.h @@ -0,0 +1,24 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +@import FirebaseCore; + +#import "FIRAppInternal.h" +#import "FIRComponent.h" +#import "FIRComponentContainer.h" +#import "FIRComponentType.h" +#import "FIRHeartbeatLogger.h" +#import "FIRLibrary.h" +#import "FIRLogger.h" +#import "FIROptionsInternal.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Info.plist new file mode 100644 index 00000000000..d1c33b217f2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreExtension + CFBundleIdentifier + org.cocoapods.FirebaseCoreExtension + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreExtension + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchsimulator + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchsimulator10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Modules/module.modulemap new file mode 100644 index 00000000000..7c423b2e801 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreExtension.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreExtension.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseCoreExtension { +umbrella header "FirebaseCoreExtension-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "WatchKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/Info.plist new file mode 100644 index 00000000000..fcb3da8fbcc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/Info.plist @@ -0,0 +1,139 @@ + + + + + AvailableLibraries + + + BinaryPath + FirebaseCoreInternal.framework/FirebaseCoreInternal + LibraryIdentifier + watchos-arm64_x86_64-simulator + LibraryPath + FirebaseCoreInternal.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + watchos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseCoreInternal.framework/FirebaseCoreInternal + LibraryIdentifier + tvos-arm64 + LibraryPath + FirebaseCoreInternal.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + FirebaseCoreInternal.framework/FirebaseCoreInternal + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FirebaseCoreInternal.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseCoreInternal.framework/Versions/A/FirebaseCoreInternal + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + FirebaseCoreInternal.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + BinaryPath + FirebaseCoreInternal.framework/Versions/A/FirebaseCoreInternal + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FirebaseCoreInternal.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + BinaryPath + FirebaseCoreInternal.framework/FirebaseCoreInternal + LibraryIdentifier + watchos-arm64_arm64_32 + LibraryPath + FirebaseCoreInternal.framework + SupportedArchitectures + + arm64 + arm64_32 + + SupportedPlatform + watchos + + + BinaryPath + FirebaseCoreInternal.framework/FirebaseCoreInternal + LibraryIdentifier + ios-arm64 + LibraryPath + FirebaseCoreInternal.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + FirebaseCoreInternal.framework/FirebaseCoreInternal + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FirebaseCoreInternal.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal new file mode 100644 index 00000000000..0ac5f26f355 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..346cfaddf2e Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..3fb515ffdd3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + 1C8F.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h new file mode 100644 index 00000000000..0e8002a2d35 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h @@ -0,0 +1,365 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h new file mode 100644 index 00000000000..559d38b3dc9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseCoreInternalVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreInternalVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Info.plist new file mode 100644 index 00000000000..aff641566ce --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreInternal + CFBundleIdentifier + org.cocoapods.FirebaseCoreInternal + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreInternal + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo new file mode 100644 index 00000000000..f612e1d53fc Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios.abi.json new file mode 100644 index 00000000000..ddc26c4e396 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios.abi.json @@ -0,0 +1,1990 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<τ_0_0 where τ_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios.private.swiftinterface new file mode 100644 index 00000000000..89a8ba9865b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 00000000000..bbabd385f41 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 00000000000..89a8ba9865b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/module.modulemap new file mode 100644 index 00000000000..1fbf363682d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64/FirebaseCoreInternal.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseCoreInternal { + umbrella header "FirebaseCoreInternal-umbrella.h" + + export * + module * { export * } +} + +module FirebaseCoreInternal.Swift { + header "FirebaseCoreInternal-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/FirebaseCoreInternal b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/FirebaseCoreInternal new file mode 120000 index 00000000000..1dbed41f97d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/FirebaseCoreInternal @@ -0,0 +1 @@ +Versions/Current/FirebaseCoreInternal \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/FirebaseCoreInternal b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/FirebaseCoreInternal new file mode 100644 index 00000000000..5e273b7d79f Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/FirebaseCoreInternal differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Headers/FirebaseCoreInternal-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Headers/FirebaseCoreInternal-Swift.h new file mode 100644 index 00000000000..46aa3fae3c2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Headers/FirebaseCoreInternal-Swift.h @@ -0,0 +1,726 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Headers/FirebaseCoreInternal-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Headers/FirebaseCoreInternal-umbrella.h new file mode 100644 index 00000000000..559d38b3dc9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Headers/FirebaseCoreInternal-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseCoreInternalVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreInternalVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo new file mode 100644 index 00000000000..daeae7bd972 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo new file mode 100644 index 00000000000..dab1848fd89 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-macabi.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-macabi.abi.json new file mode 100644 index 00000000000..ddc26c4e396 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-macabi.abi.json @@ -0,0 +1,1990 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<τ_0_0 where τ_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface new file mode 100644 index 00000000000..7ff2ef22dd0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 00000000000..26bf46a8266 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 00000000000..7ff2ef22dd0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-macabi.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-macabi.abi.json new file mode 100644 index 00000000000..ddc26c4e396 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-macabi.abi.json @@ -0,0 +1,1990 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<τ_0_0 where τ_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface new file mode 100644 index 00000000000..9a56d566b13 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 00000000000..fe5a67289f4 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 00000000000..9a56d566b13 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..1fbf363682d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseCoreInternal { + umbrella header "FirebaseCoreInternal-umbrella.h" + + export * + module * { export * } +} + +module FirebaseCoreInternal.Swift { + header "FirebaseCoreInternal-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Resources/FirebaseCoreInternal_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Resources/FirebaseCoreInternal_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..a5f76d83b6d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Resources/FirebaseCoreInternal_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.FirebaseCoreInternal-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreInternal_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Resources/FirebaseCoreInternal_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Resources/FirebaseCoreInternal_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..3fb515ffdd3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Resources/FirebaseCoreInternal_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + 1C8F.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..5ac446f6639 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreInternal + CFBundleIdentifier + org.cocoapods.FirebaseCoreInternal + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreInternal + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCoreInternal.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal new file mode 100644 index 00000000000..0a329c61e46 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..d55bc9b549c Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..3fb515ffdd3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + 1C8F.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h new file mode 100644 index 00000000000..46aa3fae3c2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h @@ -0,0 +1,726 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h new file mode 100644 index 00000000000..559d38b3dc9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseCoreInternalVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreInternalVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Info.plist new file mode 100644 index 00000000000..56ce7c0f356 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreInternal + CFBundleIdentifier + org.cocoapods.FirebaseCoreInternal + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreInternal + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo new file mode 100644 index 00000000000..b67751cd05a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo new file mode 100644 index 00000000000..a83523f4254 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-simulator.abi.json new file mode 100644 index 00000000000..ddc26c4e396 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -0,0 +1,1990 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<τ_0_0 where τ_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 00000000000..be8cca2f557 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 00000000000..3b02dd0519b Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 00000000000..be8cca2f557 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-simulator.abi.json new file mode 100644 index 00000000000..ddc26c4e396 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -0,0 +1,1990 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<τ_0_0 where τ_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 00000000000..f116e77887f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 00000000000..bcc6bf5a90a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 00000000000..f116e77887f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/module.modulemap new file mode 100644 index 00000000000..1fbf363682d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/ios-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseCoreInternal { + umbrella header "FirebaseCoreInternal-umbrella.h" + + export * + module * { export * } +} + +module FirebaseCoreInternal.Swift { + header "FirebaseCoreInternal-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/FirebaseCoreInternal b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/FirebaseCoreInternal new file mode 120000 index 00000000000..1dbed41f97d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/FirebaseCoreInternal @@ -0,0 +1 @@ +Versions/Current/FirebaseCoreInternal \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/FirebaseCoreInternal b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/FirebaseCoreInternal new file mode 100644 index 00000000000..e1dbbcfb80e Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/FirebaseCoreInternal differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Headers/FirebaseCoreInternal-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Headers/FirebaseCoreInternal-Swift.h new file mode 100644 index 00000000000..46aa3fae3c2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Headers/FirebaseCoreInternal-Swift.h @@ -0,0 +1,726 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Headers/FirebaseCoreInternal-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Headers/FirebaseCoreInternal-umbrella.h new file mode 100644 index 00000000000..b162b2b3ea3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Headers/FirebaseCoreInternal-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseCoreInternalVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreInternalVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo new file mode 100644 index 00000000000..d33c95603b7 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo new file mode 100644 index 00000000000..8a8e563363d Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-macos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-macos.abi.json new file mode 100644 index 00000000000..709ef6901d7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-macos.abi.json @@ -0,0 +1,2025 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<τ_0_0 where τ_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Transferable", + "printedName": "Transferable", + "children": [ + { + "kind": "TypeWitness", + "name": "Representation", + "printedName": "Representation", + "children": [ + { + "kind": "TypeNominal", + "name": "OpaqueTypeArchetype", + "printedName": "some CoreTransferable.TransferRepresentation", + "children": [ + { + "kind": "TypeNominal", + "name": "TransferRepresentation", + "printedName": "CoreTransferable.TransferRepresentation", + "usr": "s:16CoreTransferable22TransferRepresentationP" + }, + { + "kind": "TypeNominal", + "name": "Sendable", + "printedName": "Swift.Sendable", + "usr": "s:s8SendableP" + } + ] + } + ] + } + ], + "usr": "s:16CoreTransferable0B0P", + "mangledName": "$s16CoreTransferable0B0P" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-macos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-macos.private.swiftinterface new file mode 100644 index 00000000000..c76b94f3d59 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-macos.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-macos10.15 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-macos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-macos.swiftdoc new file mode 100644 index 00000000000..d457a2048dc Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-macos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-macos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-macos.swiftinterface new file mode 100644 index 00000000000..c76b94f3d59 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-macos.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-macos10.15 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-macos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-macos.abi.json new file mode 100644 index 00000000000..709ef6901d7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-macos.abi.json @@ -0,0 +1,2025 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<τ_0_0 where τ_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Transferable", + "printedName": "Transferable", + "children": [ + { + "kind": "TypeWitness", + "name": "Representation", + "printedName": "Representation", + "children": [ + { + "kind": "TypeNominal", + "name": "OpaqueTypeArchetype", + "printedName": "some CoreTransferable.TransferRepresentation", + "children": [ + { + "kind": "TypeNominal", + "name": "TransferRepresentation", + "printedName": "CoreTransferable.TransferRepresentation", + "usr": "s:16CoreTransferable22TransferRepresentationP" + }, + { + "kind": "TypeNominal", + "name": "Sendable", + "printedName": "Swift.Sendable", + "usr": "s:s8SendableP" + } + ] + } + ] + } + ], + "usr": "s:16CoreTransferable0B0P", + "mangledName": "$s16CoreTransferable0B0P" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-macos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-macos.private.swiftinterface new file mode 100644 index 00000000000..af2f211dcfc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-macos.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-macos10.15 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-macos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-macos.swiftdoc new file mode 100644 index 00000000000..bdc11b69d5a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-macos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-macos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-macos.swiftinterface new file mode 100644 index 00000000000..af2f211dcfc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-macos.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-macos10.15 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..1fbf363682d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseCoreInternal { + umbrella header "FirebaseCoreInternal-umbrella.h" + + export * + module * { export * } +} + +module FirebaseCoreInternal.Swift { + header "FirebaseCoreInternal-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Resources/FirebaseCoreInternal_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Resources/FirebaseCoreInternal_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..9ad19edb941 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Resources/FirebaseCoreInternal_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,46 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.FirebaseCoreInternal-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreInternal_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Resources/FirebaseCoreInternal_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Resources/FirebaseCoreInternal_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..3fb515ffdd3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Resources/FirebaseCoreInternal_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + 1C8F.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..8d1bf9c2f64 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreInternal + CFBundleIdentifier + org.cocoapods.FirebaseCoreInternal + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreInternal + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/macos-arm64_x86_64/FirebaseCoreInternal.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal new file mode 100644 index 00000000000..021a6507d82 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..b1249b47929 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..3fb515ffdd3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + 1C8F.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h new file mode 100644 index 00000000000..0e8002a2d35 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h @@ -0,0 +1,365 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h new file mode 100644 index 00000000000..559d38b3dc9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseCoreInternalVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreInternalVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Info.plist new file mode 100644 index 00000000000..d5707e63d61 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreInternal + CFBundleIdentifier + org.cocoapods.FirebaseCoreInternal + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreInternal + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo new file mode 100644 index 00000000000..74b605063b7 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos.abi.json new file mode 100644 index 00000000000..bb298e8842c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos.abi.json @@ -0,0 +1,1990 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<τ_0_0 where τ_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos.private.swiftinterface new file mode 100644 index 00000000000..41edf8b26ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-tvos13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos.swiftdoc new file mode 100644 index 00000000000..9f80308fd29 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos.swiftinterface new file mode 100644 index 00000000000..41edf8b26ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-tvos13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/module.modulemap new file mode 100644 index 00000000000..1fbf363682d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64/FirebaseCoreInternal.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseCoreInternal { + umbrella header "FirebaseCoreInternal-umbrella.h" + + export * + module * { export * } +} + +module FirebaseCoreInternal.Swift { + header "FirebaseCoreInternal-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal new file mode 100644 index 00000000000..9ccc237caa3 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..a0913c7a889 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..3fb515ffdd3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + 1C8F.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h new file mode 100644 index 00000000000..46aa3fae3c2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h @@ -0,0 +1,726 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h new file mode 100644 index 00000000000..559d38b3dc9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseCoreInternalVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreInternalVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Info.plist new file mode 100644 index 00000000000..4706a3d300c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreInternal + CFBundleIdentifier + org.cocoapods.FirebaseCoreInternal + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreInternal + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo new file mode 100644 index 00000000000..d5aa3410c3a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo new file mode 100644 index 00000000000..c02dd027b5d Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos-simulator.abi.json new file mode 100644 index 00000000000..bb298e8842c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos-simulator.abi.json @@ -0,0 +1,1990 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<τ_0_0 where τ_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface new file mode 100644 index 00000000000..0f38218b725 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-tvos13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos-simulator.swiftdoc new file mode 100644 index 00000000000..2da19796c3d Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos-simulator.swiftinterface new file mode 100644 index 00000000000..0f38218b725 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-tvos13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-tvos-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-tvos-simulator.abi.json new file mode 100644 index 00000000000..bb298e8842c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-tvos-simulator.abi.json @@ -0,0 +1,1990 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<τ_0_0 where τ_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface new file mode 100644 index 00000000000..63802a6a8ce --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-tvos13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc new file mode 100644 index 00000000000..4a0df7ab8cd Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface new file mode 100644 index 00000000000..63802a6a8ce --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-tvos13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/module.modulemap new file mode 100644 index 00000000000..1fbf363682d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/tvos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseCoreInternal { + umbrella header "FirebaseCoreInternal-umbrella.h" + + export * + module * { export * } +} + +module FirebaseCoreInternal.Swift { + header "FirebaseCoreInternal-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/FirebaseCoreInternal b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/FirebaseCoreInternal new file mode 100644 index 00000000000..460140aa0a6 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/FirebaseCoreInternal differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..c52131728c8 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..3fb515ffdd3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + 1C8F.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h new file mode 100644 index 00000000000..8e0cc02971c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h @@ -0,0 +1,726 @@ +#if 0 +#elif defined(__ARM64_ARCH_8_32__) && __ARM64_ARCH_8_32__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h new file mode 100644 index 00000000000..c7a196b242b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseCoreInternalVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreInternalVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Info.plist new file mode 100644 index 00000000000..8020f52aeef --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreInternal + CFBundleIdentifier + org.cocoapods.FirebaseCoreInternal + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreInternal + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchos + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchos10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo new file mode 100644 index 00000000000..03f3f681c7f Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64_32-apple-watchos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64_32-apple-watchos.swiftsourceinfo new file mode 100644 index 00000000000..596ef26384d Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64_32-apple-watchos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos.abi.json new file mode 100644 index 00000000000..ffbf20ad917 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos.abi.json @@ -0,0 +1,1990 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<τ_0_0 where τ_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos.private.swiftinterface new file mode 100644 index 00000000000..6053dde6955 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-watchos7.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos.swiftdoc new file mode 100644 index 00000000000..ea808139814 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos.swiftinterface new file mode 100644 index 00000000000..6053dde6955 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-watchos7.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64_32-apple-watchos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64_32-apple-watchos.abi.json new file mode 100644 index 00000000000..ffbf20ad917 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64_32-apple-watchos.abi.json @@ -0,0 +1,1990 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<τ_0_0 where τ_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64_32-apple-watchos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64_32-apple-watchos.private.swiftinterface new file mode 100644 index 00000000000..1ddcbb3122d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64_32-apple-watchos.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64_32-apple-watchos7.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64_32-apple-watchos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64_32-apple-watchos.swiftdoc new file mode 100644 index 00000000000..c2acb767c07 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64_32-apple-watchos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64_32-apple-watchos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64_32-apple-watchos.swiftinterface new file mode 100644 index 00000000000..1ddcbb3122d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64_32-apple-watchos.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64_32-apple-watchos7.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/module.modulemap new file mode 100644 index 00000000000..1fbf363682d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_arm64_32/FirebaseCoreInternal.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseCoreInternal { + umbrella header "FirebaseCoreInternal-umbrella.h" + + export * + module * { export * } +} + +module FirebaseCoreInternal.Swift { + header "FirebaseCoreInternal-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal new file mode 100644 index 00000000000..40a7165b3ef Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..69ee0100d0a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..3fb515ffdd3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/FirebaseCoreInternal_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,26 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + 1C8F.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h new file mode 100644 index 00000000000..46aa3fae3c2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-Swift.h @@ -0,0 +1,726 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASECOREINTERNAL_SWIFT_H +#define FIREBASECOREINTERNAL_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseCoreInternal",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +@class NSString; +@class FIRHeartbeatsPayload; + +/// An object that provides API to log and flush heartbeats from a synchronized storage container. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") +@interface FIRHeartbeatController : NSObject +/// Public initializer. +/// \param id The id to associate this controller’s heartbeat storage with. +/// +- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; +/// Asynchronously logs a new heartbeat, if needed. +/// note: +/// This API is thread-safe. +/// \param agent The string agent (i.e. Firebase User Agent) to associate the logged +/// heartbeat with. +/// +- (void)log:(NSString * _Nonnull)agent; +/// Synchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (FIRHeartbeatsPayload * _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Synchronously flushes the heartbeat for today. +/// If no heartbeat was logged today, the returned payload is empty. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat. +- (FIRHeartbeatsPayload * _Nonnull)flushHeartbeatFromToday SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A model object representing a payload of heartbeat data intended for sending in network +/// requests. +SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") +@interface FIRHeartbeatsPayload : NSObject +/// Returns a processed payload string intended for use in a HTTP header. +/// +/// returns: +/// A string value from the heartbeats payload. +- (NSString * _Nonnull)headerValue SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value indicating whether the payload is empty. +@property (nonatomic, readonly) BOOL isEmpty; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h new file mode 100644 index 00000000000..c7a196b242b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Headers/FirebaseCoreInternal-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseCoreInternalVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseCoreInternalVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Info.plist new file mode 100644 index 00000000000..619baa232ab --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseCoreInternal + CFBundleIdentifier + org.cocoapods.FirebaseCoreInternal + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseCoreInternal + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchsimulator + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchsimulator10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-watchos-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-watchos-simulator.swiftsourceinfo new file mode 100644 index 00000000000..a619adf8679 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/arm64-apple-watchos-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-watchos-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-watchos-simulator.swiftsourceinfo new file mode 100644 index 00000000000..699859b54ea Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/Project/x86_64-apple-watchos-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos-simulator.abi.json new file mode 100644 index 00000000000..ffbf20ad917 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos-simulator.abi.json @@ -0,0 +1,1990 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos-simulator.private.swiftinterface new file mode 100644 index 00000000000..64086b578b3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos-simulator.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-watchos7.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos-simulator.swiftdoc new file mode 100644 index 00000000000..ba543c12e6d Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos-simulator.swiftinterface new file mode 100644 index 00000000000..64086b578b3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/arm64-apple-watchos-simulator.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-watchos7.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-watchos-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-watchos-simulator.abi.json new file mode 100644 index 00000000000..ffbf20ad917 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-watchos-simulator.abi.json @@ -0,0 +1,1990 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatController", + "printedName": "_ObjC_HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)initWithId:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)log:", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flush", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC5flushAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)flushHeartbeatFromToday", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC05flushE9FromTodayAA01_D19C_HeartbeatsPayloadCyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatController", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatController", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController(im)init", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatController", + "mangledName": "$s20FirebaseCoreInternal25_ObjC_HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatController", + "declAttributes": [ + "AccessControl", + "ObjCMembers", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "_ObjC_HeartbeatsPayload", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCyAcA0eF0Vcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)headerValue", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(py)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)isEmpty", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "_ObjC_HeartbeatsPayload", + "printedName": "FirebaseCoreInternal._ObjC_HeartbeatsPayload", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload(im)init", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadCACycfc", + "moduleName": "FirebaseCoreInternal", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseCoreInternal@objc(cs)FIRHeartbeatsPayload", + "mangledName": "$s20FirebaseCoreInternal23_ObjC_HeartbeatsPayloadC", + "moduleName": "FirebaseCoreInternal", + "objc_name": "FIRHeartbeatsPayload", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatController", + "printedName": "HeartbeatController", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatController", + "printedName": "FirebaseCoreInternal.HeartbeatController", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC2idACSS_tcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Convenience", + "AccessControl", + "RawDocComment" + ], + "init_kind": "Convenience" + }, + { + "kind": "Function", + "name": "log", + "printedName": "log(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC3logyySSF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flush", + "printedName": "flush()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC5flushAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "flushHeartbeatFromToday", + "printedName": "flushHeartbeatFromToday()", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC05flushD9FromTodayAA17HeartbeatsPayloadVyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "DiscardableResult", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:20FirebaseCoreInternal19HeartbeatControllerC", + "mangledName": "$s20FirebaseCoreInternal19HeartbeatControllerC", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "GoogleUtilities", + "printedName": "GoogleUtilities", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "ImplementationOnly" + ] + }, + { + "kind": "TypeDecl", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "children": [ + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseCoreInternal.HTTPHeaderRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "HeartbeatsPayload", + "printedName": "HeartbeatsPayload", + "children": [ + { + "kind": "Var", + "name": "isEmpty", + "printedName": "isEmpty", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvp", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV7isEmptySbvg", + "moduleName": "FirebaseCoreInternal", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseCoreInternal", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "headerValue", + "printedName": "headerValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV11headerValueSSyF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "dateFormatter", + "printedName": "dateFormatter", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Var", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvpZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "DateFormatter", + "printedName": "Foundation.DateFormatter", + "usr": "c:objc(cs)NSDateFormatter" + } + ], + "declKind": "Accessor", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV13dateFormatterSo06NSDateG0CvgZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + }, + { + "kind": "TypeNominal", + "name": "HeartbeatsPayload", + "printedName": "FirebaseCoreInternal.HeartbeatsPayload", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV" + } + ], + "declKind": "Func", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseCoreInternal", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:20FirebaseCoreInternal17HeartbeatsPayloadV", + "mangledName": "$s20FirebaseCoreInternal17HeartbeatsPayloadV", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "HTTPHeaderRepresentable", + "printedName": "HTTPHeaderRepresentable", + "usr": "s:20FirebaseCoreInternal23HTTPHeaderRepresentableP", + "mangledName": "$s20FirebaseCoreInternal23HTTPHeaderRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Data", + "printedName": "Data", + "children": [ + { + "kind": "Function", + "name": "base64URLEncodedString", + "printedName": "base64URLEncodedString(options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64EncodingOptions", + "printedName": "Foundation.NSData.Base64EncodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64EncodingOptions" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE22base64URLEncodedString7optionsSSSo27NSDataBase64EncodingOptionsV_tF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(base64URLEncoded:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Base64DecodingOptions", + "printedName": "Foundation.NSData.Base64DecodingOptions", + "hasDefaultArg": true, + "usr": "c:@E@NSDataBase64DecodingOptions" + } + ], + "declKind": "Constructor", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE16base64URLEncoded7optionsACSgSS_So27NSDataBase64DecodingOptionsVtcfc", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "zipped", + "printedName": "zipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE6zippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "unzipped", + "printedName": "unzipped()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "mangledName": "$s10Foundation4DataV20FirebaseCoreInternalE8unzippedACyKF", + "moduleName": "FirebaseCoreInternal", + "declAttributes": [ + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:10Foundation4DataV", + "mangledName": "$s10Foundation4DataV", + "moduleName": "Foundation", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", + "declAttributes": [ + "Frozen", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Foundation.Data.Iterator", + "usr": "s:10Foundation4DataV8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ReferenceConvertible", + "printedName": "ReferenceConvertible", + "children": [ + { + "kind": "TypeWitness", + "name": "ReferenceType", + "printedName": "ReferenceType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:10Foundation20ReferenceConvertibleP", + "mangledName": "$s10Foundation20ReferenceConvertibleP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSData", + "printedName": "Foundation.NSData", + "usr": "c:objc(cs)NSData" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 763, + "length": 25, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatController\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/_ObjC_HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 755, + "length": 23, + "value": "\"FirebaseCoreInternal._ObjC_HeartbeatsPayload\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 982, + "length": 5, + "value": "86400" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 869, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "IntegerLiteral", + "offset": 1167, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Heartbeat.swift", + "kind": "Array", + "offset": 2219, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "StringLiteral", + "offset": 987, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1053, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatController.swift", + "kind": "IntegerLiteral", + "offset": 1421, + "length": 2, + "value": "30" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "IntegerLiteral", + "offset": 2471, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3670, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3681, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3744, + "length": 46, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3763, + "length": 5, + "value": "\" error\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "StringLiteral", + "offset": 3789, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsBundle.swift", + "kind": "Array", + "offset": 4657, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 1682, + "length": 1, + "value": "2" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 2264, + "length": 12, + "value": "\"heartbeats\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 2595, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4122, + "length": 12, + "value": "\"yyyy-MM-dd\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4177, + "length": 13, + "value": "\"en_US_POSIX\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 4242, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 4704, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4778, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4789, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4826, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4837, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4874, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 4885, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "Array", + "offset": 5266, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5344, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5355, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5392, + "length": 3, + "value": "\"-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5403, + "length": 3, + "value": "\"+\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "IntegerLiteral", + "offset": 5538, + "length": 1, + "value": "4" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatsPayload.swift", + "kind": "StringLiteral", + "offset": 5570, + "length": 3, + "value": "\"=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1921, + "length": 29, + "value": "\"com.heartbeat.storage.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "StringLiteral", + "offset": 1949, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/HeartbeatStorage.swift", + "kind": "Dictionary", + "offset": 2159, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1233, + "length": 62, + "value": "\"Out-of-bounds push at index \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1274, + "length": 2, + "value": "\" to ring buffer with\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1308, + "length": 27, + "value": "\"end index of \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "StringLiteral", + "offset": 1333, + "length": 1, + "value": "\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 1993, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2500, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 2931, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3107, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/RingBuffer.swift", + "kind": "IntegerLiteral", + "offset": 3198, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/Storage.swift", + "kind": "BooleanLiteral", + "offset": 3154, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 758, + "length": 26, + "value": "\"google-heartbeat-storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 905, + "length": 30, + "value": "\"com.google.heartbeat.storage\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 3, + "value": "\":\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1470, + "length": 3, + "value": "\"_\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 27, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1634, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "BooleanLiteral", + "offset": 1702, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2367, + "length": 18, + "value": "\"heartbeats-\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseCoreInternal\/FirebaseCore\/Internal\/Sources\/HeartbeatLogging\/StorageFactory.swift", + "kind": "StringLiteral", + "offset": 2384, + "length": 1, + "value": "\"\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-watchos-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-watchos-simulator.private.swiftinterface new file mode 100644 index 00000000000..28081853b0e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-watchos-simulator.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-watchos7.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-watchos-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-watchos-simulator.swiftdoc new file mode 100644 index 00000000000..7c1348986ba Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-watchos-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-watchos-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-watchos-simulator.swiftinterface new file mode 100644 index 00000000000..28081853b0e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/FirebaseCoreInternal.swiftmodule/x86_64-apple-watchos-simulator.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-watchos7.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseCoreInternal +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import FirebaseCoreInternal +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { + @objc public init(id: Swift.String) + @objc public func log(_ agent: Swift.String) + @objc public func flush() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc public func flushHeartbeatFromToday() -> FirebaseCoreInternal._ObjC_HeartbeatsPayload + @objc deinit +} +@objc(FIRHeartbeatsPayload) public class _ObjC_HeartbeatsPayload : ObjectiveC.NSObject, FirebaseCoreInternal.HTTPHeaderRepresentable { + public init(_ heartbeatsPayload: FirebaseCoreInternal.HeartbeatsPayload) + @objc public func headerValue() -> Swift.String + @objc public var isEmpty: Swift.Bool { + @objc get + } + @objc deinit +} +@_hasMissingDesignatedInitializers final public class HeartbeatController { + convenience public init(id: Swift.String) + final public func log(_ agent: Swift.String) + @discardableResult + final public func flush() -> FirebaseCoreInternal.HeartbeatsPayload + @discardableResult + final public func flushHeartbeatFromToday() -> FirebaseCoreInternal.HeartbeatsPayload + @objc deinit +} +public protocol HTTPHeaderRepresentable { + func headerValue() -> Swift.String +} +public struct HeartbeatsPayload : Swift.Codable, Swift.Sendable { + public var isEmpty: Swift.Bool { + get + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseCoreInternal.HeartbeatsPayload : FirebaseCoreInternal.HTTPHeaderRepresentable { + public func headerValue() -> Swift.String +} +extension FirebaseCoreInternal.HeartbeatsPayload { + public static let dateFormatter: Foundation.DateFormatter +} +extension FirebaseCoreInternal.HeartbeatsPayload : Swift.Equatable { + public static func == (a: FirebaseCoreInternal.HeartbeatsPayload, b: FirebaseCoreInternal.HeartbeatsPayload) -> Swift.Bool +} +extension Foundation.Data { + public func base64URLEncodedString(options: Foundation.Data.Base64EncodingOptions = []) -> Swift.String + public init?(base64URLEncoded base64URLString: Swift.String, options: Foundation.Data.Base64DecodingOptions = []) + public func zipped() throws -> Foundation.Data + public func unzipped() throws -> Foundation.Data +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/module.modulemap new file mode 100644 index 00000000000..1fbf363682d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseCoreInternal.xcframework/watchos-arm64_x86_64-simulator/FirebaseCoreInternal.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseCoreInternal { + umbrella header "FirebaseCoreInternal-umbrella.h" + + export * + module * { export * } +} + +module FirebaseCoreInternal.Swift { + header "FirebaseCoreInternal-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/Info.plist new file mode 100644 index 00000000000..fa7095072f2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/Info.plist @@ -0,0 +1,139 @@ + + + + + AvailableLibraries + + + BinaryPath + FirebaseInstallations.framework/Versions/A/FirebaseInstallations + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + FirebaseInstallations.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + BinaryPath + FirebaseInstallations.framework/FirebaseInstallations + LibraryIdentifier + tvos-arm64 + LibraryPath + FirebaseInstallations.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + FirebaseInstallations.framework/FirebaseInstallations + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FirebaseInstallations.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseInstallations.framework/Versions/A/FirebaseInstallations + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FirebaseInstallations.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + BinaryPath + FirebaseInstallations.framework/FirebaseInstallations + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FirebaseInstallations.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseInstallations.framework/FirebaseInstallations + LibraryIdentifier + watchos-arm64_arm64_32 + LibraryPath + FirebaseInstallations.framework + SupportedArchitectures + + arm64 + arm64_32 + + SupportedPlatform + watchos + + + BinaryPath + FirebaseInstallations.framework/FirebaseInstallations + LibraryIdentifier + ios-arm64 + LibraryPath + FirebaseInstallations.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + FirebaseInstallations.framework/FirebaseInstallations + LibraryIdentifier + watchos-arm64_x86_64-simulator + LibraryPath + FirebaseInstallations.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + watchos + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/FirebaseInstallations b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/FirebaseInstallations new file mode 100644 index 00000000000..12053bb74eb Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/FirebaseInstallations differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..b3e5b8f78c8 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1e83fa67acd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,30 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FIRInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FIRInstallations.h new file mode 100644 index 00000000000..1811d2bbdf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FIRInstallations.h @@ -0,0 +1,127 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRInstallationsAuthTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +/** A notification with this name is sent each time an installation is created or deleted. */ +// clang-format off +// clang-format12 merges the next two lines. +FOUNDATION_EXPORT const NSNotificationName FIRInstallationIDDidChangeNotification + NS_SWIFT_NAME(InstallationIDDidChange); +/** `userInfo` key for the `FirebaseApp.name` in `InstallationIDDidChangeNotification`. */ +FOUNDATION_EXPORT NSString *const kFIRInstallationIDDidChangeNotificationAppNameKey + NS_SWIFT_NAME(InstallationIDDidChangeAppNameKey); +// clang-format on + +/** + * An installation ID handler block. + * @param identifier The installation ID string if exists or `nil` otherwise. + * @param error The error when `identifier == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsIDHandler)(NSString *__nullable identifier, + NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * An authorization token handler block. + * @param tokenResult An instance of `InstallationsAuthTokenResult` in case of success or `nil` + * otherwise. + * @param error The error when `tokenResult == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsTokenHandler)( + FIRInstallationsAuthTokenResult *__nullable tokenResult, NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The class provides API for Firebase Installations. + * Each configured `FirebaseApp` has a corresponding single instance of `Installations`. + * An instance of the class provides access to the installation info for the `FirebaseApp` as well + * as the ability to delete it. A Firebase Installation is unique by `FirebaseApp.name` and + * `FirebaseApp.options.googleAppID` . + */ +NS_SWIFT_NAME(Installations) +@interface FIRInstallations : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** + * Returns a default instance of `Installations`. + * @return An instance of `Installations` for `FirebaseApp.defaultApp(). + * @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` + * options are missing. + */ ++ (FIRInstallations *)installations NS_SWIFT_NAME(installations()); + +/** + * Returns an instance of `Installations` for an application. + * @param application A configured `FirebaseApp` instance. + * @return An instance of `Installations` corresponding to the passed application. + * @throw Throws an exception if required `FirebaseApp` options are missing. + */ ++ (FIRInstallations *)installationsWithApp:(FIRApp *)application NS_SWIFT_NAME(installations(app:)); + +/** + * The method creates or retrieves an installation ID. The installation ID is a stable identifier + * that uniquely identifies the app instance. NOTE: If the application already has an existing + * FirebaseInstanceID then the InstanceID identifier will be used. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)installationIDWithCompletion:(void (^)(NSString *__nullable identifier, + NSError *__nullable error))completion; + +/** + * Retrieves (locally if it exists or from the server) a valid installation auth token. An existing + * token may be invalidated or expired, so it is recommended to fetch the installation auth token + * before each server request. The method does the same as + * `Installations.authToken(forcingRefresh:completion:)` with forcing refresh `false`. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)authTokenWithCompletion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Retrieves (locally or from the server depending on `forceRefresh` value) a valid installation + * auth token. An existing token may be invalidated or expire, so it is recommended to fetch the + * installation auth token before each server request. This method should be used with `forceRefresh + * == true` when e.g. a request with the previously fetched installation auth token failed with "Not + * Authorized" error. + * @param forceRefresh If `true` then the locally cached installation auth token will be ignored and + * a new one will be requested from the server. If `false`, then the locally cached installation + * auth token will be returned if exists and has not expired yet. + * @param completion A completion handler which is invoked when the operation completes. See + * `InstallationsTokenHandler` for additional details. + */ +- (void)authTokenForcingRefresh:(BOOL)forceRefresh + completion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Deletes all the installation data including the unique identifier, auth tokens and + * all related data on the server side. A network connection is required for the method to + * succeed. If fails, the existing installation data remains untouched. + * @param completion A completion handler which is invoked when the operation completes. `error == + * nil` indicates success. + */ +- (void)deleteWithCompletion:(void (^)(NSError *__nullable error))completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h new file mode 100644 index 00000000000..501ac4e1425 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h @@ -0,0 +1,33 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** The class represents a result of the installation auth token request. */ +NS_SWIFT_NAME(InstallationsAuthTokenResult) +@interface FIRInstallationsAuthTokenResult : NSObject + +/** The installation auth token string. */ +@property(nonatomic, readonly) NSString *authToken; + +/** The installation auth token expiration date. */ +@property(nonatomic, readonly) NSDate *expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h new file mode 100644 index 00000000000..939ca0a7987 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h @@ -0,0 +1,35 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +extern NSString *const kFirebaseInstallationsErrorDomain NS_SWIFT_NAME(InstallationsErrorDomain); + +typedef NS_ERROR_ENUM(kFirebaseInstallationsErrorDomain, FIRInstallationsErrorCode){ + /** Unknown error. See `userInfo` for details. */ + FIRInstallationsErrorCodeUnknown = 0, + + /** Keychain error. See `userInfo` for details. */ + FIRInstallationsErrorCodeKeychain = 1, + + /** Server unreachable. A network error or server is unavailable. See `userInfo` for details. */ + FIRInstallationsErrorCodeServerUnreachable = 2, + + /** FirebaseApp configuration issues e.g. invalid GMP-App-ID, etc. See `userInfo` for details. + */ + FIRInstallationsErrorCodeInvalidConfiguration = 3, + +} NS_SWIFT_NAME(InstallationsErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h new file mode 100644 index 00000000000..431ef457d8c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h @@ -0,0 +1,20 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FirebaseInstallations.h" +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" + +FOUNDATION_EXPORT double FirebaseInstallationsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseInstallationsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FirebaseInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FirebaseInstallations.h new file mode 100644 index 00000000000..8a9b3c14460 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Headers/FirebaseInstallations.h @@ -0,0 +1,19 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Info.plist new file mode 100644 index 00000000000..9a227a0f995 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseInstallations + CFBundleIdentifier + org.cocoapods.FirebaseInstallations + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseInstallations + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Modules/module.modulemap new file mode 100644 index 00000000000..be6b28fcb8a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64/FirebaseInstallations.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseInstallations { +umbrella header "FirebaseInstallations-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/FirebaseInstallations b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/FirebaseInstallations new file mode 120000 index 00000000000..64e8c8a61ba --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/FirebaseInstallations @@ -0,0 +1 @@ +Versions/Current/FirebaseInstallations \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/FirebaseInstallations b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/FirebaseInstallations new file mode 100644 index 00000000000..822486c93d0 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/FirebaseInstallations differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallations.h new file mode 100644 index 00000000000..1811d2bbdf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallations.h @@ -0,0 +1,127 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRInstallationsAuthTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +/** A notification with this name is sent each time an installation is created or deleted. */ +// clang-format off +// clang-format12 merges the next two lines. +FOUNDATION_EXPORT const NSNotificationName FIRInstallationIDDidChangeNotification + NS_SWIFT_NAME(InstallationIDDidChange); +/** `userInfo` key for the `FirebaseApp.name` in `InstallationIDDidChangeNotification`. */ +FOUNDATION_EXPORT NSString *const kFIRInstallationIDDidChangeNotificationAppNameKey + NS_SWIFT_NAME(InstallationIDDidChangeAppNameKey); +// clang-format on + +/** + * An installation ID handler block. + * @param identifier The installation ID string if exists or `nil` otherwise. + * @param error The error when `identifier == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsIDHandler)(NSString *__nullable identifier, + NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * An authorization token handler block. + * @param tokenResult An instance of `InstallationsAuthTokenResult` in case of success or `nil` + * otherwise. + * @param error The error when `tokenResult == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsTokenHandler)( + FIRInstallationsAuthTokenResult *__nullable tokenResult, NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The class provides API for Firebase Installations. + * Each configured `FirebaseApp` has a corresponding single instance of `Installations`. + * An instance of the class provides access to the installation info for the `FirebaseApp` as well + * as the ability to delete it. A Firebase Installation is unique by `FirebaseApp.name` and + * `FirebaseApp.options.googleAppID` . + */ +NS_SWIFT_NAME(Installations) +@interface FIRInstallations : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** + * Returns a default instance of `Installations`. + * @return An instance of `Installations` for `FirebaseApp.defaultApp(). + * @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` + * options are missing. + */ ++ (FIRInstallations *)installations NS_SWIFT_NAME(installations()); + +/** + * Returns an instance of `Installations` for an application. + * @param application A configured `FirebaseApp` instance. + * @return An instance of `Installations` corresponding to the passed application. + * @throw Throws an exception if required `FirebaseApp` options are missing. + */ ++ (FIRInstallations *)installationsWithApp:(FIRApp *)application NS_SWIFT_NAME(installations(app:)); + +/** + * The method creates or retrieves an installation ID. The installation ID is a stable identifier + * that uniquely identifies the app instance. NOTE: If the application already has an existing + * FirebaseInstanceID then the InstanceID identifier will be used. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)installationIDWithCompletion:(void (^)(NSString *__nullable identifier, + NSError *__nullable error))completion; + +/** + * Retrieves (locally if it exists or from the server) a valid installation auth token. An existing + * token may be invalidated or expired, so it is recommended to fetch the installation auth token + * before each server request. The method does the same as + * `Installations.authToken(forcingRefresh:completion:)` with forcing refresh `false`. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)authTokenWithCompletion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Retrieves (locally or from the server depending on `forceRefresh` value) a valid installation + * auth token. An existing token may be invalidated or expire, so it is recommended to fetch the + * installation auth token before each server request. This method should be used with `forceRefresh + * == true` when e.g. a request with the previously fetched installation auth token failed with "Not + * Authorized" error. + * @param forceRefresh If `true` then the locally cached installation auth token will be ignored and + * a new one will be requested from the server. If `false`, then the locally cached installation + * auth token will be returned if exists and has not expired yet. + * @param completion A completion handler which is invoked when the operation completes. See + * `InstallationsTokenHandler` for additional details. + */ +- (void)authTokenForcingRefresh:(BOOL)forceRefresh + completion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Deletes all the installation data including the unique identifier, auth tokens and + * all related data on the server side. A network connection is required for the method to + * succeed. If fails, the existing installation data remains untouched. + * @param completion A completion handler which is invoked when the operation completes. `error == + * nil` indicates success. + */ +- (void)deleteWithCompletion:(void (^)(NSError *__nullable error))completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallationsAuthTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallationsAuthTokenResult.h new file mode 100644 index 00000000000..501ac4e1425 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallationsAuthTokenResult.h @@ -0,0 +1,33 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** The class represents a result of the installation auth token request. */ +NS_SWIFT_NAME(InstallationsAuthTokenResult) +@interface FIRInstallationsAuthTokenResult : NSObject + +/** The installation auth token string. */ +@property(nonatomic, readonly) NSString *authToken; + +/** The installation auth token expiration date. */ +@property(nonatomic, readonly) NSDate *expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallationsErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallationsErrors.h new file mode 100644 index 00000000000..939ca0a7987 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallationsErrors.h @@ -0,0 +1,35 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +extern NSString *const kFirebaseInstallationsErrorDomain NS_SWIFT_NAME(InstallationsErrorDomain); + +typedef NS_ERROR_ENUM(kFirebaseInstallationsErrorDomain, FIRInstallationsErrorCode){ + /** Unknown error. See `userInfo` for details. */ + FIRInstallationsErrorCodeUnknown = 0, + + /** Keychain error. See `userInfo` for details. */ + FIRInstallationsErrorCodeKeychain = 1, + + /** Server unreachable. A network error or server is unavailable. See `userInfo` for details. */ + FIRInstallationsErrorCodeServerUnreachable = 2, + + /** FirebaseApp configuration issues e.g. invalid GMP-App-ID, etc. See `userInfo` for details. + */ + FIRInstallationsErrorCodeInvalidConfiguration = 3, + +} NS_SWIFT_NAME(InstallationsErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FirebaseInstallations-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FirebaseInstallations-umbrella.h new file mode 100644 index 00000000000..431ef457d8c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FirebaseInstallations-umbrella.h @@ -0,0 +1,20 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FirebaseInstallations.h" +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" + +FOUNDATION_EXPORT double FirebaseInstallationsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseInstallationsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FirebaseInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FirebaseInstallations.h new file mode 100644 index 00000000000..8a9b3c14460 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Headers/FirebaseInstallations.h @@ -0,0 +1,19 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..be6b28fcb8a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseInstallations { +umbrella header "FirebaseInstallations-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Resources/FirebaseInstallations_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Resources/FirebaseInstallations_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..c38be850c67 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Resources/FirebaseInstallations_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.FirebaseInstallations-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseInstallations_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Resources/FirebaseInstallations_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Resources/FirebaseInstallations_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1e83fa67acd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Resources/FirebaseInstallations_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,30 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..64cc0cd12a5 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseInstallations + CFBundleIdentifier + org.cocoapods.FirebaseInstallations + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseInstallations + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseInstallations.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations new file mode 100644 index 00000000000..757cd3398a6 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..a18f769fb7e Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1e83fa67acd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,30 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallations.h new file mode 100644 index 00000000000..1811d2bbdf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallations.h @@ -0,0 +1,127 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRInstallationsAuthTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +/** A notification with this name is sent each time an installation is created or deleted. */ +// clang-format off +// clang-format12 merges the next two lines. +FOUNDATION_EXPORT const NSNotificationName FIRInstallationIDDidChangeNotification + NS_SWIFT_NAME(InstallationIDDidChange); +/** `userInfo` key for the `FirebaseApp.name` in `InstallationIDDidChangeNotification`. */ +FOUNDATION_EXPORT NSString *const kFIRInstallationIDDidChangeNotificationAppNameKey + NS_SWIFT_NAME(InstallationIDDidChangeAppNameKey); +// clang-format on + +/** + * An installation ID handler block. + * @param identifier The installation ID string if exists or `nil` otherwise. + * @param error The error when `identifier == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsIDHandler)(NSString *__nullable identifier, + NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * An authorization token handler block. + * @param tokenResult An instance of `InstallationsAuthTokenResult` in case of success or `nil` + * otherwise. + * @param error The error when `tokenResult == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsTokenHandler)( + FIRInstallationsAuthTokenResult *__nullable tokenResult, NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The class provides API for Firebase Installations. + * Each configured `FirebaseApp` has a corresponding single instance of `Installations`. + * An instance of the class provides access to the installation info for the `FirebaseApp` as well + * as the ability to delete it. A Firebase Installation is unique by `FirebaseApp.name` and + * `FirebaseApp.options.googleAppID` . + */ +NS_SWIFT_NAME(Installations) +@interface FIRInstallations : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** + * Returns a default instance of `Installations`. + * @return An instance of `Installations` for `FirebaseApp.defaultApp(). + * @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` + * options are missing. + */ ++ (FIRInstallations *)installations NS_SWIFT_NAME(installations()); + +/** + * Returns an instance of `Installations` for an application. + * @param application A configured `FirebaseApp` instance. + * @return An instance of `Installations` corresponding to the passed application. + * @throw Throws an exception if required `FirebaseApp` options are missing. + */ ++ (FIRInstallations *)installationsWithApp:(FIRApp *)application NS_SWIFT_NAME(installations(app:)); + +/** + * The method creates or retrieves an installation ID. The installation ID is a stable identifier + * that uniquely identifies the app instance. NOTE: If the application already has an existing + * FirebaseInstanceID then the InstanceID identifier will be used. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)installationIDWithCompletion:(void (^)(NSString *__nullable identifier, + NSError *__nullable error))completion; + +/** + * Retrieves (locally if it exists or from the server) a valid installation auth token. An existing + * token may be invalidated or expired, so it is recommended to fetch the installation auth token + * before each server request. The method does the same as + * `Installations.authToken(forcingRefresh:completion:)` with forcing refresh `false`. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)authTokenWithCompletion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Retrieves (locally or from the server depending on `forceRefresh` value) a valid installation + * auth token. An existing token may be invalidated or expire, so it is recommended to fetch the + * installation auth token before each server request. This method should be used with `forceRefresh + * == true` when e.g. a request with the previously fetched installation auth token failed with "Not + * Authorized" error. + * @param forceRefresh If `true` then the locally cached installation auth token will be ignored and + * a new one will be requested from the server. If `false`, then the locally cached installation + * auth token will be returned if exists and has not expired yet. + * @param completion A completion handler which is invoked when the operation completes. See + * `InstallationsTokenHandler` for additional details. + */ +- (void)authTokenForcingRefresh:(BOOL)forceRefresh + completion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Deletes all the installation data including the unique identifier, auth tokens and + * all related data on the server side. A network connection is required for the method to + * succeed. If fails, the existing installation data remains untouched. + * @param completion A completion handler which is invoked when the operation completes. `error == + * nil` indicates success. + */ +- (void)deleteWithCompletion:(void (^)(NSError *__nullable error))completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h new file mode 100644 index 00000000000..501ac4e1425 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h @@ -0,0 +1,33 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** The class represents a result of the installation auth token request. */ +NS_SWIFT_NAME(InstallationsAuthTokenResult) +@interface FIRInstallationsAuthTokenResult : NSObject + +/** The installation auth token string. */ +@property(nonatomic, readonly) NSString *authToken; + +/** The installation auth token expiration date. */ +@property(nonatomic, readonly) NSDate *expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h new file mode 100644 index 00000000000..939ca0a7987 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h @@ -0,0 +1,35 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +extern NSString *const kFirebaseInstallationsErrorDomain NS_SWIFT_NAME(InstallationsErrorDomain); + +typedef NS_ERROR_ENUM(kFirebaseInstallationsErrorDomain, FIRInstallationsErrorCode){ + /** Unknown error. See `userInfo` for details. */ + FIRInstallationsErrorCodeUnknown = 0, + + /** Keychain error. See `userInfo` for details. */ + FIRInstallationsErrorCodeKeychain = 1, + + /** Server unreachable. A network error or server is unavailable. See `userInfo` for details. */ + FIRInstallationsErrorCodeServerUnreachable = 2, + + /** FirebaseApp configuration issues e.g. invalid GMP-App-ID, etc. See `userInfo` for details. + */ + FIRInstallationsErrorCodeInvalidConfiguration = 3, + +} NS_SWIFT_NAME(InstallationsErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h new file mode 100644 index 00000000000..431ef457d8c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h @@ -0,0 +1,20 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FirebaseInstallations.h" +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" + +FOUNDATION_EXPORT double FirebaseInstallationsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseInstallationsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations.h new file mode 100644 index 00000000000..8a9b3c14460 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations.h @@ -0,0 +1,19 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Info.plist new file mode 100644 index 00000000000..3932ff5e300 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseInstallations + CFBundleIdentifier + org.cocoapods.FirebaseInstallations + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseInstallations + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Modules/module.modulemap new file mode 100644 index 00000000000..be6b28fcb8a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/ios-arm64_x86_64-simulator/FirebaseInstallations.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseInstallations { +umbrella header "FirebaseInstallations-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/FirebaseInstallations b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/FirebaseInstallations new file mode 120000 index 00000000000..64e8c8a61ba --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/FirebaseInstallations @@ -0,0 +1 @@ +Versions/Current/FirebaseInstallations \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/FirebaseInstallations b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/FirebaseInstallations new file mode 100644 index 00000000000..6f357a76112 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/FirebaseInstallations differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallations.h new file mode 100644 index 00000000000..1811d2bbdf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallations.h @@ -0,0 +1,127 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRInstallationsAuthTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +/** A notification with this name is sent each time an installation is created or deleted. */ +// clang-format off +// clang-format12 merges the next two lines. +FOUNDATION_EXPORT const NSNotificationName FIRInstallationIDDidChangeNotification + NS_SWIFT_NAME(InstallationIDDidChange); +/** `userInfo` key for the `FirebaseApp.name` in `InstallationIDDidChangeNotification`. */ +FOUNDATION_EXPORT NSString *const kFIRInstallationIDDidChangeNotificationAppNameKey + NS_SWIFT_NAME(InstallationIDDidChangeAppNameKey); +// clang-format on + +/** + * An installation ID handler block. + * @param identifier The installation ID string if exists or `nil` otherwise. + * @param error The error when `identifier == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsIDHandler)(NSString *__nullable identifier, + NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * An authorization token handler block. + * @param tokenResult An instance of `InstallationsAuthTokenResult` in case of success or `nil` + * otherwise. + * @param error The error when `tokenResult == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsTokenHandler)( + FIRInstallationsAuthTokenResult *__nullable tokenResult, NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The class provides API for Firebase Installations. + * Each configured `FirebaseApp` has a corresponding single instance of `Installations`. + * An instance of the class provides access to the installation info for the `FirebaseApp` as well + * as the ability to delete it. A Firebase Installation is unique by `FirebaseApp.name` and + * `FirebaseApp.options.googleAppID` . + */ +NS_SWIFT_NAME(Installations) +@interface FIRInstallations : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** + * Returns a default instance of `Installations`. + * @return An instance of `Installations` for `FirebaseApp.defaultApp(). + * @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` + * options are missing. + */ ++ (FIRInstallations *)installations NS_SWIFT_NAME(installations()); + +/** + * Returns an instance of `Installations` for an application. + * @param application A configured `FirebaseApp` instance. + * @return An instance of `Installations` corresponding to the passed application. + * @throw Throws an exception if required `FirebaseApp` options are missing. + */ ++ (FIRInstallations *)installationsWithApp:(FIRApp *)application NS_SWIFT_NAME(installations(app:)); + +/** + * The method creates or retrieves an installation ID. The installation ID is a stable identifier + * that uniquely identifies the app instance. NOTE: If the application already has an existing + * FirebaseInstanceID then the InstanceID identifier will be used. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)installationIDWithCompletion:(void (^)(NSString *__nullable identifier, + NSError *__nullable error))completion; + +/** + * Retrieves (locally if it exists or from the server) a valid installation auth token. An existing + * token may be invalidated or expired, so it is recommended to fetch the installation auth token + * before each server request. The method does the same as + * `Installations.authToken(forcingRefresh:completion:)` with forcing refresh `false`. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)authTokenWithCompletion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Retrieves (locally or from the server depending on `forceRefresh` value) a valid installation + * auth token. An existing token may be invalidated or expire, so it is recommended to fetch the + * installation auth token before each server request. This method should be used with `forceRefresh + * == true` when e.g. a request with the previously fetched installation auth token failed with "Not + * Authorized" error. + * @param forceRefresh If `true` then the locally cached installation auth token will be ignored and + * a new one will be requested from the server. If `false`, then the locally cached installation + * auth token will be returned if exists and has not expired yet. + * @param completion A completion handler which is invoked when the operation completes. See + * `InstallationsTokenHandler` for additional details. + */ +- (void)authTokenForcingRefresh:(BOOL)forceRefresh + completion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Deletes all the installation data including the unique identifier, auth tokens and + * all related data on the server side. A network connection is required for the method to + * succeed. If fails, the existing installation data remains untouched. + * @param completion A completion handler which is invoked when the operation completes. `error == + * nil` indicates success. + */ +- (void)deleteWithCompletion:(void (^)(NSError *__nullable error))completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallationsAuthTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallationsAuthTokenResult.h new file mode 100644 index 00000000000..501ac4e1425 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallationsAuthTokenResult.h @@ -0,0 +1,33 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** The class represents a result of the installation auth token request. */ +NS_SWIFT_NAME(InstallationsAuthTokenResult) +@interface FIRInstallationsAuthTokenResult : NSObject + +/** The installation auth token string. */ +@property(nonatomic, readonly) NSString *authToken; + +/** The installation auth token expiration date. */ +@property(nonatomic, readonly) NSDate *expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallationsErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallationsErrors.h new file mode 100644 index 00000000000..939ca0a7987 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FIRInstallationsErrors.h @@ -0,0 +1,35 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +extern NSString *const kFirebaseInstallationsErrorDomain NS_SWIFT_NAME(InstallationsErrorDomain); + +typedef NS_ERROR_ENUM(kFirebaseInstallationsErrorDomain, FIRInstallationsErrorCode){ + /** Unknown error. See `userInfo` for details. */ + FIRInstallationsErrorCodeUnknown = 0, + + /** Keychain error. See `userInfo` for details. */ + FIRInstallationsErrorCodeKeychain = 1, + + /** Server unreachable. A network error or server is unavailable. See `userInfo` for details. */ + FIRInstallationsErrorCodeServerUnreachable = 2, + + /** FirebaseApp configuration issues e.g. invalid GMP-App-ID, etc. See `userInfo` for details. + */ + FIRInstallationsErrorCodeInvalidConfiguration = 3, + +} NS_SWIFT_NAME(InstallationsErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FirebaseInstallations-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FirebaseInstallations-umbrella.h new file mode 100644 index 00000000000..4f6338d8fd7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FirebaseInstallations-umbrella.h @@ -0,0 +1,20 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FirebaseInstallations.h" +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" + +FOUNDATION_EXPORT double FirebaseInstallationsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseInstallationsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FirebaseInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FirebaseInstallations.h new file mode 100644 index 00000000000..8a9b3c14460 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Headers/FirebaseInstallations.h @@ -0,0 +1,19 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..3d0ba0d9b65 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseInstallations { +umbrella header "FirebaseInstallations-umbrella.h" +export * +module * { export * } + link framework "AppKit" + link framework "Foundation" + link framework "Security" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Resources/FirebaseInstallations_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Resources/FirebaseInstallations_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..a159e6eab08 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Resources/FirebaseInstallations_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,46 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.FirebaseInstallations-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseInstallations_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Resources/FirebaseInstallations_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Resources/FirebaseInstallations_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1e83fa67acd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Resources/FirebaseInstallations_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,30 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..b9d5476168e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseInstallations + CFBundleIdentifier + org.cocoapods.FirebaseInstallations + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseInstallations + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/macos-arm64_x86_64/FirebaseInstallations.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/FirebaseInstallations b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/FirebaseInstallations new file mode 100644 index 00000000000..5d96541b837 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/FirebaseInstallations differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..1cadb187950 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1e83fa67acd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,30 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FIRInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FIRInstallations.h new file mode 100644 index 00000000000..1811d2bbdf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FIRInstallations.h @@ -0,0 +1,127 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRInstallationsAuthTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +/** A notification with this name is sent each time an installation is created or deleted. */ +// clang-format off +// clang-format12 merges the next two lines. +FOUNDATION_EXPORT const NSNotificationName FIRInstallationIDDidChangeNotification + NS_SWIFT_NAME(InstallationIDDidChange); +/** `userInfo` key for the `FirebaseApp.name` in `InstallationIDDidChangeNotification`. */ +FOUNDATION_EXPORT NSString *const kFIRInstallationIDDidChangeNotificationAppNameKey + NS_SWIFT_NAME(InstallationIDDidChangeAppNameKey); +// clang-format on + +/** + * An installation ID handler block. + * @param identifier The installation ID string if exists or `nil` otherwise. + * @param error The error when `identifier == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsIDHandler)(NSString *__nullable identifier, + NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * An authorization token handler block. + * @param tokenResult An instance of `InstallationsAuthTokenResult` in case of success or `nil` + * otherwise. + * @param error The error when `tokenResult == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsTokenHandler)( + FIRInstallationsAuthTokenResult *__nullable tokenResult, NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The class provides API for Firebase Installations. + * Each configured `FirebaseApp` has a corresponding single instance of `Installations`. + * An instance of the class provides access to the installation info for the `FirebaseApp` as well + * as the ability to delete it. A Firebase Installation is unique by `FirebaseApp.name` and + * `FirebaseApp.options.googleAppID` . + */ +NS_SWIFT_NAME(Installations) +@interface FIRInstallations : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** + * Returns a default instance of `Installations`. + * @return An instance of `Installations` for `FirebaseApp.defaultApp(). + * @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` + * options are missing. + */ ++ (FIRInstallations *)installations NS_SWIFT_NAME(installations()); + +/** + * Returns an instance of `Installations` for an application. + * @param application A configured `FirebaseApp` instance. + * @return An instance of `Installations` corresponding to the passed application. + * @throw Throws an exception if required `FirebaseApp` options are missing. + */ ++ (FIRInstallations *)installationsWithApp:(FIRApp *)application NS_SWIFT_NAME(installations(app:)); + +/** + * The method creates or retrieves an installation ID. The installation ID is a stable identifier + * that uniquely identifies the app instance. NOTE: If the application already has an existing + * FirebaseInstanceID then the InstanceID identifier will be used. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)installationIDWithCompletion:(void (^)(NSString *__nullable identifier, + NSError *__nullable error))completion; + +/** + * Retrieves (locally if it exists or from the server) a valid installation auth token. An existing + * token may be invalidated or expired, so it is recommended to fetch the installation auth token + * before each server request. The method does the same as + * `Installations.authToken(forcingRefresh:completion:)` with forcing refresh `false`. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)authTokenWithCompletion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Retrieves (locally or from the server depending on `forceRefresh` value) a valid installation + * auth token. An existing token may be invalidated or expire, so it is recommended to fetch the + * installation auth token before each server request. This method should be used with `forceRefresh + * == true` when e.g. a request with the previously fetched installation auth token failed with "Not + * Authorized" error. + * @param forceRefresh If `true` then the locally cached installation auth token will be ignored and + * a new one will be requested from the server. If `false`, then the locally cached installation + * auth token will be returned if exists and has not expired yet. + * @param completion A completion handler which is invoked when the operation completes. See + * `InstallationsTokenHandler` for additional details. + */ +- (void)authTokenForcingRefresh:(BOOL)forceRefresh + completion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Deletes all the installation data including the unique identifier, auth tokens and + * all related data on the server side. A network connection is required for the method to + * succeed. If fails, the existing installation data remains untouched. + * @param completion A completion handler which is invoked when the operation completes. `error == + * nil` indicates success. + */ +- (void)deleteWithCompletion:(void (^)(NSError *__nullable error))completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h new file mode 100644 index 00000000000..501ac4e1425 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h @@ -0,0 +1,33 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** The class represents a result of the installation auth token request. */ +NS_SWIFT_NAME(InstallationsAuthTokenResult) +@interface FIRInstallationsAuthTokenResult : NSObject + +/** The installation auth token string. */ +@property(nonatomic, readonly) NSString *authToken; + +/** The installation auth token expiration date. */ +@property(nonatomic, readonly) NSDate *expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h new file mode 100644 index 00000000000..939ca0a7987 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h @@ -0,0 +1,35 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +extern NSString *const kFirebaseInstallationsErrorDomain NS_SWIFT_NAME(InstallationsErrorDomain); + +typedef NS_ERROR_ENUM(kFirebaseInstallationsErrorDomain, FIRInstallationsErrorCode){ + /** Unknown error. See `userInfo` for details. */ + FIRInstallationsErrorCodeUnknown = 0, + + /** Keychain error. See `userInfo` for details. */ + FIRInstallationsErrorCodeKeychain = 1, + + /** Server unreachable. A network error or server is unavailable. See `userInfo` for details. */ + FIRInstallationsErrorCodeServerUnreachable = 2, + + /** FirebaseApp configuration issues e.g. invalid GMP-App-ID, etc. See `userInfo` for details. + */ + FIRInstallationsErrorCodeInvalidConfiguration = 3, + +} NS_SWIFT_NAME(InstallationsErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h new file mode 100644 index 00000000000..431ef457d8c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h @@ -0,0 +1,20 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FirebaseInstallations.h" +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" + +FOUNDATION_EXPORT double FirebaseInstallationsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseInstallationsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FirebaseInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FirebaseInstallations.h new file mode 100644 index 00000000000..8a9b3c14460 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Headers/FirebaseInstallations.h @@ -0,0 +1,19 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Info.plist new file mode 100644 index 00000000000..c582af685a7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseInstallations + CFBundleIdentifier + org.cocoapods.FirebaseInstallations + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseInstallations + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Modules/module.modulemap new file mode 100644 index 00000000000..be6b28fcb8a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64/FirebaseInstallations.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseInstallations { +umbrella header "FirebaseInstallations-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations new file mode 100644 index 00000000000..0c31443afa1 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..b3037f23bb3 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1e83fa67acd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,30 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallations.h new file mode 100644 index 00000000000..1811d2bbdf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallations.h @@ -0,0 +1,127 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRInstallationsAuthTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +/** A notification with this name is sent each time an installation is created or deleted. */ +// clang-format off +// clang-format12 merges the next two lines. +FOUNDATION_EXPORT const NSNotificationName FIRInstallationIDDidChangeNotification + NS_SWIFT_NAME(InstallationIDDidChange); +/** `userInfo` key for the `FirebaseApp.name` in `InstallationIDDidChangeNotification`. */ +FOUNDATION_EXPORT NSString *const kFIRInstallationIDDidChangeNotificationAppNameKey + NS_SWIFT_NAME(InstallationIDDidChangeAppNameKey); +// clang-format on + +/** + * An installation ID handler block. + * @param identifier The installation ID string if exists or `nil` otherwise. + * @param error The error when `identifier == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsIDHandler)(NSString *__nullable identifier, + NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * An authorization token handler block. + * @param tokenResult An instance of `InstallationsAuthTokenResult` in case of success or `nil` + * otherwise. + * @param error The error when `tokenResult == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsTokenHandler)( + FIRInstallationsAuthTokenResult *__nullable tokenResult, NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The class provides API for Firebase Installations. + * Each configured `FirebaseApp` has a corresponding single instance of `Installations`. + * An instance of the class provides access to the installation info for the `FirebaseApp` as well + * as the ability to delete it. A Firebase Installation is unique by `FirebaseApp.name` and + * `FirebaseApp.options.googleAppID` . + */ +NS_SWIFT_NAME(Installations) +@interface FIRInstallations : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** + * Returns a default instance of `Installations`. + * @return An instance of `Installations` for `FirebaseApp.defaultApp(). + * @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` + * options are missing. + */ ++ (FIRInstallations *)installations NS_SWIFT_NAME(installations()); + +/** + * Returns an instance of `Installations` for an application. + * @param application A configured `FirebaseApp` instance. + * @return An instance of `Installations` corresponding to the passed application. + * @throw Throws an exception if required `FirebaseApp` options are missing. + */ ++ (FIRInstallations *)installationsWithApp:(FIRApp *)application NS_SWIFT_NAME(installations(app:)); + +/** + * The method creates or retrieves an installation ID. The installation ID is a stable identifier + * that uniquely identifies the app instance. NOTE: If the application already has an existing + * FirebaseInstanceID then the InstanceID identifier will be used. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)installationIDWithCompletion:(void (^)(NSString *__nullable identifier, + NSError *__nullable error))completion; + +/** + * Retrieves (locally if it exists or from the server) a valid installation auth token. An existing + * token may be invalidated or expired, so it is recommended to fetch the installation auth token + * before each server request. The method does the same as + * `Installations.authToken(forcingRefresh:completion:)` with forcing refresh `false`. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)authTokenWithCompletion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Retrieves (locally or from the server depending on `forceRefresh` value) a valid installation + * auth token. An existing token may be invalidated or expire, so it is recommended to fetch the + * installation auth token before each server request. This method should be used with `forceRefresh + * == true` when e.g. a request with the previously fetched installation auth token failed with "Not + * Authorized" error. + * @param forceRefresh If `true` then the locally cached installation auth token will be ignored and + * a new one will be requested from the server. If `false`, then the locally cached installation + * auth token will be returned if exists and has not expired yet. + * @param completion A completion handler which is invoked when the operation completes. See + * `InstallationsTokenHandler` for additional details. + */ +- (void)authTokenForcingRefresh:(BOOL)forceRefresh + completion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Deletes all the installation data including the unique identifier, auth tokens and + * all related data on the server side. A network connection is required for the method to + * succeed. If fails, the existing installation data remains untouched. + * @param completion A completion handler which is invoked when the operation completes. `error == + * nil` indicates success. + */ +- (void)deleteWithCompletion:(void (^)(NSError *__nullable error))completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h new file mode 100644 index 00000000000..501ac4e1425 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h @@ -0,0 +1,33 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** The class represents a result of the installation auth token request. */ +NS_SWIFT_NAME(InstallationsAuthTokenResult) +@interface FIRInstallationsAuthTokenResult : NSObject + +/** The installation auth token string. */ +@property(nonatomic, readonly) NSString *authToken; + +/** The installation auth token expiration date. */ +@property(nonatomic, readonly) NSDate *expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h new file mode 100644 index 00000000000..939ca0a7987 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h @@ -0,0 +1,35 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +extern NSString *const kFirebaseInstallationsErrorDomain NS_SWIFT_NAME(InstallationsErrorDomain); + +typedef NS_ERROR_ENUM(kFirebaseInstallationsErrorDomain, FIRInstallationsErrorCode){ + /** Unknown error. See `userInfo` for details. */ + FIRInstallationsErrorCodeUnknown = 0, + + /** Keychain error. See `userInfo` for details. */ + FIRInstallationsErrorCodeKeychain = 1, + + /** Server unreachable. A network error or server is unavailable. See `userInfo` for details. */ + FIRInstallationsErrorCodeServerUnreachable = 2, + + /** FirebaseApp configuration issues e.g. invalid GMP-App-ID, etc. See `userInfo` for details. + */ + FIRInstallationsErrorCodeInvalidConfiguration = 3, + +} NS_SWIFT_NAME(InstallationsErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h new file mode 100644 index 00000000000..431ef457d8c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h @@ -0,0 +1,20 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FirebaseInstallations.h" +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" + +FOUNDATION_EXPORT double FirebaseInstallationsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseInstallationsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations.h new file mode 100644 index 00000000000..8a9b3c14460 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations.h @@ -0,0 +1,19 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Info.plist new file mode 100644 index 00000000000..06a6d1977ef --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseInstallations + CFBundleIdentifier + org.cocoapods.FirebaseInstallations + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseInstallations + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Modules/module.modulemap new file mode 100644 index 00000000000..be6b28fcb8a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/tvos-arm64_x86_64-simulator/FirebaseInstallations.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseInstallations { +umbrella header "FirebaseInstallations-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "UIKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/FirebaseInstallations b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/FirebaseInstallations new file mode 100644 index 00000000000..0d51d3c22b8 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/FirebaseInstallations differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..9b0fed1b173 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1e83fa67acd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,30 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FIRInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FIRInstallations.h new file mode 100644 index 00000000000..1811d2bbdf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FIRInstallations.h @@ -0,0 +1,127 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRInstallationsAuthTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +/** A notification with this name is sent each time an installation is created or deleted. */ +// clang-format off +// clang-format12 merges the next two lines. +FOUNDATION_EXPORT const NSNotificationName FIRInstallationIDDidChangeNotification + NS_SWIFT_NAME(InstallationIDDidChange); +/** `userInfo` key for the `FirebaseApp.name` in `InstallationIDDidChangeNotification`. */ +FOUNDATION_EXPORT NSString *const kFIRInstallationIDDidChangeNotificationAppNameKey + NS_SWIFT_NAME(InstallationIDDidChangeAppNameKey); +// clang-format on + +/** + * An installation ID handler block. + * @param identifier The installation ID string if exists or `nil` otherwise. + * @param error The error when `identifier == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsIDHandler)(NSString *__nullable identifier, + NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * An authorization token handler block. + * @param tokenResult An instance of `InstallationsAuthTokenResult` in case of success or `nil` + * otherwise. + * @param error The error when `tokenResult == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsTokenHandler)( + FIRInstallationsAuthTokenResult *__nullable tokenResult, NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The class provides API for Firebase Installations. + * Each configured `FirebaseApp` has a corresponding single instance of `Installations`. + * An instance of the class provides access to the installation info for the `FirebaseApp` as well + * as the ability to delete it. A Firebase Installation is unique by `FirebaseApp.name` and + * `FirebaseApp.options.googleAppID` . + */ +NS_SWIFT_NAME(Installations) +@interface FIRInstallations : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** + * Returns a default instance of `Installations`. + * @return An instance of `Installations` for `FirebaseApp.defaultApp(). + * @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` + * options are missing. + */ ++ (FIRInstallations *)installations NS_SWIFT_NAME(installations()); + +/** + * Returns an instance of `Installations` for an application. + * @param application A configured `FirebaseApp` instance. + * @return An instance of `Installations` corresponding to the passed application. + * @throw Throws an exception if required `FirebaseApp` options are missing. + */ ++ (FIRInstallations *)installationsWithApp:(FIRApp *)application NS_SWIFT_NAME(installations(app:)); + +/** + * The method creates or retrieves an installation ID. The installation ID is a stable identifier + * that uniquely identifies the app instance. NOTE: If the application already has an existing + * FirebaseInstanceID then the InstanceID identifier will be used. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)installationIDWithCompletion:(void (^)(NSString *__nullable identifier, + NSError *__nullable error))completion; + +/** + * Retrieves (locally if it exists or from the server) a valid installation auth token. An existing + * token may be invalidated or expired, so it is recommended to fetch the installation auth token + * before each server request. The method does the same as + * `Installations.authToken(forcingRefresh:completion:)` with forcing refresh `false`. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)authTokenWithCompletion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Retrieves (locally or from the server depending on `forceRefresh` value) a valid installation + * auth token. An existing token may be invalidated or expire, so it is recommended to fetch the + * installation auth token before each server request. This method should be used with `forceRefresh + * == true` when e.g. a request with the previously fetched installation auth token failed with "Not + * Authorized" error. + * @param forceRefresh If `true` then the locally cached installation auth token will be ignored and + * a new one will be requested from the server. If `false`, then the locally cached installation + * auth token will be returned if exists and has not expired yet. + * @param completion A completion handler which is invoked when the operation completes. See + * `InstallationsTokenHandler` for additional details. + */ +- (void)authTokenForcingRefresh:(BOOL)forceRefresh + completion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Deletes all the installation data including the unique identifier, auth tokens and + * all related data on the server side. A network connection is required for the method to + * succeed. If fails, the existing installation data remains untouched. + * @param completion A completion handler which is invoked when the operation completes. `error == + * nil` indicates success. + */ +- (void)deleteWithCompletion:(void (^)(NSError *__nullable error))completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h new file mode 100644 index 00000000000..501ac4e1425 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h @@ -0,0 +1,33 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** The class represents a result of the installation auth token request. */ +NS_SWIFT_NAME(InstallationsAuthTokenResult) +@interface FIRInstallationsAuthTokenResult : NSObject + +/** The installation auth token string. */ +@property(nonatomic, readonly) NSString *authToken; + +/** The installation auth token expiration date. */ +@property(nonatomic, readonly) NSDate *expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h new file mode 100644 index 00000000000..939ca0a7987 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h @@ -0,0 +1,35 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +extern NSString *const kFirebaseInstallationsErrorDomain NS_SWIFT_NAME(InstallationsErrorDomain); + +typedef NS_ERROR_ENUM(kFirebaseInstallationsErrorDomain, FIRInstallationsErrorCode){ + /** Unknown error. See `userInfo` for details. */ + FIRInstallationsErrorCodeUnknown = 0, + + /** Keychain error. See `userInfo` for details. */ + FIRInstallationsErrorCodeKeychain = 1, + + /** Server unreachable. A network error or server is unavailable. See `userInfo` for details. */ + FIRInstallationsErrorCodeServerUnreachable = 2, + + /** FirebaseApp configuration issues e.g. invalid GMP-App-ID, etc. See `userInfo` for details. + */ + FIRInstallationsErrorCodeInvalidConfiguration = 3, + +} NS_SWIFT_NAME(InstallationsErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h new file mode 100644 index 00000000000..cbe90324886 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h @@ -0,0 +1,20 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FirebaseInstallations.h" +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" + +FOUNDATION_EXPORT double FirebaseInstallationsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseInstallationsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FirebaseInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FirebaseInstallations.h new file mode 100644 index 00000000000..8a9b3c14460 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Headers/FirebaseInstallations.h @@ -0,0 +1,19 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Info.plist new file mode 100644 index 00000000000..89ca423ff56 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseInstallations + CFBundleIdentifier + org.cocoapods.FirebaseInstallations + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseInstallations + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchos + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchos10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Modules/module.modulemap new file mode 100644 index 00000000000..6fb3c64fc52 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_arm64_32/FirebaseInstallations.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseInstallations { +umbrella header "FirebaseInstallations-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "WatchKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations new file mode 100644 index 00000000000..90b148dfccb Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..4222ce6b0db Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1e83fa67acd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/FirebaseInstallations_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,30 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallations.h new file mode 100644 index 00000000000..1811d2bbdf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallations.h @@ -0,0 +1,127 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@class FIRApp; +@class FIRInstallationsAuthTokenResult; + +NS_ASSUME_NONNULL_BEGIN + +/** A notification with this name is sent each time an installation is created or deleted. */ +// clang-format off +// clang-format12 merges the next two lines. +FOUNDATION_EXPORT const NSNotificationName FIRInstallationIDDidChangeNotification + NS_SWIFT_NAME(InstallationIDDidChange); +/** `userInfo` key for the `FirebaseApp.name` in `InstallationIDDidChangeNotification`. */ +FOUNDATION_EXPORT NSString *const kFIRInstallationIDDidChangeNotificationAppNameKey + NS_SWIFT_NAME(InstallationIDDidChangeAppNameKey); +// clang-format on + +/** + * An installation ID handler block. + * @param identifier The installation ID string if exists or `nil` otherwise. + * @param error The error when `identifier == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsIDHandler)(NSString *__nullable identifier, + NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * An authorization token handler block. + * @param tokenResult An instance of `InstallationsAuthTokenResult` in case of success or `nil` + * otherwise. + * @param error The error when `tokenResult == nil` or `nil` otherwise. + */ +typedef void (^FIRInstallationsTokenHandler)( + FIRInstallationsAuthTokenResult *__nullable tokenResult, NSError *__nullable error) + NS_SWIFT_UNAVAILABLE("Use Swift's closure syntax instead."); + +/** + * The class provides API for Firebase Installations. + * Each configured `FirebaseApp` has a corresponding single instance of `Installations`. + * An instance of the class provides access to the installation info for the `FirebaseApp` as well + * as the ability to delete it. A Firebase Installation is unique by `FirebaseApp.name` and + * `FirebaseApp.options.googleAppID` . + */ +NS_SWIFT_NAME(Installations) +@interface FIRInstallations : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** + * Returns a default instance of `Installations`. + * @return An instance of `Installations` for `FirebaseApp.defaultApp(). + * @throw Throws an exception if the default app is not configured yet or required `FirebaseApp` + * options are missing. + */ ++ (FIRInstallations *)installations NS_SWIFT_NAME(installations()); + +/** + * Returns an instance of `Installations` for an application. + * @param application A configured `FirebaseApp` instance. + * @return An instance of `Installations` corresponding to the passed application. + * @throw Throws an exception if required `FirebaseApp` options are missing. + */ ++ (FIRInstallations *)installationsWithApp:(FIRApp *)application NS_SWIFT_NAME(installations(app:)); + +/** + * The method creates or retrieves an installation ID. The installation ID is a stable identifier + * that uniquely identifies the app instance. NOTE: If the application already has an existing + * FirebaseInstanceID then the InstanceID identifier will be used. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)installationIDWithCompletion:(void (^)(NSString *__nullable identifier, + NSError *__nullable error))completion; + +/** + * Retrieves (locally if it exists or from the server) a valid installation auth token. An existing + * token may be invalidated or expired, so it is recommended to fetch the installation auth token + * before each server request. The method does the same as + * `Installations.authToken(forcingRefresh:completion:)` with forcing refresh `false`. + * @param completion A completion handler which is invoked when the operation completes. + */ +- (void)authTokenWithCompletion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Retrieves (locally or from the server depending on `forceRefresh` value) a valid installation + * auth token. An existing token may be invalidated or expire, so it is recommended to fetch the + * installation auth token before each server request. This method should be used with `forceRefresh + * == true` when e.g. a request with the previously fetched installation auth token failed with "Not + * Authorized" error. + * @param forceRefresh If `true` then the locally cached installation auth token will be ignored and + * a new one will be requested from the server. If `false`, then the locally cached installation + * auth token will be returned if exists and has not expired yet. + * @param completion A completion handler which is invoked when the operation completes. See + * `InstallationsTokenHandler` for additional details. + */ +- (void)authTokenForcingRefresh:(BOOL)forceRefresh + completion:(void (^)(FIRInstallationsAuthTokenResult *__nullable tokenResult, + NSError *__nullable error))completion; + +/** + * Deletes all the installation data including the unique identifier, auth tokens and + * all related data on the server side. A network connection is required for the method to + * succeed. If fails, the existing installation data remains untouched. + * @param completion A completion handler which is invoked when the operation completes. `error == + * nil` indicates success. + */ +- (void)deleteWithCompletion:(void (^)(NSError *__nullable error))completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h new file mode 100644 index 00000000000..501ac4e1425 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsAuthTokenResult.h @@ -0,0 +1,33 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** The class represents a result of the installation auth token request. */ +NS_SWIFT_NAME(InstallationsAuthTokenResult) +@interface FIRInstallationsAuthTokenResult : NSObject + +/** The installation auth token string. */ +@property(nonatomic, readonly) NSString *authToken; + +/** The installation auth token expiration date. */ +@property(nonatomic, readonly) NSDate *expirationDate; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h new file mode 100644 index 00000000000..939ca0a7987 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FIRInstallationsErrors.h @@ -0,0 +1,35 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +extern NSString *const kFirebaseInstallationsErrorDomain NS_SWIFT_NAME(InstallationsErrorDomain); + +typedef NS_ERROR_ENUM(kFirebaseInstallationsErrorDomain, FIRInstallationsErrorCode){ + /** Unknown error. See `userInfo` for details. */ + FIRInstallationsErrorCodeUnknown = 0, + + /** Keychain error. See `userInfo` for details. */ + FIRInstallationsErrorCodeKeychain = 1, + + /** Server unreachable. A network error or server is unavailable. See `userInfo` for details. */ + FIRInstallationsErrorCodeServerUnreachable = 2, + + /** FirebaseApp configuration issues e.g. invalid GMP-App-ID, etc. See `userInfo` for details. + */ + FIRInstallationsErrorCodeInvalidConfiguration = 3, + +} NS_SWIFT_NAME(InstallationsErrorCode); diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h new file mode 100644 index 00000000000..cbe90324886 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations-umbrella.h @@ -0,0 +1,20 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FirebaseInstallations.h" +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" + +FOUNDATION_EXPORT double FirebaseInstallationsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseInstallationsVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations.h new file mode 100644 index 00000000000..8a9b3c14460 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Headers/FirebaseInstallations.h @@ -0,0 +1,19 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import "FIRInstallations.h" +#import "FIRInstallationsAuthTokenResult.h" +#import "FIRInstallationsErrors.h" diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Info.plist new file mode 100644 index 00000000000..597850c1e4b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseInstallations + CFBundleIdentifier + org.cocoapods.FirebaseInstallations + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseInstallations + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchsimulator + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchsimulator10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Modules/module.modulemap new file mode 100644 index 00000000000..6fb3c64fc52 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseInstallations.xcframework/watchos-arm64_x86_64-simulator/FirebaseInstallations.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module FirebaseInstallations { +umbrella header "FirebaseInstallations-umbrella.h" +export * +module * { export * } + link framework "Foundation" + link framework "Security" + link framework "WatchKit" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/Info.plist new file mode 100644 index 00000000000..ff9cc6cc150 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/Info.plist @@ -0,0 +1,139 @@ + + + + + AvailableLibraries + + + BinaryPath + FirebaseVertexAI.framework/FirebaseVertexAI + LibraryIdentifier + tvos-arm64 + LibraryPath + FirebaseVertexAI.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + FirebaseVertexAI.framework/FirebaseVertexAI + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FirebaseVertexAI.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseVertexAI.framework/Versions/A/FirebaseVertexAI + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + FirebaseVertexAI.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + BinaryPath + FirebaseVertexAI.framework/FirebaseVertexAI + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FirebaseVertexAI.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseVertexAI.framework/FirebaseVertexAI + LibraryIdentifier + watchos-arm64_arm64_32 + LibraryPath + FirebaseVertexAI.framework + SupportedArchitectures + + arm64 + arm64_32 + + SupportedPlatform + watchos + + + BinaryPath + FirebaseVertexAI.framework/FirebaseVertexAI + LibraryIdentifier + watchos-arm64_x86_64-simulator + LibraryPath + FirebaseVertexAI.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + watchos + SupportedPlatformVariant + simulator + + + BinaryPath + FirebaseVertexAI.framework/Versions/A/FirebaseVertexAI + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FirebaseVertexAI.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + BinaryPath + FirebaseVertexAI.framework/FirebaseVertexAI + LibraryIdentifier + ios-arm64 + LibraryPath + FirebaseVertexAI.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/FirebaseVertexAI b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/FirebaseVertexAI new file mode 100644 index 00000000000..7f0e4063775 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/FirebaseVertexAI differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h new file mode 100644 index 00000000000..9ab7eae4537 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h @@ -0,0 +1,322 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h new file mode 100644 index 00000000000..9946f7c386b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseVertexAIVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseVertexAIVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Info.plist new file mode 100644 index 00000000000..fa671170e5e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseVertexAI + CFBundleIdentifier + org.cocoapods.FirebaseVertexAI + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseVertexAI + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo new file mode 100644 index 00000000000..ecd3448d606 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios.abi.json new file mode 100644 index 00000000000..9f395001735 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios.abi.json @@ -0,0 +1,14601 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "uiImage", + "printedName": "uiImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "UIImage", + "printedName": "UIKit.UIImage", + "usr": "c:objc(cs)UIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "ciImage", + "printedName": "ciImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CIImage", + "printedName": "CoreImage.CIImage", + "usr": "c:objc(cs)CIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UIImage", + "printedName": "UIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIImage", + "moduleName": "UIKit", + "isOpen": true, + "intro_iOS": "2.0", + "objc_name": "UIImage", + "declAttributes": [ + "Available", + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CGImage", + "printedName": "CGImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@T@CGImageRef", + "moduleName": "CoreGraphics", + "declAttributes": [ + "SynthesizedProtocol", + "ObjC", + "Dynamic" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_CFObject", + "printedName": "_CFObject", + "usr": "s:14CoreFoundation9_CFObjectP", + "mangledName": "$s14CoreFoundation9_CFObjectP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CIImage", + "printedName": "CIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)CIImage", + "moduleName": "CoreImage", + "isOpen": true, + "intro_iOS": "5.0", + "objc_name": "CIImage", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 2388, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "IntegerLiteral", + "offset": 3654, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4057, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "Dictionary", + "offset": 4905, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4987, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios.private.swiftinterface new file mode 100644 index 00000000000..0e40422426d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios15.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 00000000000..65be7c5c459 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 00000000000..0e40422426d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios15.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/module.modulemap new file mode 100644 index 00000000000..bfa916e0cf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64/FirebaseVertexAI.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseVertexAI { + umbrella header "FirebaseVertexAI-umbrella.h" + + export * + module * { export * } +} + +module FirebaseVertexAI.Swift { + header "FirebaseVertexAI-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/FirebaseVertexAI b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/FirebaseVertexAI new file mode 120000 index 00000000000..749907ad293 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/FirebaseVertexAI @@ -0,0 +1 @@ +Versions/Current/FirebaseVertexAI \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/FirebaseVertexAI b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/FirebaseVertexAI new file mode 100644 index 00000000000..6a4c335ca64 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/FirebaseVertexAI differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Headers/FirebaseVertexAI-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Headers/FirebaseVertexAI-Swift.h new file mode 100644 index 00000000000..534f22e16e2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Headers/FirebaseVertexAI-Swift.h @@ -0,0 +1,640 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Headers/FirebaseVertexAI-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Headers/FirebaseVertexAI-umbrella.h new file mode 100644 index 00000000000..9946f7c386b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Headers/FirebaseVertexAI-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseVertexAIVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseVertexAIVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo new file mode 100644 index 00000000000..a22c9dceb03 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo new file mode 100644 index 00000000000..fbf3795e9a2 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-macabi.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-macabi.abi.json new file mode 100644 index 00000000000..8e32269901a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-macabi.abi.json @@ -0,0 +1,14603 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "uiImage", + "printedName": "uiImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "UIImage", + "printedName": "UIKit.UIImage", + "usr": "c:objc(cs)UIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "ciImage", + "printedName": "ciImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CIImage", + "printedName": "CoreImage.CIImage", + "usr": "c:objc(cs)CIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UIImage", + "printedName": "UIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIImage", + "moduleName": "UIKit", + "isOpen": true, + "intro_iOS": "2.0", + "objc_name": "UIImage", + "declAttributes": [ + "Available", + "Available", + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CGImage", + "printedName": "CGImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@T@CGImageRef", + "moduleName": "CoreGraphics", + "declAttributes": [ + "SynthesizedProtocol", + "ObjC", + "Dynamic" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_CFObject", + "printedName": "_CFObject", + "usr": "s:14CoreFoundation9_CFObjectP", + "mangledName": "$s14CoreFoundation9_CFObjectP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CIImage", + "printedName": "CIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)CIImage", + "moduleName": "CoreImage", + "isOpen": true, + "intro_iOS": "5.0", + "objc_name": "CIImage", + "declAttributes": [ + "Available", + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 2388, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "IntegerLiteral", + "offset": 3654, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4057, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "Dictionary", + "offset": 4905, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4987, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface new file mode 100644 index 00000000000..e4e3f51c2f0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios15.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 00000000000..e752788981e Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 00000000000..e4e3f51c2f0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios15.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-macabi.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-macabi.abi.json new file mode 100644 index 00000000000..8e32269901a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-macabi.abi.json @@ -0,0 +1,14603 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "uiImage", + "printedName": "uiImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "UIImage", + "printedName": "UIKit.UIImage", + "usr": "c:objc(cs)UIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "ciImage", + "printedName": "ciImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CIImage", + "printedName": "CoreImage.CIImage", + "usr": "c:objc(cs)CIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UIImage", + "printedName": "UIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIImage", + "moduleName": "UIKit", + "isOpen": true, + "intro_iOS": "2.0", + "objc_name": "UIImage", + "declAttributes": [ + "Available", + "Available", + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CGImage", + "printedName": "CGImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@T@CGImageRef", + "moduleName": "CoreGraphics", + "declAttributes": [ + "SynthesizedProtocol", + "ObjC", + "Dynamic" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_CFObject", + "printedName": "_CFObject", + "usr": "s:14CoreFoundation9_CFObjectP", + "mangledName": "$s14CoreFoundation9_CFObjectP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CIImage", + "printedName": "CIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)CIImage", + "moduleName": "CoreImage", + "isOpen": true, + "intro_iOS": "5.0", + "objc_name": "CIImage", + "declAttributes": [ + "Available", + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 2388, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "IntegerLiteral", + "offset": 3654, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4057, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "Dictionary", + "offset": 4905, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4987, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface new file mode 100644 index 00000000000..b96efd3c01c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios15.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 00000000000..6e1aa649663 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 00000000000..b96efd3c01c --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios15.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..bfa916e0cf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseVertexAI { + umbrella header "FirebaseVertexAI-umbrella.h" + + export * + module * { export * } +} + +module FirebaseVertexAI.Swift { + header "FirebaseVertexAI-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..cfaaa45e316 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseVertexAI + CFBundleIdentifier + org.cocoapods.FirebaseVertexAI + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseVertexAI + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 12.0 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseVertexAI.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/FirebaseVertexAI b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/FirebaseVertexAI new file mode 100644 index 00000000000..176bf4a244a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/FirebaseVertexAI differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h new file mode 100644 index 00000000000..534f22e16e2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h @@ -0,0 +1,640 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h new file mode 100644 index 00000000000..9946f7c386b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseVertexAIVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseVertexAIVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Info.plist new file mode 100644 index 00000000000..4dc77ec51ea --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseVertexAI + CFBundleIdentifier + org.cocoapods.FirebaseVertexAI + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseVertexAI + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo new file mode 100644 index 00000000000..32eb499dcea Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo new file mode 100644 index 00000000000..8bf5f612ca3 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-simulator.abi.json new file mode 100644 index 00000000000..9f395001735 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -0,0 +1,14601 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "uiImage", + "printedName": "uiImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "UIImage", + "printedName": "UIKit.UIImage", + "usr": "c:objc(cs)UIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "ciImage", + "printedName": "ciImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CIImage", + "printedName": "CoreImage.CIImage", + "usr": "c:objc(cs)CIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UIImage", + "printedName": "UIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIImage", + "moduleName": "UIKit", + "isOpen": true, + "intro_iOS": "2.0", + "objc_name": "UIImage", + "declAttributes": [ + "Available", + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CGImage", + "printedName": "CGImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@T@CGImageRef", + "moduleName": "CoreGraphics", + "declAttributes": [ + "SynthesizedProtocol", + "ObjC", + "Dynamic" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_CFObject", + "printedName": "_CFObject", + "usr": "s:14CoreFoundation9_CFObjectP", + "mangledName": "$s14CoreFoundation9_CFObjectP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CIImage", + "printedName": "CIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)CIImage", + "moduleName": "CoreImage", + "isOpen": true, + "intro_iOS": "5.0", + "objc_name": "CIImage", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 2388, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "IntegerLiteral", + "offset": 3654, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4057, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "Dictionary", + "offset": 4905, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4987, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 00000000000..62a5dd8f01f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 00000000000..3bf5083d64f Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 00000000000..62a5dd8f01f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-simulator.abi.json new file mode 100644 index 00000000000..9f395001735 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -0,0 +1,14601 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "uiImage", + "printedName": "uiImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "UIImage", + "printedName": "UIKit.UIImage", + "usr": "c:objc(cs)UIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "ciImage", + "printedName": "ciImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CIImage", + "printedName": "CoreImage.CIImage", + "usr": "c:objc(cs)CIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UIImage", + "printedName": "UIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIImage", + "moduleName": "UIKit", + "isOpen": true, + "intro_iOS": "2.0", + "objc_name": "UIImage", + "declAttributes": [ + "Available", + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CGImage", + "printedName": "CGImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@T@CGImageRef", + "moduleName": "CoreGraphics", + "declAttributes": [ + "SynthesizedProtocol", + "ObjC", + "Dynamic" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_CFObject", + "printedName": "_CFObject", + "usr": "s:14CoreFoundation9_CFObjectP", + "mangledName": "$s14CoreFoundation9_CFObjectP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CIImage", + "printedName": "CIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)CIImage", + "moduleName": "CoreImage", + "isOpen": true, + "intro_iOS": "5.0", + "objc_name": "CIImage", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 2388, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "IntegerLiteral", + "offset": 3654, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4057, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "Dictionary", + "offset": 4905, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4987, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-ios\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 00000000000..063d0fd617a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 00000000000..1fbb0835952 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 00000000000..063d0fd617a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/module.modulemap new file mode 100644 index 00000000000..bfa916e0cf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/ios-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseVertexAI { + umbrella header "FirebaseVertexAI-umbrella.h" + + export * + module * { export * } +} + +module FirebaseVertexAI.Swift { + header "FirebaseVertexAI-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/FirebaseVertexAI b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/FirebaseVertexAI new file mode 120000 index 00000000000..749907ad293 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/FirebaseVertexAI @@ -0,0 +1 @@ +Versions/Current/FirebaseVertexAI \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/FirebaseVertexAI b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/FirebaseVertexAI new file mode 100644 index 00000000000..c0ad41c05f5 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/FirebaseVertexAI differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Headers/FirebaseVertexAI-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Headers/FirebaseVertexAI-Swift.h new file mode 100644 index 00000000000..534f22e16e2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Headers/FirebaseVertexAI-Swift.h @@ -0,0 +1,640 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Headers/FirebaseVertexAI-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Headers/FirebaseVertexAI-umbrella.h new file mode 100644 index 00000000000..5224949dc90 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Headers/FirebaseVertexAI-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseVertexAIVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseVertexAIVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo new file mode 100644 index 00000000000..44c37b48ed7 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo new file mode 100644 index 00000000000..1fd33959c4c Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-macos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-macos.abi.json new file mode 100644 index 00000000000..2c70ade5119 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-macos.abi.json @@ -0,0 +1,14667 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "AppKit", + "printedName": "AppKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "nsImage", + "printedName": "nsImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (AppKit.NSImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(AppKit.NSImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "NSImage", + "printedName": "AppKit.NSImage", + "usr": "c:objc(cs)NSImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02nsD0yAESo7NSImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02nsD0yAESo7NSImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "ciImage", + "printedName": "ciImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CIImage", + "printedName": "CoreImage.CIImage", + "usr": "c:objc(cs)CIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "Transferable", + "printedName": "Transferable", + "children": [ + { + "kind": "TypeWitness", + "name": "Representation", + "printedName": "Representation", + "children": [ + { + "kind": "TypeNominal", + "name": "OpaqueTypeArchetype", + "printedName": "some CoreTransferable.TransferRepresentation", + "children": [ + { + "kind": "TypeNominal", + "name": "TransferRepresentation", + "printedName": "CoreTransferable.TransferRepresentation", + "usr": "s:16CoreTransferable22TransferRepresentationP" + }, + { + "kind": "TypeNominal", + "name": "Sendable", + "printedName": "Swift.Sendable", + "usr": "s:s8SendableP" + } + ] + } + ] + } + ], + "usr": "s:16CoreTransferable0B0P", + "mangledName": "$s16CoreTransferable0B0P" + } + ] + }, + { + "kind": "TypeDecl", + "name": "NSImage", + "printedName": "NSImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7NSImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7NSImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)NSImage", + "moduleName": "AppKit", + "isOpen": true, + "objc_name": "NSImage", + "declAttributes": [ + "ObjC", + "NonSendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + }, + { + "kind": "Conformance", + "name": "Transferable", + "printedName": "Transferable", + "children": [ + { + "kind": "TypeWitness", + "name": "Representation", + "printedName": "Representation", + "children": [ + { + "kind": "TypeNominal", + "name": "OpaqueTypeArchetype", + "printedName": "some CoreTransferable.TransferRepresentation", + "children": [ + { + "kind": "TypeNominal", + "name": "TransferRepresentation", + "printedName": "CoreTransferable.TransferRepresentation", + "usr": "s:16CoreTransferable22TransferRepresentationP" + }, + { + "kind": "TypeNominal", + "name": "Sendable", + "printedName": "Swift.Sendable", + "usr": "s:s8SendableP" + } + ] + } + ] + } + ], + "usr": "s:16CoreTransferable0B0P", + "mangledName": "$s16CoreTransferable0B0P" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CGImage", + "printedName": "CGImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@T@CGImageRef", + "moduleName": "CoreGraphics", + "declAttributes": [ + "SynthesizedProtocol", + "ObjC", + "Dynamic" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_CFObject", + "printedName": "_CFObject", + "usr": "s:14CoreFoundation9_CFObjectP", + "mangledName": "$s14CoreFoundation9_CFObjectP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CIImage", + "printedName": "CIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)CIImage", + "moduleName": "CoreImage", + "isOpen": true, + "intro_Macosx": "10.4", + "objc_name": "CIImage", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 3011, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 3158, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "IntegerLiteral", + "offset": 3654, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4057, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "Dictionary", + "offset": 4905, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4987, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-macos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-macos.private.swiftinterface new file mode 100644 index 00000000000..c35f0c31e54 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-macos.private.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-macos11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import AppKit +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case nsImage(AppKit.NSImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension AppKit.NSImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-macos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-macos.swiftdoc new file mode 100644 index 00000000000..144df68fc85 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-macos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-macos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-macos.swiftinterface new file mode 100644 index 00000000000..c35f0c31e54 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-macos.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-macos11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import AppKit +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case nsImage(AppKit.NSImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension AppKit.NSImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-macos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-macos.abi.json new file mode 100644 index 00000000000..2c70ade5119 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-macos.abi.json @@ -0,0 +1,14667 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "AppKit", + "printedName": "AppKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "nsImage", + "printedName": "nsImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (AppKit.NSImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(AppKit.NSImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "NSImage", + "printedName": "AppKit.NSImage", + "usr": "c:objc(cs)NSImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02nsD0yAESo7NSImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02nsD0yAESo7NSImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "ciImage", + "printedName": "ciImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CIImage", + "printedName": "CoreImage.CIImage", + "usr": "c:objc(cs)CIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "Transferable", + "printedName": "Transferable", + "children": [ + { + "kind": "TypeWitness", + "name": "Representation", + "printedName": "Representation", + "children": [ + { + "kind": "TypeNominal", + "name": "OpaqueTypeArchetype", + "printedName": "some CoreTransferable.TransferRepresentation", + "children": [ + { + "kind": "TypeNominal", + "name": "TransferRepresentation", + "printedName": "CoreTransferable.TransferRepresentation", + "usr": "s:16CoreTransferable22TransferRepresentationP" + }, + { + "kind": "TypeNominal", + "name": "Sendable", + "printedName": "Swift.Sendable", + "usr": "s:s8SendableP" + } + ] + } + ] + } + ], + "usr": "s:16CoreTransferable0B0P", + "mangledName": "$s16CoreTransferable0B0P" + } + ] + }, + { + "kind": "TypeDecl", + "name": "NSImage", + "printedName": "NSImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7NSImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7NSImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)NSImage", + "moduleName": "AppKit", + "isOpen": true, + "objc_name": "NSImage", + "declAttributes": [ + "ObjC", + "NonSendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + }, + { + "kind": "Conformance", + "name": "Transferable", + "printedName": "Transferable", + "children": [ + { + "kind": "TypeWitness", + "name": "Representation", + "printedName": "Representation", + "children": [ + { + "kind": "TypeNominal", + "name": "OpaqueTypeArchetype", + "printedName": "some CoreTransferable.TransferRepresentation", + "children": [ + { + "kind": "TypeNominal", + "name": "TransferRepresentation", + "printedName": "CoreTransferable.TransferRepresentation", + "usr": "s:16CoreTransferable22TransferRepresentationP" + }, + { + "kind": "TypeNominal", + "name": "Sendable", + "printedName": "Swift.Sendable", + "usr": "s:s8SendableP" + } + ] + } + ] + } + ], + "usr": "s:16CoreTransferable0B0P", + "mangledName": "$s16CoreTransferable0B0P" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CGImage", + "printedName": "CGImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@T@CGImageRef", + "moduleName": "CoreGraphics", + "declAttributes": [ + "SynthesizedProtocol", + "ObjC", + "Dynamic" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_CFObject", + "printedName": "_CFObject", + "usr": "s:14CoreFoundation9_CFObjectP", + "mangledName": "$s14CoreFoundation9_CFObjectP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CIImage", + "printedName": "CIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)CIImage", + "moduleName": "CoreImage", + "isOpen": true, + "intro_Macosx": "10.4", + "objc_name": "CIImage", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 3011, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 3158, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "IntegerLiteral", + "offset": 3654, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4057, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "Dictionary", + "offset": 4905, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4987, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-macos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-macos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-macos.private.swiftinterface new file mode 100644 index 00000000000..94e3ad887bc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-macos.private.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-macos11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import AppKit +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case nsImage(AppKit.NSImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension AppKit.NSImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-macos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-macos.swiftdoc new file mode 100644 index 00000000000..d9163531a55 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-macos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-macos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-macos.swiftinterface new file mode 100644 index 00000000000..94e3ad887bc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-macos.swiftinterface @@ -0,0 +1,514 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-macos11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import AppKit +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case nsImage(AppKit.NSImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension AppKit.NSImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..bfa916e0cf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseVertexAI { + umbrella header "FirebaseVertexAI-umbrella.h" + + export * + module * { export * } +} + +module FirebaseVertexAI.Swift { + header "FirebaseVertexAI-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..9c2092b5e8f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseVertexAI + CFBundleIdentifier + org.cocoapods.FirebaseVertexAI + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseVertexAI + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 11.0 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/macos-arm64_x86_64/FirebaseVertexAI.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/FirebaseVertexAI b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/FirebaseVertexAI new file mode 100644 index 00000000000..ef63b252a17 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/FirebaseVertexAI differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h new file mode 100644 index 00000000000..9ab7eae4537 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h @@ -0,0 +1,322 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h new file mode 100644 index 00000000000..9946f7c386b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseVertexAIVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseVertexAIVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Info.plist new file mode 100644 index 00000000000..0679bc36000 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseVertexAI + CFBundleIdentifier + org.cocoapods.FirebaseVertexAI + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseVertexAI + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo new file mode 100644 index 00000000000..03cb1c62b57 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos.abi.json new file mode 100644 index 00000000000..73a2403e7b7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos.abi.json @@ -0,0 +1,14599 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "uiImage", + "printedName": "uiImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "UIImage", + "printedName": "UIKit.UIImage", + "usr": "c:objc(cs)UIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "ciImage", + "printedName": "ciImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CIImage", + "printedName": "CoreImage.CIImage", + "usr": "c:objc(cs)CIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UIImage", + "printedName": "UIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIImage", + "moduleName": "UIKit", + "isOpen": true, + "objc_name": "UIImage", + "declAttributes": [ + "Available", + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CGImage", + "printedName": "CGImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@T@CGImageRef", + "moduleName": "CoreGraphics", + "declAttributes": [ + "SynthesizedProtocol", + "ObjC", + "Dynamic" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_CFObject", + "printedName": "_CFObject", + "usr": "s:14CoreFoundation9_CFObjectP", + "mangledName": "$s14CoreFoundation9_CFObjectP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CIImage", + "printedName": "CIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)CIImage", + "moduleName": "CoreImage", + "isOpen": true, + "objc_name": "CIImage", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 2388, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "IntegerLiteral", + "offset": 3654, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4057, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "Dictionary", + "offset": 4905, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4987, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos.private.swiftinterface new file mode 100644 index 00000000000..137671646c9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos.private.swiftinterface @@ -0,0 +1,515 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-tvos15.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos.swiftdoc new file mode 100644 index 00000000000..73e420b041a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos.swiftinterface new file mode 100644 index 00000000000..137671646c9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos.swiftinterface @@ -0,0 +1,515 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-tvos15.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/module.modulemap new file mode 100644 index 00000000000..bfa916e0cf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64/FirebaseVertexAI.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseVertexAI { + umbrella header "FirebaseVertexAI-umbrella.h" + + export * + module * { export * } +} + +module FirebaseVertexAI.Swift { + header "FirebaseVertexAI-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/FirebaseVertexAI b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/FirebaseVertexAI new file mode 100644 index 00000000000..aeacc456a27 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/FirebaseVertexAI differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h new file mode 100644 index 00000000000..534f22e16e2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h @@ -0,0 +1,640 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h new file mode 100644 index 00000000000..9946f7c386b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseVertexAIVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseVertexAIVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Info.plist new file mode 100644 index 00000000000..28671384fe4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseVertexAI + CFBundleIdentifier + org.cocoapods.FirebaseVertexAI + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseVertexAI + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo new file mode 100644 index 00000000000..60cbfb933f0 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo new file mode 100644 index 00000000000..2f63362c418 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos-simulator.abi.json new file mode 100644 index 00000000000..73a2403e7b7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos-simulator.abi.json @@ -0,0 +1,14599 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "uiImage", + "printedName": "uiImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "UIImage", + "printedName": "UIKit.UIImage", + "usr": "c:objc(cs)UIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "ciImage", + "printedName": "ciImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CIImage", + "printedName": "CoreImage.CIImage", + "usr": "c:objc(cs)CIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UIImage", + "printedName": "UIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIImage", + "moduleName": "UIKit", + "isOpen": true, + "objc_name": "UIImage", + "declAttributes": [ + "Available", + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CGImage", + "printedName": "CGImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@T@CGImageRef", + "moduleName": "CoreGraphics", + "declAttributes": [ + "SynthesizedProtocol", + "ObjC", + "Dynamic" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_CFObject", + "printedName": "_CFObject", + "usr": "s:14CoreFoundation9_CFObjectP", + "mangledName": "$s14CoreFoundation9_CFObjectP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CIImage", + "printedName": "CIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)CIImage", + "moduleName": "CoreImage", + "isOpen": true, + "objc_name": "CIImage", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 2388, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "IntegerLiteral", + "offset": 3654, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4057, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "Dictionary", + "offset": 4905, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4987, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface new file mode 100644 index 00000000000..731a2a87a54 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface @@ -0,0 +1,515 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-tvos15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos-simulator.swiftdoc new file mode 100644 index 00000000000..147fea8aa3a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos-simulator.swiftinterface new file mode 100644 index 00000000000..731a2a87a54 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,515 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-tvos15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-tvos-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-tvos-simulator.abi.json new file mode 100644 index 00000000000..73a2403e7b7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-tvos-simulator.abi.json @@ -0,0 +1,14599 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "uiImage", + "printedName": "uiImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "UIImage", + "printedName": "UIKit.UIImage", + "usr": "c:objc(cs)UIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "ciImage", + "printedName": "ciImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreImage.CIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CIImage", + "printedName": "CoreImage.CIImage", + "usr": "c:objc(cs)CIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02ciD0yAESo7CIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UIImage", + "printedName": "UIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIImage", + "moduleName": "UIKit", + "isOpen": true, + "objc_name": "UIImage", + "declAttributes": [ + "Available", + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CGImage", + "printedName": "CGImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo10CGImageRefa16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@T@CGImageRef", + "moduleName": "CoreGraphics", + "declAttributes": [ + "SynthesizedProtocol", + "ObjC", + "Dynamic" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_CFObject", + "printedName": "_CFObject", + "usr": "s:14CoreFoundation9_CFObjectP", + "mangledName": "$s14CoreFoundation9_CFObjectP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CIImage", + "printedName": "CIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7CIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)CIImage", + "moduleName": "CoreImage", + "isOpen": true, + "objc_name": "CIImage", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 2388, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "IntegerLiteral", + "offset": 3654, + "length": 1, + "value": "1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4057, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "Dictionary", + "offset": 4905, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 4987, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-tvos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface new file mode 100644 index 00000000000..2d5cebe5415 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface @@ -0,0 +1,515 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-tvos15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc new file mode 100644 index 00000000000..234959e592f Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface new file mode 100644 index 00000000000..2d5cebe5415 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,515 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-tvos15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + case ciImage(CoreImage.CIImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreGraphics.CGImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *) +extension CoreImage.CIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/module.modulemap new file mode 100644 index 00000000000..bfa916e0cf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/tvos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseVertexAI { + umbrella header "FirebaseVertexAI-umbrella.h" + + export * + module * { export * } +} + +module FirebaseVertexAI.Swift { + header "FirebaseVertexAI-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/FirebaseVertexAI b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/FirebaseVertexAI new file mode 100644 index 00000000000..4bc8915ef41 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/FirebaseVertexAI differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h new file mode 100644 index 00000000000..802c4d22faa --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h @@ -0,0 +1,654 @@ +#if 0 +#elif defined(__ARM64_ARCH_8_32__) && __ARM64_ARCH_8_32__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Class to enable VertexAI to register via the Objective-C based Firebase component system +/// to include VertexAI in the userAgent. +SWIFT_CLASS_NAMED("FirebaseVertexAIComponent") +@interface FIRVertexAIComponent : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Class to enable VertexAI to register via the Objective-C based Firebase component system +/// to include VertexAI in the userAgent. +SWIFT_CLASS_NAMED("FirebaseVertexAIComponent") +@interface FIRVertexAIComponent : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h new file mode 100644 index 00000000000..90ade67fda3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseVertexAIVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseVertexAIVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Info.plist new file mode 100644 index 00000000000..f548c30e290 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseVertexAI + CFBundleIdentifier + org.cocoapods.FirebaseVertexAI + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseVertexAI + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchos + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchos10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo new file mode 100644 index 00000000000..2860e29ba8b Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64_32-apple-watchos.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64_32-apple-watchos.swiftsourceinfo new file mode 100644 index 00000000000..992a474c743 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64_32-apple-watchos.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos.abi.json new file mode 100644 index 00000000000..d10d98b9552 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos.abi.json @@ -0,0 +1,14326 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "uiImage", + "printedName": "uiImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "UIImage", + "printedName": "UIKit.UIImage", + "usr": "c:objc(cs)UIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UIImage", + "printedName": "UIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIImage", + "moduleName": "UIKit", + "isOpen": true, + "intro_watchOS": "2.0", + "objc_name": "UIImage", + "declAttributes": [ + "Available", + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 2388, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos.private.swiftinterface new file mode 100644 index 00000000000..82f53c01e5b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos.private.swiftinterface @@ -0,0 +1,506 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-watchos8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos.swiftdoc new file mode 100644 index 00000000000..1dd0dc0dec7 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos.swiftinterface new file mode 100644 index 00000000000..82f53c01e5b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos.swiftinterface @@ -0,0 +1,506 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-watchos8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64_32-apple-watchos.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64_32-apple-watchos.abi.json new file mode 100644 index 00000000000..d10d98b9552 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64_32-apple-watchos.abi.json @@ -0,0 +1,14326 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "uiImage", + "printedName": "uiImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "UIImage", + "printedName": "UIKit.UIImage", + "usr": "c:objc(cs)UIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UIImage", + "printedName": "UIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIImage", + "moduleName": "UIKit", + "isOpen": true, + "intro_watchOS": "2.0", + "objc_name": "UIImage", + "declAttributes": [ + "Available", + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 2388, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64_32-apple-watchos.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64_32-apple-watchos.private.swiftinterface new file mode 100644 index 00000000000..937472d81e9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64_32-apple-watchos.private.swiftinterface @@ -0,0 +1,506 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64_32-apple-watchos8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64_32-apple-watchos.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64_32-apple-watchos.swiftdoc new file mode 100644 index 00000000000..58e82eb28c1 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64_32-apple-watchos.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64_32-apple-watchos.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64_32-apple-watchos.swiftinterface new file mode 100644 index 00000000000..937472d81e9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64_32-apple-watchos.swiftinterface @@ -0,0 +1,506 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64_32-apple-watchos8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/module.modulemap new file mode 100644 index 00000000000..bfa916e0cf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_arm64_32/FirebaseVertexAI.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseVertexAI { + umbrella header "FirebaseVertexAI-umbrella.h" + + export * + module * { export * } +} + +module FirebaseVertexAI.Swift { + header "FirebaseVertexAI-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/FirebaseVertexAI b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/FirebaseVertexAI new file mode 100644 index 00000000000..d267b180273 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/FirebaseVertexAI differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h new file mode 100644 index 00000000000..601c6dd9cd7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-Swift.h @@ -0,0 +1,654 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Class to enable VertexAI to register via the Objective-C based Firebase component system +/// to include VertexAI in the userAgent. +SWIFT_CLASS_NAMED("FirebaseVertexAIComponent") +@interface FIRVertexAIComponent : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef FIREBASEVERTEXAI_SWIFT_H +#define FIREBASEVERTEXAI_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseVertexAI",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + +/// The Vertex AI for Firebase SDK provides access to Gemini models directly from your app. +SWIFT_CLASS("_TtC16FirebaseVertexAI8VertexAI") SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(tvos,introduced=15.0) SWIFT_AVAILABILITY(maccatalyst,introduced=15.0) SWIFT_AVAILABILITY(macos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=15.0) +@interface VertexAI : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Class to enable VertexAI to register via the Objective-C based Firebase component system +/// to include VertexAI in the userAgent. +SWIFT_CLASS_NAMED("FirebaseVertexAIComponent") +@interface FIRVertexAIComponent : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h new file mode 100644 index 00000000000..90ade67fda3 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Headers/FirebaseVertexAI-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double FirebaseVertexAIVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseVertexAIVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Info.plist new file mode 100644 index 00000000000..52f1ce766e4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FirebaseVertexAI + CFBundleIdentifier + org.cocoapods.FirebaseVertexAI + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseVertexAI + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchsimulator + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchsimulator10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-watchos-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-watchos-simulator.swiftsourceinfo new file mode 100644 index 00000000000..8183e5923e7 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/arm64-apple-watchos-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-watchos-simulator.swiftsourceinfo b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-watchos-simulator.swiftsourceinfo new file mode 100644 index 00000000000..75f75fe2dbe Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/Project/x86_64-apple-watchos-simulator.swiftsourceinfo differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos-simulator.abi.json new file mode 100644 index 00000000000..d10d98b9552 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos-simulator.abi.json @@ -0,0 +1,14326 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "uiImage", + "printedName": "uiImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "UIImage", + "printedName": "UIKit.UIImage", + "usr": "c:objc(cs)UIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UIImage", + "printedName": "UIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIImage", + "moduleName": "UIKit", + "isOpen": true, + "intro_watchOS": "2.0", + "objc_name": "UIImage", + "declAttributes": [ + "Available", + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 2388, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos-simulator.private.swiftinterface new file mode 100644 index 00000000000..861bebcd81d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos-simulator.private.swiftinterface @@ -0,0 +1,506 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-watchos8.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos-simulator.swiftdoc new file mode 100644 index 00000000000..c191a88745b Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos-simulator.swiftinterface new file mode 100644 index 00000000000..861bebcd81d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/arm64-apple-watchos-simulator.swiftinterface @@ -0,0 +1,506 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-watchos8.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-watchos-simulator.abi.json b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-watchos-simulator.abi.json new file mode 100644 index 00000000000..d10d98b9552 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-watchos-simulator.abi.json @@ -0,0 +1,14326 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Chat", + "printedName": "Chat", + "children": [ + { + "kind": "Var", + "name": "history", + "printedName": "history", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvs", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "mangledName": "$s16FirebaseVertexAI4ChatC7historySayAA12ModelContentVGvM", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available" + ], + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessage", + "printedName": "sendMessage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI4ChatC11sendMessageyAA23GenerateContentResponseVSayAA05ModelH0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendMessageStream", + "printedName": "sendMessageStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI4ChatC17sendMessageStreamyScsyAA23GenerateContentResponseVs5Error_pGSayAA05ModelI0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI4ChatC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI4ChatC", + "mangledName": "$s16FirebaseVertexAI4ChatC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensResponse", + "printedName": "CountTokensResponse", + "children": [ + { + "kind": "Var", + "name": "totalTokens", + "printedName": "totalTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV05totalE0Sivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalBillableCharacters", + "printedName": "totalBillableCharacters", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV23totalBillableCharactersSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV", + "mangledName": "$s16FirebaseVertexAI19CountTokensResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCall", + "printedName": "FunctionCall", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4nameSSvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4nameSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "args", + "printedName": "args", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4argsSDySSAA9JSONValueOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12FunctionCallV", + "mangledName": "$s16FirebaseVertexAI12FunctionCallV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionDeclaration", + "printedName": "FunctionDeclaration", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:description:parameters:requiredParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV4name11description10parameters18requiredParametersACSS_SSSDySSAA6SchemaCGSgSaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV", + "mangledName": "$s16FirebaseVertexAI19FunctionDeclarationV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Tool", + "printedName": "Tool", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionDeclarations:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionDeclaration]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionDeclaration", + "printedName": "FirebaseVertexAI.FunctionDeclaration", + "usr": "s:16FirebaseVertexAI19FunctionDeclarationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "mangledName": "$s16FirebaseVertexAI4ToolV20functionDeclarationsACSayAA19FunctionDeclarationVGSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI4ToolV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI4ToolV", + "mangledName": "$s16FirebaseVertexAI4ToolV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionCallingConfig", + "printedName": "FunctionCallingConfig", + "children": [ + { + "kind": "TypeDecl", + "name": "Mode", + "printedName": "Mode", + "children": [ + { + "kind": "Var", + "name": "auto", + "printedName": "auto", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4autoyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "any", + "printedName": "any", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO3anyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCallingConfig.Mode.Type) -> FirebaseVertexAI.FunctionCallingConfig.Mode", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO4noneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4ModeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(mode:allowedFunctionNames:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode?", + "children": [ + { + "kind": "TypeNominal", + "name": "Mode", + "printedName": "FirebaseVertexAI.FunctionCallingConfig.Mode", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4ModeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV4mode07allowedD5NamesA2C4ModeOSg_SaySSGSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV", + "mangledName": "$s16FirebaseVertexAI21FunctionCallingConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ToolConfig", + "printedName": "ToolConfig", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(functionCallingConfig:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FunctionCallingConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCallingConfig", + "printedName": "FirebaseVertexAI.FunctionCallingConfig", + "usr": "s:16FirebaseVertexAI21FunctionCallingConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV015functionCallingE0AcA08FunctiongE0VSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI10ToolConfigV", + "mangledName": "$s16FirebaseVertexAI10ToolConfigV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FunctionResponse", + "printedName": "FunctionResponse", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:response:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV4name8responseACSS_SDySSAA9JSONValueOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16FunctionResponseV", + "mangledName": "$s16FirebaseVertexAI16FunctionResponseV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentError", + "printedName": "GenerateContentError", + "children": [ + { + "kind": "Var", + "name": "promptImageContentError", + "printedName": "promptImageContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: FirebaseVertexAI.ImageConversionError)", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO011promptImageeF0yAcA0h10ConversionF0O_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "promptBlocked", + "printedName": "promptBlocked", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO13promptBlockedyAcA0dE8ResponseV_tcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "responseStoppedEarly", + "printedName": "responseStoppedEarly", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.GenerateContentError.Type) -> (FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason, FirebaseVertexAI.GenerateContentResponse) -> FirebaseVertexAI.GenerateContentError", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.GenerateContentError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentError", + "printedName": "FirebaseVertexAI.GenerateContentError", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO20responseStoppedEarlyyAcA12FinishReasonO_AA0dE8ResponseVtcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20GenerateContentErrorO", + "mangledName": "$s16FirebaseVertexAI20GenerateContentErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerateContentResponse", + "printedName": "GenerateContentResponse", + "children": [ + { + "kind": "TypeDecl", + "name": "UsageMetadata", + "printedName": "UsageMetadata", + "children": [ + { + "kind": "Var", + "name": "promptTokenCount", + "printedName": "promptTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV16promptTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidatesTokenCount", + "printedName": "candidatesTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV20candidatesTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totalTokenCount", + "printedName": "totalTokenCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV15totalTokenCountSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "candidates", + "printedName": "candidates", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidatesSayAA09CandidateF0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "promptFeedback", + "printedName": "promptFeedback", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV14promptFeedbackAA06PromptH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "usageMetadata", + "printedName": "usageMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13usageMetadataAC05UsageH0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "functionCalls", + "printedName": "functionCalls", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.FunctionCall]", + "children": [ + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV13functionCallsSayAA12FunctionCallVGvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(candidates:promptFeedback:usageMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.CandidateResponse]", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback?", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "UsageMetadata", + "printedName": "FirebaseVertexAI.GenerateContentResponse.UsageMetadata", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV13UsageMetadataV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV10candidates14promptFeedback13usageMetadataACSayAA09CandidateF0VG_AA06PromptI0VSgAC05UsageK0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV", + "mangledName": "$s16FirebaseVertexAI23GenerateContentResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CandidateResponse", + "printedName": "CandidateResponse", + "children": [ + { + "kind": "Var", + "name": "content", + "printedName": "content", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7contentAA12ModelContentVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "finishReason", + "printedName": "finishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV12finishReasonAA06FinishG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "citationMetadata", + "printedName": "citationMetadata", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV16citationMetadataAA08CitationG0VSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(content:safetyRatings:finishReason:citationMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.CitationMetadata?", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV7content13safetyRatings12finishReason16citationMetadataAcA12ModelContentV_SayAA12SafetyRatingVGAA06FinishJ0OSgAA08CitationL0VSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CandidateResponse", + "printedName": "FirebaseVertexAI.CandidateResponse", + "usr": "s:16FirebaseVertexAI17CandidateResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI17CandidateResponseV", + "mangledName": "$s16FirebaseVertexAI17CandidateResponseV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CitationMetadata", + "printedName": "CitationMetadata", + "children": [ + { + "kind": "Var", + "name": "citationSources", + "printedName": "citationSources", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Citation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV15citationSourcesSayAA0D0VGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CitationMetadata", + "printedName": "FirebaseVertexAI.CitationMetadata", + "usr": "s:16FirebaseVertexAI16CitationMetadataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16CitationMetadataV", + "mangledName": "$s16FirebaseVertexAI16CitationMetadataV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Citation", + "printedName": "Citation", + "children": [ + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV10startIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV10startIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivp", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV8endIndexSivg", + "mangledName": "$s16FirebaseVertexAI8CitationV8endIndexSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "uri", + "printedName": "uri", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV3uriSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV3uriSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV5titleSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV5titleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "license", + "printedName": "license", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvp", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8CitationV7licenseSSSgvg", + "mangledName": "$s16FirebaseVertexAI8CitationV7licenseSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Citation", + "printedName": "FirebaseVertexAI.Citation", + "usr": "s:16FirebaseVertexAI8CitationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI8CitationV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI8CitationV", + "mangledName": "$s16FirebaseVertexAI8CitationV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FinishReason", + "printedName": "FinishReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO7unknownyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO11unspecifiedyA2CmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "stop", + "printedName": "stop", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4stopyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "maxTokens", + "printedName": "maxTokens", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO9maxTokensyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO6safetyyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "recitation", + "printedName": "recitation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO10recitationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FinishReason.Type) -> FirebaseVertexAI.FinishReason", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.FinishReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO5otheryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.FinishReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FinishReason", + "printedName": "FirebaseVertexAI.FinishReason", + "usr": "s:16FirebaseVertexAI12FinishReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12FinishReasonO", + "mangledName": "$s16FirebaseVertexAI12FinishReasonO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PromptFeedback", + "printedName": "PromptFeedback", + "children": [ + { + "kind": "TypeDecl", + "name": "BlockReason", + "printedName": "BlockReason", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "safety", + "printedName": "safety", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO6safetyyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "other", + "printedName": "other", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.PromptFeedback.BlockReason.Type) -> FirebaseVertexAI.PromptFeedback.BlockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO5otheryA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11BlockReasonO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Var", + "name": "blockReason", + "printedName": "blockReason", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReasonAC05BlockG0OSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "safetyRatings", + "printedName": "safetyRatings", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV13safetyRatingsSayAA12SafetyRatingVGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(blockReason:safetyRatings:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockReason", + "printedName": "FirebaseVertexAI.PromptFeedback.BlockReason", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11BlockReasonO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetyRating]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV11blockReason13safetyRatingsA2C05BlockG0OSg_SayAA12SafetyRatingVGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PromptFeedback", + "printedName": "FirebaseVertexAI.PromptFeedback", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14PromptFeedbackV", + "mangledName": "$s16FirebaseVertexAI14PromptFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "GenerationConfig", + "printedName": "GenerationConfig", + "children": [ + { + "kind": "Var", + "name": "temperature", + "printedName": "temperature", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperatureSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topP", + "printedName": "topP", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topPSfSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "topK", + "printedName": "topK", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV4topKSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "candidateCount", + "printedName": "candidateCount", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14candidateCountSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxOutputTokens", + "printedName": "maxOutputTokens", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV15maxOutputTokensSiSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stopSequences", + "printedName": "stopSequences", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV13stopSequencesSaySSGSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseMIMEType", + "printedName": "responseMIMEType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV16responseMIMETypeSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "responseSchema", + "printedName": "responseSchema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV14responseSchemaAA0G0CSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(temperature:topP:topK:candidateCount:maxOutputTokens:stopSequences:responseMIMEType:responseSchema:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Float?", + "children": [ + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV11temperature4topP0G1K14candidateCount15maxOutputTokens13stopSequences16responseMIMEType0O6SchemaACSfSg_ALSiSgA2MSaySSGSgSSSgAA0Q0CSgtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI16GenerationConfigV", + "mangledName": "$s16FirebaseVertexAI16GenerationConfigV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "RequestOptions", + "printedName": "RequestOptions", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(timeout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV7timeoutACSdSg_tcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14RequestOptionsV", + "mangledName": "$s16FirebaseVertexAI14RequestOptionsV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "GenerativeModel", + "printedName": "GenerativeModel", + "children": [ + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContent", + "printedName": "generateContent(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15generateContentyAA08GenerateG8ResponseVSayAA0eG0VGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGAA26ThrowingPartsRepresentable_pd_tKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generateContentStream", + "printedName": "generateContentStream(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AsyncThrowingStream", + "printedName": "_Concurrency.AsyncThrowingStream", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerateContentResponse", + "printedName": "FirebaseVertexAI.GenerateContentResponse", + "usr": "s:16FirebaseVertexAI23GenerateContentResponseV" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Scs" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC21generateContentStreamyScsyAA08GenerateG8ResponseVs5Error_pGSayAA0eG0VGyKXKKF", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "12.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startChat", + "printedName": "startChat(history:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Chat", + "printedName": "FirebaseVertexAI.Chat", + "usr": "s:16FirebaseVertexAI4ChatC" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC9startChat7historyAA0G0CSayAA0E7ContentVG_tF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVAA26ThrowingPartsRepresentable_pd_tYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "countTokens", + "printedName": "countTokens(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensResponse", + "printedName": "FirebaseVertexAI.CountTokensResponse", + "usr": "s:16FirebaseVertexAI19CountTokensResponseV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() throws -> [FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent]", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC11countTokensyAA05CountG8ResponseVSayAA0E7ContentVGyKXKYaKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "unownedExecutor", + "printedName": "unownedExecutor", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Available", + "Available", + "Available", + "Available", + "Available", + "Final", + "Nonisolated", + "Semantics" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UnownedSerialExecutor", + "printedName": "_Concurrency.UnownedSerialExecutor", + "usr": "s:Sce" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC15unownedExecutorScevg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI15GenerativeModelC", + "mangledName": "$s16FirebaseVertexAI15GenerativeModelC", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Actor", + "printedName": "Actor", + "usr": "s:ScA", + "mangledName": "$sScA" + }, + { + "kind": "Conformance", + "name": "AnyActor", + "printedName": "AnyActor", + "usr": "s:12_Concurrency8AnyActorP", + "mangledName": "$ss8AnyActorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CountTokensError", + "printedName": "CountTokensError", + "children": [ + { + "kind": "Var", + "name": "internalError", + "printedName": "internalError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.CountTokensError.Type) -> (Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> FirebaseVertexAI.CountTokensError", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(underlying: Swift.Error)", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.CountTokensError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CountTokensError", + "printedName": "FirebaseVertexAI.CountTokensError", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO08internalF0yACs0F0_p_tcACmF", + "moduleName": "FirebaseVertexAI" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI16CountTokensErrorO", + "mangledName": "$s16FirebaseVertexAI16CountTokensErrorO", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "JSONValue", + "printedName": "JSONValue", + "children": [ + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4nullyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Double) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6numberyACSdcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6stringyACSScACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "bool", + "printedName": "bool", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> (Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4boolyACSbcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:SD" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6objectyACSDySSACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.JSONValue.Type) -> ([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([FirebaseVertexAI.JSONValue]) -> FirebaseVertexAI.JSONValue", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.JSONValue]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "usr": "s:Sa" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.JSONValue.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO5arrayyACSayACGcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI9JSONValueO4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI9JSONValueO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + }, + { + "kind": "TypeNominal", + "name": "JSONValue", + "printedName": "FirebaseVertexAI.JSONValue", + "usr": "s:16FirebaseVertexAI9JSONValueO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI9JSONValueO2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI9JSONValueO", + "mangledName": "$s16FirebaseVertexAI9JSONValueO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ModelContent", + "printedName": "ModelContent", + "children": [ + { + "kind": "TypeDecl", + "name": "Part", + "printedName": "Part", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textyAESScAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Foundation.Data) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4datayAESS_10Foundation4DataVtcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "fileData", + "printedName": "fileData", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, Swift.String) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(mimetype: Swift.String, uri: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO8fileDatayAESS_SStcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionCall", + "printedName": "functionCall", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionCall) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionCall", + "printedName": "FirebaseVertexAI.FunctionCall", + "usr": "s:16FirebaseVertexAI12FunctionCallV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO12functionCallyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "functionResponse", + "printedName": "functionResponse", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ModelContent.Part.Type) -> (FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.FunctionResponse) -> FirebaseVertexAI.ModelContent.Part", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "FunctionResponse", + "printedName": "FirebaseVertexAI.FunctionResponse", + "usr": "s:16FirebaseVertexAI16FunctionResponseV" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ModelContent.Part.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO16functionResponseyAeA08FunctionH0VcAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "jpeg", + "printedName": "jpeg(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4jpegyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "png", + "printedName": "png(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO3pngyAE10Foundation4DataVFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4textSSSgvg", + "moduleName": "FirebaseVertexAI", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO2eeoiySbAE_AEtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO13tryPartsValueSayAEGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4PartO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Var", + "name": "role", + "printedName": "role", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4roleSSSgvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parts", + "printedName": "parts", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "mangledName": "$s16FirebaseVertexAI12ModelContentV5partsSayAC4PartOGvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtKcAA26ThrowingPartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_xtcAA18PartsRepresentableRzlufc", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:parts:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role5partsACSSSg_SayAC4PartOGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ThrowingPartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "ThrowingPartsRepresentable", + "printedName": "FirebaseVertexAI.ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_AA26ThrowingPartsRepresentable_pdtKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(role:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.PartsRepresentable]", + "children": [ + { + "kind": "TypeNominal", + "name": "PartsRepresentable", + "printedName": "FirebaseVertexAI.PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4role_ACSSSg_SayAA18PartsRepresentable_pGtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12ModelContentV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12ModelContentV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI12ModelContentV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12ModelContentV", + "mangledName": "$s16FirebaseVertexAI12ModelContentV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentablePAAE03tryD5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 : FirebaseVertexAI.PartsRepresentable>", + "sugared_genericSig": "", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 : FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + } + ] + }, + { + "kind": "Import", + "name": "UniformTypeIdentifiers", + "printedName": "UniformTypeIdentifiers", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "TypeDecl", + "name": "ImageConversionError", + "printedName": "ImageConversionError", + "children": [ + { + "kind": "TypeDecl", + "name": "SourceImage", + "printedName": "SourceImage", + "children": [ + { + "kind": "Var", + "name": "uiImage", + "printedName": "uiImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(UIKit.UIImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "UIImage", + "printedName": "UIKit.UIImage", + "usr": "c:objc(cs)UIImage" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02uiD0yAESo7UIImageCcAEmF", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Var", + "name": "cgImage", + "printedName": "cgImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage.Type) -> (CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(CoreGraphics.CGImage) -> FirebaseVertexAI.ImageConversionError.SourceImage", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + }, + { + "kind": "TypeNominal", + "name": "CGImage", + "printedName": "CoreGraphics.CGImage", + "usr": "c:@T@CGImageRef" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O02cgD0yAESo10CGImageRefacAEmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO06SourceD0O", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "invalidUnderlyingImage", + "printedName": "invalidUnderlyingImage", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO017invalidUnderlyingD0yA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotAllocateDestination", + "printedName": "couldNotAllocateDestination", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO27couldNotAllocateDestinationyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "couldNotConvertToJPEG", + "printedName": "couldNotConvertToJPEG", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.Type) -> (FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.ImageConversionError.SourceImage) -> FirebaseVertexAI.ImageConversionError", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + }, + { + "kind": "TypeNominal", + "name": "SourceImage", + "printedName": "FirebaseVertexAI.ImageConversionError.SourceImage", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO06SourceD0O" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.ImageConversionError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ImageConversionError", + "printedName": "FirebaseVertexAI.ImageConversionError", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO21couldNotConvertToJPEGyA2C06SourceD0OcACmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI20ImageConversionErrorO", + "mangledName": "$s16FirebaseVertexAI20ImageConversionErrorO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyRating", + "printedName": "SafetyRating", + "children": [ + { + "kind": "Var", + "name": "category", + "printedName": "category", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8categoryAA0D7SettingV12HarmCategoryOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "probability", + "printedName": "probability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV11probabilityAC15HarmProbabilityOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(category:probability:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV8category11probabilityAcA0D7SettingV12HarmCategoryO_AC0I11ProbabilityOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeDecl", + "name": "HarmProbability", + "printedName": "HarmProbability", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "negligible", + "printedName": "negligible", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO10negligibleyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "low", + "printedName": "low", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO3lowyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "medium", + "printedName": "medium", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO6mediumyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "high", + "printedName": "high", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetyRating.HarmProbability.Type) -> FirebaseVertexAI.SafetyRating.HarmProbability", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4highyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmProbability", + "printedName": "FirebaseVertexAI.SafetyRating.HarmProbability", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV15HarmProbabilityO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV2eeoiySbAC_ACtFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV9hashValueSivg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4hash4intoys6HasherVz_tF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI12SafetyRatingV", + "mangledName": "$s16FirebaseVertexAI12SafetyRatingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetyFeedback", + "printedName": "SafetyFeedback", + "children": [ + { + "kind": "Var", + "name": "rating", + "printedName": "rating", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyRating", + "printedName": "FirebaseVertexAI.SafetyRating", + "usr": "s:16FirebaseVertexAI12SafetyRatingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV6ratingAA0D6RatingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "setting", + "printedName": "setting", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV7settingAA0D7SettingVvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetyFeedback", + "printedName": "FirebaseVertexAI.SafetyFeedback", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI14SafetyFeedbackV", + "mangledName": "$s16FirebaseVertexAI14SafetyFeedbackV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SafetySetting", + "printedName": "SafetySetting", + "children": [ + { + "kind": "TypeDecl", + "name": "HarmCategory", + "printedName": "HarmCategory", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "harassment", + "printedName": "harassment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10harassmentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "hateSpeech", + "printedName": "hateSpeech", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO10hateSpeechyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "sexuallyExplicit", + "printedName": "sexuallyExplicit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16sexuallyExplicityA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "dangerousContent", + "printedName": "dangerousContent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.HarmCategory.Type) -> FirebaseVertexAI.SafetySetting.HarmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO16dangerousContentyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory?", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12HarmCategoryO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "BlockThreshold", + "printedName": "BlockThreshold", + "children": [ + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO7unknownyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "unspecified", + "printedName": "unspecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO11unspecifiedyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockLowAndAbove", + "printedName": "blockLowAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO16blockLowAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockMediumAndAbove", + "printedName": "blockMediumAndAbove", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO19blockMediumAndAboveyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockOnlyHigh", + "printedName": "blockOnlyHigh", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO13blockOnlyHighyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "blockNone", + "printedName": "blockNone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.SafetySetting.BlockThreshold.Type) -> FirebaseVertexAI.SafetySetting.BlockThreshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO9blockNoneyA2EmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold?", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueAESgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO4fromAEs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV14BlockThresholdO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Var", + "name": "harmCategory", + "printedName": "harmCategory", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategoryAC04HarmG0Ovg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "threshold", + "printedName": "threshold", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV9thresholdAC14BlockThresholdOvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(harmCategory:threshold:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "HarmCategory", + "printedName": "FirebaseVertexAI.SafetySetting.HarmCategory", + "usr": "s:16FirebaseVertexAI13SafetySettingV12HarmCategoryO" + }, + { + "kind": "TypeNominal", + "name": "BlockThreshold", + "printedName": "FirebaseVertexAI.SafetySetting.BlockThreshold", + "usr": "s:16FirebaseVertexAI13SafetySettingV14BlockThresholdO" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV12harmCategory9thresholdA2C04HarmG0O_AC14BlockThresholdOtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV4fromACs7Decoder_p_tKcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:16FirebaseVertexAI13SafetySettingV", + "mangledName": "$s16FirebaseVertexAI13SafetySettingV", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "Schema", + "printedName": "Schema", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:format:description:nullable:enumValues:items:properties:requiredProperties:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + }, + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.Schema?", + "children": [ + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : FirebaseVertexAI.Schema]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Schema", + "printedName": "FirebaseVertexAI.Schema", + "usr": "s:16FirebaseVertexAI6SchemaC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "mangledName": "$s16FirebaseVertexAI6SchemaC4type6format11description8nullable10enumValues5items10properties18requiredPropertiesAcA8DataTypeO_SSSgANSbSgSaySSGSgACSgSDySSACGSgAQtcfc", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "mangledName": "$s16FirebaseVertexAI6SchemaC6encode2toys7Encoder_p_tKF", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16FirebaseVertexAI6SchemaC", + "mangledName": "$s16FirebaseVertexAI6SchemaC", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "DataType", + "printedName": "DataType", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6stringyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "number", + "printedName": "number", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6numberyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "integer", + "printedName": "integer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7integeryA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "boolean", + "printedName": "boolean", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO7booleanyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "array", + "printedName": "array", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO5arrayyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "object", + "printedName": "object", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(FirebaseVertexAI.DataType.Type) -> FirebaseVertexAI.DataType", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "FirebaseVertexAI.DataType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "mangledName": "$s16FirebaseVertexAI8DataTypeO6objectyA2CmF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.DataType?", + "children": [ + { + "kind": "TypeNominal", + "name": "DataType", + "printedName": "FirebaseVertexAI.DataType", + "usr": "s:16FirebaseVertexAI8DataTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueACSgSS_tcfc", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvp", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "mangledName": "$s16FirebaseVertexAI8DataTypeO8rawValueSSvg", + "moduleName": "FirebaseVertexAI", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:16FirebaseVertexAI8DataTypeO", + "mangledName": "$s16FirebaseVertexAI8DataTypeO", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "enumRawTypeName": "String", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "Import", + "name": "FirebaseAppCheckInterop", + "printedName": "FirebaseAppCheckInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "FirebaseAuthInterop", + "printedName": "FirebaseAuthInterop", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCore", + "printedName": "FirebaseCore", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "FirebaseVertexAI" + }, + { + "kind": "Import", + "name": "FirebaseCoreExtension", + "printedName": "FirebaseCoreExtension", + "declKind": "Import", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "ImplementationOnly", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "VertexAI", + "printedName": "VertexAI", + "children": [ + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC08locationACSS_tFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "vertexAI", + "printedName": "vertexAI(app:location:)", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + }, + { + "kind": "TypeNominal", + "name": "FirebaseApp", + "printedName": "FirebaseCore.FirebaseApp", + "usr": "c:objc(cs)FIRApp" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "mangledName": "$s16FirebaseVertexAI0bC0C06vertexC03app8locationACSo6FIRAppC_SStFZ", + "moduleName": "FirebaseVertexAI", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "generativeModel", + "printedName": "generativeModel(modelName:generationConfig:safetySettings:tools:toolConfig:systemInstruction:requestOptions:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerativeModel", + "printedName": "FirebaseVertexAI.GenerativeModel", + "usr": "s:16FirebaseVertexAI15GenerativeModelC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.GenerationConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenerationConfig", + "printedName": "FirebaseVertexAI.GenerationConfig", + "usr": "s:16FirebaseVertexAI16GenerationConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.SafetySetting]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.SafetySetting]", + "children": [ + { + "kind": "TypeNominal", + "name": "SafetySetting", + "printedName": "FirebaseVertexAI.SafetySetting", + "usr": "s:16FirebaseVertexAI13SafetySettingV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[FirebaseVertexAI.Tool]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.Tool]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tool", + "printedName": "FirebaseVertexAI.Tool", + "usr": "s:16FirebaseVertexAI4ToolV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ToolConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "ToolConfig", + "printedName": "FirebaseVertexAI.ToolConfig", + "usr": "s:16FirebaseVertexAI10ToolConfigV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "FirebaseVertexAI.ModelContent?", + "children": [ + { + "kind": "TypeNominal", + "name": "ModelContent", + "printedName": "FirebaseVertexAI.ModelContent", + "usr": "s:16FirebaseVertexAI12ModelContentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "RequestOptions", + "printedName": "FirebaseVertexAI.RequestOptions", + "hasDefaultArg": true, + "usr": "s:16FirebaseVertexAI14RequestOptionsV" + } + ], + "declKind": "Func", + "usr": "s:16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "mangledName": "$s16FirebaseVertexAI0bC0C15generativeModel9modelName16generationConfig14safetySettings5tools04toolI017systemInstruction14requestOptionsAA010GenerativeE0CSS_AA010GenerationI0VSgSayAA13SafetySettingVGSgSayAA4ToolVGSgAA0vI0VSgAA0E7ContentVSgAA07RequestQ0VtF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "VertexAI", + "printedName": "FirebaseVertexAI.VertexAI", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI" + } + ], + "declKind": "Constructor", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI(im)init", + "mangledName": "$s16FirebaseVertexAI0bC0CACycfc", + "moduleName": "FirebaseVertexAI", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@FirebaseVertexAI@objc(cs)VertexAI", + "mangledName": "$s16FirebaseVertexAI0bC0C", + "moduleName": "FirebaseVertexAI", + "intro_Macosx": "11.0", + "intro_iOS": "15.0", + "intro_tvOS": "15.0", + "intro_watchOS": "8.0", + "declAttributes": [ + "AccessControl", + "Available", + "Available", + "Available", + "Available", + "Available", + "RawDocComment", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Array", + "printedName": "Array", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:Sa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "mangledName": "$sSa16FirebaseVertexAIAA26ThrowingPartsRepresentable_pRszlE03tryE5ValueSayAA12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "genericSig": "<Ï„_0_0 where Ï„_0_0 == FirebaseVertexAI.ThrowingPartsRepresentable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:Sa", + "mangledName": "$sSa", + "moduleName": "Swift", + "genericSig": "<Ï„_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "_DestructorSafeContainer", + "printedName": "_DestructorSafeContainer", + "usr": "s:s24_DestructorSafeContainerP", + "mangledName": "$ss24_DestructorSafeContainerP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_ArrayProtocol", + "printedName": "_ArrayProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "_Buffer", + "printedName": "_Buffer", + "children": [ + { + "kind": "TypeNominal", + "name": "_ArrayBuffer", + "printedName": "Swift._ArrayBuffer<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s12_ArrayBufferV" + } + ] + } + ], + "usr": "s:s14_ArrayProtocolP", + "mangledName": "$ss14_ArrayProtocolP" + }, + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "MutableCollection", + "printedName": "MutableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:SM", + "mangledName": "$sSM" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator<[Ï„_0_0]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Ï„_0_0]", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "ArraySlice", + "printedName": "Swift.ArraySlice<Ï„_0_0>", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Ï„_0_0" + } + ], + "usr": "s:s10ArraySliceV" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSArray", + "printedName": "Foundation.NSArray", + "usr": "c:objc(cs)NSArray" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "ContiguousBytes", + "printedName": "ContiguousBytes", + "usr": "s:10Foundation15ContiguousBytesP", + "mangledName": "$s10Foundation15ContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "EncodableWithConfiguration", + "printedName": "EncodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "EncodingConfiguration", + "printedName": "EncodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.EncodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26EncodableWithConfigurationP", + "mangledName": "$s10Foundation26EncodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DecodableWithConfiguration", + "printedName": "DecodableWithConfiguration", + "children": [ + { + "kind": "TypeWitness", + "name": "DecodingConfiguration", + "printedName": "DecodingConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "Ï„_0_0.DecodingConfiguration" + } + ] + } + ], + "usr": "s:10Foundation26DecodableWithConfigurationP", + "mangledName": "$s10Foundation26DecodableWithConfigurationP" + }, + { + "kind": "Conformance", + "name": "DataProtocol", + "printedName": "DataProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "Regions", + "printedName": "Regions", + "children": [ + { + "kind": "TypeNominal", + "name": "CollectionOfOne", + "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.UInt8]", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:s15CollectionOfOneV" + } + ] + } + ], + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP" + }, + { + "kind": "Conformance", + "name": "MutableDataProtocol", + "printedName": "MutableDataProtocol", + "usr": "s:10Foundation19MutableDataProtocolP", + "mangledName": "$s10Foundation19MutableDataProtocolP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "String", + "printedName": "String", + "children": [ + { + "kind": "Var", + "name": "partsValue", + "printedName": "partsValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvp", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:SS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "mangledName": "$sSS16FirebaseVertexAIE10partsValueSayAA12ModelContentV4PartOGvg", + "moduleName": "FirebaseVertexAI", + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:SS", + "mangledName": "$sSS", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "PartsRepresentable", + "printedName": "PartsRepresentable", + "usr": "s:16FirebaseVertexAI18PartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI18PartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "_HasContiguousBytes", + "printedName": "_HasContiguousBytes", + "usr": "s:s19_HasContiguousBytesP", + "mangledName": "$ss19_HasContiguousBytesP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "TextOutputStream", + "printedName": "TextOutputStream", + "usr": "s:s16TextOutputStreamP", + "mangledName": "$ss16TextOutputStreamP" + }, + { + "kind": "Conformance", + "name": "TextOutputStreamable", + "printedName": "TextOutputStreamable", + "usr": "s:s20TextOutputStreamableP", + "mangledName": "$ss20TextOutputStreamableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "printedName": "_ExpressibleByBuiltinUnicodeScalarLiteral", + "usr": "s:s41_ExpressibleByBuiltinUnicodeScalarLiteralP", + "mangledName": "$ss41_ExpressibleByBuiltinUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "printedName": "_ExpressibleByBuiltinExtendedGraphemeClusterLiteral", + "usr": "s:s51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP", + "mangledName": "$ss51_ExpressibleByBuiltinExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinStringLiteral", + "printedName": "_ExpressibleByBuiltinStringLiteral", + "usr": "s:s34_ExpressibleByBuiltinStringLiteralP", + "mangledName": "$ss34_ExpressibleByBuiltinStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Index", + "printedName": "Swift.String.Index", + "usr": "s:SS5IndexV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultIndices", + "printedName": "Swift.DefaultIndices", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SI" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "Character", + "printedName": "Swift.Character", + "usr": "s:SJ" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "Iterator", + "printedName": "Swift.String.Iterator", + "usr": "s:SS8IteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "StringProtocol", + "printedName": "StringProtocol", + "children": [ + { + "kind": "TypeWitness", + "name": "UTF8View", + "printedName": "UTF8View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF8View", + "printedName": "Swift.String.UTF8View", + "usr": "s:SS8UTF8ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UTF16View", + "printedName": "UTF16View", + "children": [ + { + "kind": "TypeNominal", + "name": "UTF16View", + "printedName": "Swift.String.UTF16View", + "usr": "s:SS9UTF16ViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "UnicodeScalarView", + "printedName": "UnicodeScalarView", + "children": [ + { + "kind": "TypeNominal", + "name": "UnicodeScalarView", + "printedName": "Swift.String.UnicodeScalarView", + "usr": "s:SS17UnicodeScalarViewV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sy", + "mangledName": "$sSy" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "RangeReplaceableCollection", + "printedName": "RangeReplaceableCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Substring", + "printedName": "Swift.Substring", + "usr": "s:Ss" + } + ] + } + ], + "usr": "s:Sm", + "mangledName": "$sSm" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSString", + "printedName": "Foundation.NSString", + "usr": "c:objc(cs)NSString" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UIImage", + "printedName": "UIImage", + "children": [ + { + "kind": "Function", + "name": "tryPartsValue", + "printedName": "tryPartsValue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[FirebaseVertexAI.ModelContent.Part]", + "children": [ + { + "kind": "TypeNominal", + "name": "Part", + "printedName": "FirebaseVertexAI.ModelContent.Part", + "usr": "s:16FirebaseVertexAI12ModelContentV4PartO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:So7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "mangledName": "$sSo7UIImageC16FirebaseVertexAIE13tryPartsValueSayAC12ModelContentV4PartOGyKF", + "moduleName": "FirebaseVertexAI", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIImage", + "moduleName": "UIKit", + "isOpen": true, + "intro_watchOS": "2.0", + "objc_name": "UIImage", + "declAttributes": [ + "Available", + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "ThrowingPartsRepresentable", + "printedName": "ThrowingPartsRepresentable", + "usr": "s:16FirebaseVertexAI26ThrowingPartsRepresentableP", + "mangledName": "$s16FirebaseVertexAI26ThrowingPartsRepresentableP" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByImageLiteral", + "printedName": "_ExpressibleByImageLiteral", + "usr": "s:s26_ExpressibleByImageLiteralP", + "mangledName": "$ss26_ExpressibleByImageLiteralP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3132, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "IntegerLiteral", + "offset": 3192, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3289, + "length": 39, + "value": "\"No candidates with content available.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 3530, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 5351, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "Array", + "offset": 6654, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 6680, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7205, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7383, + "length": 7, + "value": "\"model\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Chat.swift", + "kind": "StringLiteral", + "offset": 7677, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Constants.swift", + "kind": "StringLiteral", + "offset": 870, + "length": 35, + "value": "\"https:\/\/firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1005, + "length": 65, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1026, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1048, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "StringLiteral", + "offset": 1057, + "length": 1, + "value": "\":countTokens\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/CountTokensRequest.swift", + "kind": "IntegerLiteral", + "offset": 2425, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "IntegerLiteral", + "offset": 1551, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 1657, + "length": 16, + "value": "\"Unknown error.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2005, + "length": 42, + "value": "\"type.googleapis.com\/google.rpc.ErrorInfo\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2332, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2364, + "length": 18, + "value": "\"SERVICE_DISABLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2403, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2435, + "length": 16, + "value": "\"googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2472, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2517, + "length": 9, + "value": "\"service\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2531, + "length": 27, + "value": "\"firebaseml.googleapis.com\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2579, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "BooleanLiteral", + "offset": 2602, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 2716, + "length": 7, + "value": "\"@type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "Array", + "offset": 3438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3542, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3626, + "length": 11, + "value": "\"CANCELLED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3676, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3759, + "length": 18, + "value": "\"INVALID_ARGUMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3868, + "length": 19, + "value": "\"DEADLINE_EXCEEDED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 3975, + "length": 11, + "value": "\"NOT_FOUND\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4103, + "length": 16, + "value": "\"ALREADY_EXISTS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4224, + "length": 19, + "value": "\"PERMISSION_DENIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4353, + "length": 17, + "value": "\"UNAUTHENTICATED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4520, + "length": 20, + "value": "\"RESOURCE_EXHAUSTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4684, + "length": 21, + "value": "\"FAILED_PRECONDITION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4854, + "length": 9, + "value": "\"ABORTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 4940, + "length": 14, + "value": "\"OUT_OF_RANGE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5062, + "length": 15, + "value": "\"UNIMPLEMENTED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5124, + "length": 10, + "value": "\"INTERNAL\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5200, + "length": 13, + "value": "\"UNAVAILABLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Errors.swift", + "kind": "StringLiteral", + "offset": 5277, + "length": 11, + "value": "\"DATA_LOSS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3780, + "length": 6, + "value": "\"AUTO\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 3885, + "length": 5, + "value": "\"ANY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/FunctionCalling.swift", + "kind": "StringLiteral", + "offset": 4053, + "length": 6, + "value": "\"NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1533, + "length": 53, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1554, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1576, + "length": 1, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1585, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1633, + "length": 43, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1645, + "length": 1, + "value": "\":streamGenerateContent?alt=sse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1717, + "length": 29, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentRequest.swift", + "kind": "StringLiteral", + "offset": 1729, + "length": 1, + "value": "\":generateContent\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 1808, + "length": 79, + "value": "\"[FirebaseVertexAI] Could not get text from a response that had no candidates.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 2115, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2161, + "length": 72, + "value": "\"[FirebaseVertexAI] Could not get a text part from the first candidate.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 2298, + "length": 3, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 2514, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5324, + "length": 23, + "value": "\"FINISH_REASON_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5370, + "length": 27, + "value": "\"FINISH_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5478, + "length": 6, + "value": "\"STOP\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5581, + "length": 12, + "value": "\"MAX_TOKENS\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5812, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 5942, + "length": 12, + "value": "\"RECITATION\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6026, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6409, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6510, + "length": 26, + "value": "\"BLOCK_REASON_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6617, + "length": 8, + "value": "\"SAFETY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 6677, + "length": 7, + "value": "\"OTHER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 7630, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7660, + "length": 43, + "value": "\"Failed to decode GenerateContentResponse;\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 7716, + "length": 50, + "value": "\" missing keys 'candidates' and 'promptFeedback'.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 8019, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8693, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8803, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 8896, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 9578, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 10197, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 10611, + "length": 11, + "value": "\"citations\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "IntegerLiteral", + "offset": 11058, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 11954, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized FinishReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12021, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12475, + "length": 70, + "value": "\"[FirebaseVertexAI] Unrecognized BlockReason with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "StringLiteral", + "offset": 12541, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerateContentResponse.swift", + "kind": "Array", + "offset": 13255, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIRequest.swift", + "kind": "StringLiteral", + "offset": 1229, + "length": 8, + "value": "\"v2beta\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 891, + "length": 12, + "value": "\"gl-swift\/5\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1002, + "length": 27, + "value": "\"fire\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 1028, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 1989, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2028, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2095, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2196, + "length": 56, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 2251, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 3452, + "length": 3, + "value": "200" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3508, + "length": 68, + "value": "\"[FirebaseVertexAI] The server responded with an error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3575, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3607, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3692, + "length": 4, + "value": "\"\n\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3742, + "length": 54, + "value": "\"[FirebaseVertexAI] Response payload: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 3795, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4033, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4210, + "length": 45, + "value": "\"[FirebaseVertexAI] Stream response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4254, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 4286, + "length": 7, + "value": "\"data:\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 4432, + "length": 1, + "value": "5" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 5023, + "length": 1, + "value": "0" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5394, + "length": 6, + "value": "\"POST\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5453, + "length": 16, + "value": "\"x-goog-api-key\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5502, + "length": 78, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5537, + "length": 1, + "value": "\" \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5579, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5608, + "length": 19, + "value": "\"x-goog-api-client\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5658, + "length": 18, + "value": "\"application\/json\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5698, + "length": 14, + "value": "\"Content-Type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 5801, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5873, + "length": 21, + "value": "\"X-Firebase-AppCheck\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 5978, + "length": 68, + "value": "\"[FirebaseVertexAI] Failed to fetch AppCheck token. Error: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6045, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "BooleanLiteral", + "offset": 6136, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6171, + "length": 23, + "value": "\"Firebase \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6193, + "length": 24, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6216, + "length": 15, + "value": "\"Authorization\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6752, + "length": 84, + "value": "\"[FirebaseVertexAI] Response wasn't an HTTP response, internal error \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6835, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6884, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 6926, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 6976, + "length": 36, + "value": "\"Response was not an HTTP response.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7212, + "length": 26, + "value": "\"com.google.generative-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "IntegerLiteral", + "offset": 7254, + "length": 2, + "value": "-1" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 7304, + "length": 35, + "value": "\"Could not parse response as UTF8.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8231, + "length": 455, + "value": "\"The Vertex AI for Firebase SDK requires the Firebase ML API `firebaseml.googleapis.com` to be enabled for your project. Get started in the Firebase Console (https:\/\/console.firebase.google.com\/project\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8470, + "length": 1, + "value": "\"\/genai\/vertex) or verify that the API is enabled in the Google Cloud Console (https:\/\/console.developers.google.com\/apis\/api\/firebaseml.googleapis.com\/overview?project=\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8674, + "length": 1, + "value": "\").\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8956, + "length": 43, + "value": "\"[FirebaseVertexAI] JSON response: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 8998, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9037, + "length": 57, + "value": "\"[FirebaseVertexAI] Error decoding server JSON: \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeAIService.swift", + "kind": "StringLiteral", + "offset": 9093, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3766, + "length": 278, + "value": "\"[FirebaseVertexAI] Verbose logging enabled with the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3895, + "length": 6, + "value": "\" launch argument; please migrate to the \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 3991, + "length": 8, + "value": "\" argument to ensure future compatibility.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4091, + "length": 45, + "value": "\"[FirebaseVertexAI] Verbose logging enabled.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4186, + "length": 160, + "value": "\"[FirebaseVertexAI] To enable additional logging, add `\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4304, + "length": 1, + "value": "\"` as a launch argument in Xcode.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4380, + "length": 65, + "value": "\"[FirebaseVertexAI] Model \"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "StringLiteral", + "offset": 4431, + "length": 11, + "value": "\" initialized.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 6689, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "BooleanLiteral", + "offset": 10206, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/GenerativeModel.swift", + "kind": "Array", + "offset": 11474, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/JSONValue.swift", + "kind": "StringLiteral", + "offset": 2186, + "length": 30, + "value": "\"Failed to decode JSON value.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 794, + "length": 31, + "value": "\"com.google.firebase.vertex-ai\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 924, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1019, + "length": 18, + "value": "\"-FIRDebugEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1372, + "length": 36, + "value": "\"-GoogleGenerativeAIDebugLogEnabled\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "StringLiteral", + "offset": 1835, + "length": 17, + "value": "\"NetworkResponse\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2600, + "length": 4, + "value": "true" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Logging.swift", + "kind": "BooleanLiteral", + "offset": 2622, + "length": 5, + "value": "false" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2583, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 2756, + "length": 11, + "value": "\"image\/png\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3456, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3787, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 3971, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4237, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 4600, + "length": 6, + "value": "\"user\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5209, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5238, + "length": 6, + "value": "\"data\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5311, + "length": 11, + "value": "\"mime_type\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 5338, + "length": 10, + "value": "\"file_uri\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/ModelContent.swift", + "kind": "StringLiteral", + "offset": 7245, + "length": 50, + "value": "\"No text, inline data or function call was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "FloatLiteral", + "offset": 806, + "length": 3, + "value": "0.8" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/PartsRepresentable+Image.swift", + "kind": "StringLiteral", + "offset": 2388, + "length": 12, + "value": "\"image\/jpeg\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2107, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2207, + "length": 30, + "value": "\"HARM_PROBABILITY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2397, + "length": 12, + "value": "\"NEGLIGIBLE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2473, + "length": 5, + "value": "\"LOW\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2535, + "length": 8, + "value": "\"MEDIUM\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 2640, + "length": 6, + "value": "\"HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3630, + "length": 23, + "value": "\"HARM_CATEGORY_UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3713, + "length": 27, + "value": "\"HARM_CATEGORY_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3792, + "length": 26, + "value": "\"HARM_CATEGORY_HARASSMENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 3927, + "length": 27, + "value": "\"HARM_CATEGORY_HATE_SPEECH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4050, + "length": 33, + "value": "\"HARM_CATEGORY_SEXUALLY_EXPLICIT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4191, + "length": 33, + "value": "\"HARM_CATEGORY_DANGEROUS_CONTENT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4440, + "length": 9, + "value": "\"UNKNOWN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4508, + "length": 34, + "value": "\"HARM_BLOCK_THRESHOLD_UNSPECIFIED\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4623, + "length": 21, + "value": "\"BLOCK_LOW_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4740, + "length": 24, + "value": "\"BLOCK_MEDIUM_AND_ABOVE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4866, + "length": 17, + "value": "\"BLOCK_ONLY_HIGH\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 4943, + "length": 12, + "value": "\"BLOCK_NONE\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5024, + "length": 10, + "value": "\"category\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5891, + "length": 74, + "value": "\"[FirebaseVertexAI] Unrecognized HarmProbability with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 5961, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 71, + "value": "\"[FirebaseVertexAI] Unrecognized HarmCategory with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 6710, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7160, + "length": 73, + "value": "\"[FirebaseVertexAI] Unrecognized BlockThreshold with value \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Safety.swift", + "kind": "StringLiteral", + "offset": 7229, + "length": 1, + "value": "\"\".\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3097, + "length": 8, + "value": "\"STRING\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3159, + "length": 8, + "value": "\"NUMBER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3209, + "length": 9, + "value": "\"INTEGER\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3259, + "length": 9, + "value": "\"BOOLEAN\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3306, + "length": 7, + "value": "\"ARRAY\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3353, + "length": 8, + "value": "\"OBJECT\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3557, + "length": 6, + "value": "\"enum\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/Schema.swift", + "kind": "StringLiteral", + "offset": 3629, + "length": 10, + "value": "\"required\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1459, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 1550, + "length": 52, + "value": "\"No instance of the default Firebase app was found.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 2238, + "length": 13, + "value": "\"us-central1\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "Dictionary", + "offset": 5247, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5789, + "length": 80, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5826, + "length": 1, + "value": "\"\" has no project ID in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 5975, + "length": 77, + "value": "\"The Firebase app named \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6012, + "length": 1, + "value": "\"\" has no API key in its configuration.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6281, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6312, + "length": 189, + "value": "\"Invalid model name \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6354, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/gemini-model#available-models for a list of available models.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6612, + "length": 3, + "value": "\"\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6643, + "length": 202, + "value": "\"Invalid location \"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6682, + "length": 18, + "value": "\"\" specified; see https:\/\/firebase.google.com\/docs\/vertex-ai\/locations?platform=ios#available-locations for a list of available locations.\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6865, + "length": 83, + "value": "\"projects\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6887, + "length": 1, + "value": "\"\/locations\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6909, + "length": 1, + "value": "\"\/publishers\/google\/models\/\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 6947, + "length": 1, + "value": "\"\"" + }, + { + "filePath": "\/var\/folders\/72\/1_pq_fmd68z11lwcbjh9cyj00000gn\/T\/ZipRelease\/2024-09-08T14-54-14\/project-watchos\/Pods\/FirebaseVertexAI\/FirebaseVertexAI\/Sources\/VertexAI.swift", + "kind": "StringLiteral", + "offset": 982, + "length": 8, + "value": "\"FirebaseVertexAI.VertexAI\"" + } + ] +} \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-watchos-simulator.private.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-watchos-simulator.private.swiftinterface new file mode 100644 index 00000000000..bddfef51dce --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-watchos-simulator.private.swiftinterface @@ -0,0 +1,506 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-watchos8.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-watchos-simulator.swiftdoc b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-watchos-simulator.swiftdoc new file mode 100644 index 00000000000..9f4fadf4f16 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-watchos-simulator.swiftdoc differ diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-watchos-simulator.swiftinterface b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-watchos-simulator.swiftinterface new file mode 100644 index 00000000000..bddfef51dce --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/FirebaseVertexAI.swiftmodule/x86_64-apple-watchos-simulator.swiftinterface @@ -0,0 +1,506 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-watchos8.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseVertexAI +// swift-module-flags-ignorable: -enable-bare-slash-regex +import FirebaseAppCheckInterop +import FirebaseAuthInterop +import FirebaseCore +@_exported import FirebaseVertexAI +import Foundation +import OSLog +import Swift +import UIKit +import UniformTypeIdentifiers +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public actor Chat { + public var history: [FirebaseVertexAI.ModelContent] + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + public func sendMessage(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + public func sendMessageStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + public func sendMessageStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +#warning("Only iOS, macOS, and Catalyst targets are currently fully supported.") +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CountTokensResponse { + public let totalTokens: Swift.Int + public let totalBillableCharacters: Swift.Int +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CountTokensResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +public struct FunctionCall : Swift.Equatable, Swift.Sendable { + public let name: Swift.String + public let args: FirebaseVertexAI.JSONObject + public static func == (a: FirebaseVertexAI.FunctionCall, b: FirebaseVertexAI.FunctionCall) -> Swift.Bool +} +public struct FunctionDeclaration { + public init(name: Swift.String, description: Swift.String, parameters: [Swift.String : FirebaseVertexAI.Schema]?, requiredParameters: [Swift.String]? = nil) +} +public struct Tool { + public init(functionDeclarations: [FirebaseVertexAI.FunctionDeclaration]?) +} +public struct FunctionCallingConfig { + public enum Mode : Swift.String { + case auto + case any + case none + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public init(mode: FirebaseVertexAI.FunctionCallingConfig.Mode? = nil, allowedFunctionNames: [Swift.String]? = nil) +} +public struct ToolConfig { + public init(functionCallingConfig: FirebaseVertexAI.FunctionCallingConfig? = nil) +} +public struct FunctionResponse : Swift.Equatable, Swift.Sendable { + public init(name: Swift.String, response: FirebaseVertexAI.JSONObject) + public static func == (a: FirebaseVertexAI.FunctionResponse, b: FirebaseVertexAI.FunctionResponse) -> Swift.Bool +} +extension FirebaseVertexAI.FunctionCall : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.FunctionCall : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionDeclaration : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.Tool : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Encodable { +} +extension FirebaseVertexAI.ToolConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.FunctionResponse : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum GenerateContentError : Swift.Error { + case promptImageContentError(underlying: FirebaseVertexAI.ImageConversionError) + case internalError(underlying: any Swift.Error) + case promptBlocked(response: FirebaseVertexAI.GenerateContentResponse) + case responseStoppedEarly(reason: FirebaseVertexAI.FinishReason, response: FirebaseVertexAI.GenerateContentResponse) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerateContentResponse : Swift.Sendable { + public struct UsageMetadata : Swift.Sendable { + public let promptTokenCount: Swift.Int + public let candidatesTokenCount: Swift.Int + public let totalTokenCount: Swift.Int + } + public let candidates: [FirebaseVertexAI.CandidateResponse] + public let promptFeedback: FirebaseVertexAI.PromptFeedback? + public let usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? + public var text: Swift.String? { + get + } + public var functionCalls: [FirebaseVertexAI.FunctionCall] { + get + } + public init(candidates: [FirebaseVertexAI.CandidateResponse], promptFeedback: FirebaseVertexAI.PromptFeedback? = nil, usageMetadata: FirebaseVertexAI.GenerateContentResponse.UsageMetadata? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CandidateResponse : Swift.Sendable { + public let content: FirebaseVertexAI.ModelContent + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public let finishReason: FirebaseVertexAI.FinishReason? + public let citationMetadata: FirebaseVertexAI.CitationMetadata? + public init(content: FirebaseVertexAI.ModelContent, safetyRatings: [FirebaseVertexAI.SafetyRating], finishReason: FirebaseVertexAI.FinishReason?, citationMetadata: FirebaseVertexAI.CitationMetadata?) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct CitationMetadata : Swift.Sendable { + public let citationSources: [FirebaseVertexAI.Citation] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct Citation : Swift.Sendable { + public let startIndex: Swift.Int + public let endIndex: Swift.Int + public let uri: Swift.String? + public let title: Swift.String? + public let license: Swift.String? +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum FinishReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case stop + case maxTokens + case safety + case recitation + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct PromptFeedback : Swift.Sendable { + public enum BlockReason : Swift.String, Swift.Sendable { + case unknown + case unspecified + case safety + case other + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let blockReason: FirebaseVertexAI.PromptFeedback.BlockReason? + public let safetyRatings: [FirebaseVertexAI.SafetyRating] + public init(blockReason: FirebaseVertexAI.PromptFeedback.BlockReason?, safetyRatings: [FirebaseVertexAI.SafetyRating]) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerateContentResponse.UsageMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CandidateResponse : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.CitationMetadata : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.Citation : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct GenerationConfig { + public let temperature: Swift.Float? + public let topP: Swift.Float? + public let topK: Swift.Int? + public let candidateCount: Swift.Int? + public let maxOutputTokens: Swift.Int? + public let stopSequences: [Swift.String]? + public let responseMIMEType: Swift.String? + public let responseSchema: FirebaseVertexAI.Schema? + public init(temperature: Swift.Float? = nil, topP: Swift.Float? = nil, topK: Swift.Int? = nil, candidateCount: Swift.Int? = nil, maxOutputTokens: Swift.Int? = nil, stopSequences: [Swift.String]? = nil, responseMIMEType: Swift.String? = nil, responseSchema: FirebaseVertexAI.Schema? = nil) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.GenerationConfig : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct RequestOptions { + public init(timeout: Foundation.TimeInterval? = nil) +} +#if compiler(>=5.3) && $Actors +@_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +final public actor GenerativeModel { + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func generateContent(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.GenerateContentResponse + #endif + @available(macOS 12.0, *) + final public func generateContentStream(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws -> _Concurrency.AsyncThrowingStream + @available(macOS 12.0, *) + final public func generateContentStream(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) throws -> _Concurrency.AsyncThrowingStream + final public func startChat(history: [FirebaseVertexAI.ModelContent] = []) -> FirebaseVertexAI.Chat + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + #if compiler(>=5.3) && $AsyncAwait + final public func countTokens(_ content: @autoclosure () throws -> [FirebaseVertexAI.ModelContent]) async throws -> FirebaseVertexAI.CountTokensResponse + #endif + @objc deinit + @available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 11.0, macCatalyst 15.0, *) + @_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor { + get + } +} +#endif +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public enum CountTokensError : Swift.Error { + case internalError(underlying: any Swift.Error) +} +public typealias JSONObject = [Swift.String : FirebaseVertexAI.JSONValue] +public enum JSONValue : Swift.Sendable { + case null + case number(Swift.Double) + case string(Swift.String) + case bool(Swift.Bool) + case object(FirebaseVertexAI.JSONObject) + case array([FirebaseVertexAI.JSONValue]) +} +extension FirebaseVertexAI.JSONValue : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.JSONValue : Swift.Equatable { + public static func == (a: FirebaseVertexAI.JSONValue, b: FirebaseVertexAI.JSONValue) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct ModelContent : Swift.Equatable, Swift.Sendable { + public enum Part : Swift.Equatable, Swift.Sendable { + case text(Swift.String) + case data(mimetype: Swift.String, Foundation.Data) + case fileData(mimetype: Swift.String, uri: Swift.String) + case functionCall(FirebaseVertexAI.FunctionCall) + case functionResponse(FirebaseVertexAI.FunctionResponse) + public static func jpeg(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public static func png(_ data: Foundation.Data) -> FirebaseVertexAI.ModelContent.Part + public var text: Swift.String? { + get + } + public static func == (a: FirebaseVertexAI.ModelContent.Part, b: FirebaseVertexAI.ModelContent.Part) -> Swift.Bool + } + public let role: Swift.String? + public let parts: [FirebaseVertexAI.ModelContent.Part] + public init(role: Swift.String? = "user", parts: some ThrowingPartsRepresentable) throws + public init(role: Swift.String? = "user", parts: some PartsRepresentable) + public init(role: Swift.String? = "user", parts: [FirebaseVertexAI.ModelContent.Part]) + public init(role: Swift.String? = "user", _ parts: any FirebaseVertexAI.ThrowingPartsRepresentable...) throws + public init(role: Swift.String? = "user", _ parts: [any FirebaseVertexAI.PartsRepresentable]) + public static func == (a: FirebaseVertexAI.ModelContent, b: FirebaseVertexAI.ModelContent) -> Swift.Bool +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol ThrowingPartsRepresentable { + func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public protocol PartsRepresentable : FirebaseVertexAI.ThrowingPartsRepresentable { + var partsValue: [FirebaseVertexAI.ModelContent.Part] { get } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.ModelContent.Part : FirebaseVertexAI.ThrowingPartsRepresentable { + public typealias ErrorType = Swift.Never + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.Array : FirebaseVertexAI.ThrowingPartsRepresentable where Element == any FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension Swift.String : FirebaseVertexAI.PartsRepresentable { + public var partsValue: [FirebaseVertexAI.ModelContent.Part] { + get + } +} +public enum ImageConversionError : Swift.Error { + public enum SourceImage { + case uiImage(UIKit.UIImage) + case cgImage(CoreGraphics.CGImage) + } + case invalidUnderlyingImage + case couldNotAllocateDestination + case couldNotConvertToJPEG(FirebaseVertexAI.ImageConversionError.SourceImage) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension UIKit.UIImage : FirebaseVertexAI.ThrowingPartsRepresentable { + public func tryPartsValue() throws -> [FirebaseVertexAI.ModelContent.Part] +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyRating : Swift.Equatable, Swift.Hashable, Swift.Sendable { + public let category: FirebaseVertexAI.SafetySetting.HarmCategory + public let probability: FirebaseVertexAI.SafetyRating.HarmProbability + public init(category: FirebaseVertexAI.SafetySetting.HarmCategory, probability: FirebaseVertexAI.SafetyRating.HarmProbability) + public enum HarmProbability : Swift.String, Swift.Sendable { + case unknown + case unspecified + case negligible + case low + case medium + case high + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public static func == (a: FirebaseVertexAI.SafetyRating, b: FirebaseVertexAI.SafetyRating) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetyFeedback { + public let rating: FirebaseVertexAI.SafetyRating + public let setting: FirebaseVertexAI.SafetySetting +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public struct SafetySetting { + public enum HarmCategory : Swift.String, Swift.Sendable { + case unknown + case unspecified + case harassment + case hateSpeech + case sexuallyExplicit + case dangerousContent + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public enum BlockThreshold : Swift.String, Swift.Sendable { + case unknown + case unspecified + case blockLowAndAbove + case blockMediumAndAbove + case blockOnlyHigh + case blockNone + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + } + public let harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory + public let threshold: FirebaseVertexAI.SafetySetting.BlockThreshold + public init(harmCategory: FirebaseVertexAI.SafetySetting.HarmCategory, threshold: FirebaseVertexAI.SafetySetting.BlockThreshold) +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyFeedback : Swift.Decodable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Codable { + public init(from decoder: any Swift.Decoder) throws +} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting : Swift.Codable { + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} +public class Schema { + public init(type: FirebaseVertexAI.DataType, format: Swift.String? = nil, description: Swift.String? = nil, nullable: Swift.Bool? = nil, enumValues: [Swift.String]? = nil, items: FirebaseVertexAI.Schema? = nil, properties: [Swift.String : FirebaseVertexAI.Schema]? = nil, requiredProperties: [Swift.String]? = nil) + @objc deinit +} +public enum DataType : Swift.String { + case string + case number + case integer + case boolean + case array + case object + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +extension FirebaseVertexAI.Schema : Swift.Encodable { + public func encode(to encoder: any Swift.Encoder) throws +} +extension FirebaseVertexAI.DataType : Swift.Encodable { +} +@objc @_hasMissingDesignatedInitializers @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +public class VertexAI : ObjectiveC.NSObject { + public static func vertexAI(location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + public static func vertexAI(app: FirebaseCore.FirebaseApp, location: Swift.String = "us-central1") -> FirebaseVertexAI.VertexAI + #if compiler(>=5.3) && $Actors + public func generativeModel(modelName: Swift.String, generationConfig: FirebaseVertexAI.GenerationConfig? = nil, safetySettings: [FirebaseVertexAI.SafetySetting]? = nil, tools: [FirebaseVertexAI.Tool]? = nil, toolConfig: FirebaseVertexAI.ToolConfig? = nil, systemInstruction: FirebaseVertexAI.ModelContent? = nil, requestOptions: FirebaseVertexAI.RequestOptions = RequestOptions()) -> FirebaseVertexAI.GenerativeModel + #endif + @objc deinit +} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Equatable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.Hashable {} +extension FirebaseVertexAI.FunctionCallingConfig.Mode : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.FinishReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.PromptFeedback.BlockReason : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetyRating.HarmProbability : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.HarmCategory : Swift.RawRepresentable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Equatable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.Hashable {} +@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +extension FirebaseVertexAI.SafetySetting.BlockThreshold : Swift.RawRepresentable {} +extension FirebaseVertexAI.DataType : Swift.Equatable {} +extension FirebaseVertexAI.DataType : Swift.Hashable {} +extension FirebaseVertexAI.DataType : Swift.RawRepresentable {} diff --git a/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/module.modulemap new file mode 100644 index 00000000000..bfa916e0cf1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/FirebaseVertexAI.xcframework/watchos-arm64_x86_64-simulator/FirebaseVertexAI.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseVertexAI { + umbrella header "FirebaseVertexAI-umbrella.h" + + export * + module * { export * } +} + +module FirebaseVertexAI.Swift { + header "FirebaseVertexAI-Swift.h" + requires objc +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/Info.plist new file mode 100644 index 00000000000..9d935d12223 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/Info.plist @@ -0,0 +1,107 @@ + + + + + AvailableLibraries + + + BinaryPath + GoogleAppMeasurement.framework/Versions/A/GoogleAppMeasurement + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + GoogleAppMeasurement.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + BinaryPath + GoogleAppMeasurement.framework/Versions/A/GoogleAppMeasurement + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + GoogleAppMeasurement.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + BinaryPath + GoogleAppMeasurement.framework/GoogleAppMeasurement + LibraryIdentifier + ios-arm64 + LibraryPath + GoogleAppMeasurement.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + GoogleAppMeasurement.framework/GoogleAppMeasurement + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + GoogleAppMeasurement.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + GoogleAppMeasurement.framework/GoogleAppMeasurement + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + GoogleAppMeasurement.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + GoogleAppMeasurement.framework/GoogleAppMeasurement + LibraryIdentifier + tvos-arm64 + LibraryPath + GoogleAppMeasurement.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeDirectory b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeDirectory new file mode 100644 index 00000000000..426d6c85058 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeDirectory differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeRequirements b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeRequirements new file mode 100644 index 00000000000..001f5af741c Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeRequirements differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeRequirements-1 b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 00000000000..c05b28e264f Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeRequirements-1 differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeResources b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeResources new file mode 100644 index 00000000000..220e03b3533 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeResources @@ -0,0 +1,408 @@ + + + + + files + + ios-arm64/GoogleAppMeasurement.framework/GoogleAppMeasurement + + RhwOnDgavPI0zzRA0WB6EWR67xE= + + ios-arm64/GoogleAppMeasurement.framework/Info.plist + + TohHMyxskUGDOjkXbJi0itb5D9U= + + ios-arm64/GoogleAppMeasurement.framework/Modules/module.modulemap + + on1mkulwTtm+ufPJ4eClavLWAuQ= + + ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/GoogleAppMeasurement + + wdhEOCyyKr4lZWM3dxKCl8QfRA4= + + ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/Modules/module.modulemap + + on1mkulwTtm+ufPJ4eClavLWAuQ= + + ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/Resources/Info.plist + + z1EuM9KThmsjsoFiyOvRpDiVtqE= + + ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/GoogleAppMeasurement + + c2UR8YXU8HyZa+0RkRxLqmrdzJw= + + ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Info.plist + + /M81j4oqJeDqrhP9iEqnTal1ihM= + + ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Modules/module.modulemap + + on1mkulwTtm+ufPJ4eClavLWAuQ= + + macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/GoogleAppMeasurement + + 4i2iwJQn8lCCe4+SXuHYN5bW1fs= + + macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/Modules/module.modulemap + + on1mkulwTtm+ufPJ4eClavLWAuQ= + + macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/Resources/Info.plist + + EIdUhDAwIJU2sWgyuI0ahJQMp6U= + + tvos-arm64/GoogleAppMeasurement.framework/GoogleAppMeasurement + + QWUAHXGhl0l1xRtTRylpXYpa34Q= + + tvos-arm64/GoogleAppMeasurement.framework/Info.plist + + joXl/6bsmOnp1E9e9aW+BX/rhMY= + + tvos-arm64/GoogleAppMeasurement.framework/Modules/module.modulemap + + on1mkulwTtm+ufPJ4eClavLWAuQ= + + tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/GoogleAppMeasurement + + KrQJsA2fmpy5usLPXaZD8W8gsvU= + + tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Info.plist + + M8duF9DAJJ//vbRxTm/6UMQcZyo= + + tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Modules/module.modulemap + + on1mkulwTtm+ufPJ4eClavLWAuQ= + + + files2 + + ios-arm64/GoogleAppMeasurement.framework/GoogleAppMeasurement + + hash + + RhwOnDgavPI0zzRA0WB6EWR67xE= + + hash2 + + zYeOjtixNWS5bpe7xjl/ytCdbt+/ZYidvHsnqaGTkMs= + + + ios-arm64/GoogleAppMeasurement.framework/Info.plist + + hash + + TohHMyxskUGDOjkXbJi0itb5D9U= + + hash2 + + REaKna8zIK92XFv2PJlt+jA2tK44gO9c8n/udDmpZ0Q= + + + ios-arm64/GoogleAppMeasurement.framework/Modules/module.modulemap + + hash + + on1mkulwTtm+ufPJ4eClavLWAuQ= + + hash2 + + gd8e5hMrJihnXu8TQ0xecVPl3Z71GpsKaYxiLbmHezw= + + + ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/GoogleAppMeasurement + + symlink + Versions/Current/GoogleAppMeasurement + + ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Modules + + symlink + Versions/Current/Modules + + ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Resources + + symlink + Versions/Current/Resources + + ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/GoogleAppMeasurement + + hash + + wdhEOCyyKr4lZWM3dxKCl8QfRA4= + + hash2 + + wC1JQnsxDHo+Kzu4wkghxKqzKRnhrHrAFNGPRjeDF8E= + + + ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/Modules/module.modulemap + + hash + + on1mkulwTtm+ufPJ4eClavLWAuQ= + + hash2 + + gd8e5hMrJihnXu8TQ0xecVPl3Z71GpsKaYxiLbmHezw= + + + ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/Resources/Info.plist + + hash + + z1EuM9KThmsjsoFiyOvRpDiVtqE= + + hash2 + + 0h3aZwqICpfwliOo8JosbEUX48v4TfEgLpdTaaZPAXk= + + + ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/Current + + symlink + A + + ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/GoogleAppMeasurement + + hash + + c2UR8YXU8HyZa+0RkRxLqmrdzJw= + + hash2 + + ty8sBd/t7Qi6xWfk3vbFmo+EosuPqE+0q77XONgbdWs= + + + ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Info.plist + + hash + + /M81j4oqJeDqrhP9iEqnTal1ihM= + + hash2 + + unKbLbtCTs9txHR0V1s1plgcGXLCCtWn88KI4DV/DKs= + + + ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Modules/module.modulemap + + hash + + on1mkulwTtm+ufPJ4eClavLWAuQ= + + hash2 + + gd8e5hMrJihnXu8TQ0xecVPl3Z71GpsKaYxiLbmHezw= + + + macos-arm64_x86_64/GoogleAppMeasurement.framework/GoogleAppMeasurement + + symlink + Versions/Current/GoogleAppMeasurement + + macos-arm64_x86_64/GoogleAppMeasurement.framework/Modules + + symlink + Versions/Current/Modules + + macos-arm64_x86_64/GoogleAppMeasurement.framework/Resources + + symlink + Versions/Current/Resources + + macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/GoogleAppMeasurement + + hash + + 4i2iwJQn8lCCe4+SXuHYN5bW1fs= + + hash2 + + L/dl84bL/cLlnxW//k3SFtypAdc/OwYuiRWKLP4GX/0= + + + macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/Modules/module.modulemap + + hash + + on1mkulwTtm+ufPJ4eClavLWAuQ= + + hash2 + + gd8e5hMrJihnXu8TQ0xecVPl3Z71GpsKaYxiLbmHezw= + + + macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/Resources/Info.plist + + hash + + EIdUhDAwIJU2sWgyuI0ahJQMp6U= + + hash2 + + vzMy1QnhlwBa6EHftCo6LSR8kHdARzWQneh6KZ975Mc= + + + macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/Current + + symlink + A + + tvos-arm64/GoogleAppMeasurement.framework/GoogleAppMeasurement + + hash + + QWUAHXGhl0l1xRtTRylpXYpa34Q= + + hash2 + + sChbVVaQfLlS3eOUUi6oouL2/ezcnETulzHiRd2bjM4= + + + tvos-arm64/GoogleAppMeasurement.framework/Info.plist + + hash + + joXl/6bsmOnp1E9e9aW+BX/rhMY= + + hash2 + + 98drm5iKDtABG2vmZs1x1ILVi0pUDTTqEMXti1Pmnec= + + + tvos-arm64/GoogleAppMeasurement.framework/Modules/module.modulemap + + hash + + on1mkulwTtm+ufPJ4eClavLWAuQ= + + hash2 + + gd8e5hMrJihnXu8TQ0xecVPl3Z71GpsKaYxiLbmHezw= + + + tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/GoogleAppMeasurement + + hash + + KrQJsA2fmpy5usLPXaZD8W8gsvU= + + hash2 + + kV1x9fGtJdV9/k/53dwA7jqL35trIXl38N5fsRyZfcY= + + + tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Info.plist + + hash + + M8duF9DAJJ//vbRxTm/6UMQcZyo= + + hash2 + + piSEYn0SIJcbjzha9NYnSpPCYjmuIG43gXfGpP/FOu0= + + + tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Modules/module.modulemap + + hash + + on1mkulwTtm+ufPJ4eClavLWAuQ= + + hash2 + + gd8e5hMrJihnXu8TQ0xecVPl3Z71GpsKaYxiLbmHezw= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeSignature b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeSignature new file mode 100644 index 00000000000..3cff680cfeb Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/_CodeSignature/CodeSignature differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64/GoogleAppMeasurement.framework/GoogleAppMeasurement b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64/GoogleAppMeasurement.framework/GoogleAppMeasurement new file mode 100644 index 00000000000..ffb7b8effc1 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64/GoogleAppMeasurement.framework/GoogleAppMeasurement differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64/GoogleAppMeasurement.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64/GoogleAppMeasurement.framework/Info.plist new file mode 100644 index 00000000000..d2333ae63af --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64/GoogleAppMeasurement.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 23G93 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleAppMeasurement + CFBundleIdentifier + org.cocoapods.GoogleAppMeasurement + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleAppMeasurement + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64/GoogleAppMeasurement.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64/GoogleAppMeasurement.framework/Modules/module.modulemap new file mode 100644 index 00000000000..d3499f09ccb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64/GoogleAppMeasurement.framework/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module GoogleAppMeasurement { +umbrella header "GoogleAppMeasurement-umbrella.h" +export * +module * { export * } + link framework "Security" + link framework "SystemConfiguration" + link "c++" + link "sqlite3" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/GoogleAppMeasurement b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/GoogleAppMeasurement new file mode 120000 index 00000000000..5a946b2c7e2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/GoogleAppMeasurement @@ -0,0 +1 @@ +Versions/Current/GoogleAppMeasurement \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/GoogleAppMeasurement b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/GoogleAppMeasurement new file mode 100644 index 00000000000..1f731c76800 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/GoogleAppMeasurement differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..d3499f09ccb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module GoogleAppMeasurement { +umbrella header "GoogleAppMeasurement-umbrella.h" +export * +module * { export * } + link framework "Security" + link framework "SystemConfiguration" + link "c++" + link "sqlite3" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..456c316b720 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 23G93 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleAppMeasurement + CFBundleIdentifier + org.cocoapods.GoogleAppMeasurement + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleAppMeasurement + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-maccatalyst/GoogleAppMeasurement.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/GoogleAppMeasurement b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/GoogleAppMeasurement new file mode 100644 index 00000000000..531d36e2aa1 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/GoogleAppMeasurement differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Info.plist new file mode 100644 index 00000000000..2fc78fa4e96 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 23G93 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleAppMeasurement + CFBundleIdentifier + org.cocoapods.GoogleAppMeasurement + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleAppMeasurement + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Modules/module.modulemap new file mode 100644 index 00000000000..d3499f09ccb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module GoogleAppMeasurement { +umbrella header "GoogleAppMeasurement-umbrella.h" +export * +module * { export * } + link framework "Security" + link framework "SystemConfiguration" + link "c++" + link "sqlite3" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/GoogleAppMeasurement b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/GoogleAppMeasurement new file mode 120000 index 00000000000..5a946b2c7e2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/GoogleAppMeasurement @@ -0,0 +1 @@ +Versions/Current/GoogleAppMeasurement \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/GoogleAppMeasurement b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/GoogleAppMeasurement new file mode 100644 index 00000000000..9989bb2b617 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/GoogleAppMeasurement differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..d3499f09ccb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module GoogleAppMeasurement { +umbrella header "GoogleAppMeasurement-umbrella.h" +export * +module * { export * } + link framework "Security" + link framework "SystemConfiguration" + link "c++" + link "sqlite3" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..4adc1139963 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 23G93 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleAppMeasurement + CFBundleIdentifier + org.cocoapods.GoogleAppMeasurement + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleAppMeasurement + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64/GoogleAppMeasurement.framework/GoogleAppMeasurement b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64/GoogleAppMeasurement.framework/GoogleAppMeasurement new file mode 100644 index 00000000000..0c6c9cc390f Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64/GoogleAppMeasurement.framework/GoogleAppMeasurement differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64/GoogleAppMeasurement.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64/GoogleAppMeasurement.framework/Info.plist new file mode 100644 index 00000000000..ae67516bef0 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64/GoogleAppMeasurement.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 23G93 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleAppMeasurement + CFBundleIdentifier + org.cocoapods.GoogleAppMeasurement + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleAppMeasurement + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64/GoogleAppMeasurement.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64/GoogleAppMeasurement.framework/Modules/module.modulemap new file mode 100644 index 00000000000..d3499f09ccb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64/GoogleAppMeasurement.framework/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module GoogleAppMeasurement { +umbrella header "GoogleAppMeasurement-umbrella.h" +export * +module * { export * } + link framework "Security" + link framework "SystemConfiguration" + link "c++" + link "sqlite3" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/GoogleAppMeasurement b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/GoogleAppMeasurement new file mode 100644 index 00000000000..56ebd4cdf38 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/GoogleAppMeasurement differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Info.plist new file mode 100644 index 00000000000..d3cefaecb80 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 23G93 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleAppMeasurement + CFBundleIdentifier + org.cocoapods.GoogleAppMeasurement + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleAppMeasurement + CFBundlePackageType + FMWK + CFBundleShortVersionString + 11.1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Modules/module.modulemap new file mode 100644 index 00000000000..d3499f09ccb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleAppMeasurement.xcframework/tvos-arm64_x86_64-simulator/GoogleAppMeasurement.framework/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module GoogleAppMeasurement { +umbrella header "GoogleAppMeasurement-umbrella.h" +export * +module * { export * } + link framework "Security" + link framework "SystemConfiguration" + link "c++" + link "sqlite3" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/Info.plist new file mode 100644 index 00000000000..521f56e74f9 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/Info.plist @@ -0,0 +1,139 @@ + + + + + AvailableLibraries + + + BinaryPath + GoogleUtilities.framework/GoogleUtilities + LibraryIdentifier + tvos-arm64 + LibraryPath + GoogleUtilities.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + GoogleUtilities.framework/GoogleUtilities + LibraryIdentifier + watchos-arm64_x86_64-simulator + LibraryPath + GoogleUtilities.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + watchos + SupportedPlatformVariant + simulator + + + BinaryPath + GoogleUtilities.framework/GoogleUtilities + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + GoogleUtilities.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + GoogleUtilities.framework/Versions/A/GoogleUtilities + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + GoogleUtilities.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + BinaryPath + GoogleUtilities.framework/Versions/A/GoogleUtilities + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + GoogleUtilities.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + BinaryPath + GoogleUtilities.framework/GoogleUtilities + LibraryIdentifier + ios-arm64 + LibraryPath + GoogleUtilities.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + GoogleUtilities.framework/GoogleUtilities + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + GoogleUtilities.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + GoogleUtilities.framework/GoogleUtilities + LibraryIdentifier + watchos-arm64_arm64_32 + LibraryPath + GoogleUtilities.framework + SupportedArchitectures + + arm64 + arm64_32 + + SupportedPlatform + watchos + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/GoogleUtilities b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/GoogleUtilities new file mode 100644 index 00000000000..2a18ed2ff43 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/GoogleUtilities differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..aa584f6ff96 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1c9e1a6644e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + C56D.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h new file mode 100644 index 00000000000..58dec4927ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h @@ -0,0 +1,107 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULApplication.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULAppDelegateInterceptorID; + +/** This class contains methods that isa swizzle the app delegate. */ +@interface GULAppDelegateSwizzler : NSProxy + +/** Registers an app delegate interceptor whose methods will be invoked as they're invoked on the + * original app delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULAppDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULAppDelegateInterceptorID)registerAppDelegateInterceptor: + (id)interceptor; + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterAppDelegateInterceptorWithID:(GULAppDelegateInterceptorID)interceptorID; + +/** This method ensures that the original app delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the app delegate once). + * + * This method doesn't proxy APNS related methods: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * To proxy these methods use +[GULAppDelegateSwizzler + * proxyOriginalDelegateIncludingAPNSMethods]. The methods have to be proxied separately to + * avoid potential warnings from Apple review about missing Push Notification Entitlement (e.g. + * https://github.com/firebase/firebase-ios-sdk/issues/2807) + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegateIncludingAPNSMethods + */ ++ (void)proxyOriginalDelegate; + +/** This method ensures that the original app delegate has been proxied including APNS related + * methods. Call this before registering your interceptor. This method is safe to call multiple + * times (but it only proxies the app delegate once) or + * after +[GULAppDelegateSwizzler proxyOriginalDelegate] + * + * This method calls +[GULAppDelegateSwizzler proxyOriginalDelegate] under the hood. + * After calling this method the following App Delegate methods will be proxied in addition to + * the methods proxied by proxyOriginalDelegate: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegate + */ ++ (void)proxyOriginalDelegateIncludingAPNSMethods; + +/** Indicates whether app delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if AppDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isAppDelegateProxyEnabled; + +/** Returns the current sharedApplication. + * + * @return the current application instance if in an app, or nil if in extension or if it doesn't + * exist. + */ ++ (nullable GULApplication *)sharedApplication; + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +NS_ASSUME_NONNULL_END + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h new file mode 100644 index 00000000000..dbce363113a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface GULAppEnvironmentUtil : NSObject + +/// Indicates whether the app is from Apple Store or not. Returns NO if the app is on simulator, +/// development environment or sideloaded. ++ (BOOL)isFromAppStore; + +/// Indicates whether the app is a Testflight app. Returns YES if the app has sandbox receipt. +/// Returns NO otherwise. ++ (BOOL)isAppStoreReceiptSandbox; + +/// Indicates whether the app is on simulator or not at runtime depending on the device +/// architecture. ++ (BOOL)isSimulator; + +/// The current device model. Returns an empty string if device model cannot be retrieved. ++ (nullable NSString *)deviceModel; + +/// The current device model, with simulator-specific values. Returns an empty string if device +/// model cannot be retrieved. ++ (nullable NSString *)deviceSimulatorModel; + +/// The current operating system version. Returns an empty string if the system version cannot be +/// retrieved. ++ (NSString *)systemVersion; + +/// Indicates whether it is running inside an extension or an app. ++ (BOOL)isAppExtension; + +/// @return An Apple platform. Possible values "ios", "tvos", "macos", "watchos", "maccatalyst", and +/// "visionos". ++ (NSString *)applePlatform; + +/// @return An Apple Device platform. Same possible values as `applePlatform`, with the addition of +/// "ipados". ++ (NSString *)appleDevicePlatform; + +/// @return The way the library was added to the app, e.g. "swiftpm", "cocoapods", etc. ++ (NSString *)deploymentType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULApplication.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULApplication.h new file mode 100644 index 00000000000..9311a175b99 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULApplication.h @@ -0,0 +1,50 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_VISION + +#import + +#define GULApplication UIApplication +#define GULApplicationDelegate UIApplicationDelegate +#define GULUserActivityRestoring UIUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"UIApplication"; + +#elif TARGET_OS_OSX + +#import + +#define GULApplication NSApplication +#define GULApplicationDelegate NSApplicationDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"NSApplication"; + +#elif TARGET_OS_WATCH + +#import + +// We match the according watchOS API but swizzling should not work in watch +#define GULApplication WKExtension +#define GULApplicationDelegate WKExtensionDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"WKExtension"; + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULKeychainStorage.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULKeychainStorage.h new file mode 100644 index 00000000000..eb90ea34dee --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULKeychainStorage.h @@ -0,0 +1,84 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The class provides a convenient, multiplatform abstraction of the Keychain. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainStorage : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** Initializes the keychain storage with Keychain Service name. + * @param service A Keychain Service name that will be used to store and retrieve objects. See also + * `kSecAttrService`. + */ +- (instancetype)initWithService:(NSString *)service; + +/// Get an object by key. +/// @param key The key. +/// @param objectClass The expected object class required by `NSSecureCoding`. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain read is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object stored in +/// the keychain, or `nil` if it does not exist, is passed to the completion +/// handler. +- (void)getObjectForKey:(NSString *)key + objectClass:(Class)objectClass + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Saves the given object by the given key. +/// @param object The object to store. +/// @param key The key to store the object. If there is an existing object by the key, it will be +/// overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain write is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object written to +/// the keychain is passed to the completion handler. +- (void)setObject:(id)object + forKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Removes the object by the given key. +/// @param key The key to store the object. If there is an existing object by +/// the key, it will be overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain removal is complete. An error is passed to the +/// completion handler if the keychain removal fails. +- (void)removeObjectForKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler:(void (^)(NSError *_Nullable error))completionHandler; + +#if TARGET_OS_OSX +/// If not `nil`, then only this keychain will be used to save and read data (see +/// `kSecMatchSearchList` and `kSecUseKeychain`. It is mostly intended to be used by unit tests. +@property(nonatomic, nullable) SecKeychainRef keychainRef; +#endif // TARGET_OS_OSX + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULKeychainUtils.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULKeychainUtils.h new file mode 100644 index 00000000000..9c17356c2cc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULKeychainUtils.h @@ -0,0 +1,64 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString *const kGULKeychainUtilsErrorDomain; + +/// A collection of helper functions that abstract away common Keychain operations. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainUtils : NSObject + +/** Fetches a keychain item data matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemCopyMatching` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns Data for the first Keychain Item matching the provided query or `nil` if there is not + * such an item (`outError` will be `nil` in this case) or an error occurred. + */ ++ (nullable NSData *)getItemWithQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Stores data to a Keychain Item matching to the provided query. An existing Keychain Item + * matching the query parameters will be updated or a new will be created. + * @param item A Keychain Item data to store. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemAdd` and + * `SecItemUpdate` for details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` when data was successfully stored, `NO` otherwise. + */ ++ (BOOL)setItem:(NSData *)item + withQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Removes a Keychain Item matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemDelete` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` if the item was removed successfully or doesn't exist, `NO` otherwise. + */ ++ (BOOL)removeItemWithQuery:(NSDictionary *)query error:(NSError *_Nullable *_Nullable)outError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULLogger.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULLogger.h new file mode 100644 index 00000000000..30cc80005ec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULLogger.h @@ -0,0 +1,165 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * The services used in the logger. + * + * DEPRECATED; use NSString instead. + */ +typedef NSString *const GULLoggerService; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/// Used for other GoogleUtilities logging. +extern NSString *const kGULLogSubsystem; + +/// Initialize GULLogger. +extern void GULLoggerInitialize(void); + +/// Override log level to Debug. +void GULLoggerForceDebug(void); + +/// Gets the current `GULLoggerLevel`. +extern GULLoggerLevel GULGetLoggerLevel(void); + +/** + * Changes the default logging level of GULLoggerLevelNotice to a user-specified level. + * The default level cannot be set above GULLoggerLevelNotice if the app is running from App Store. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern void GULSetLoggerLevel(GULLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern BOOL GULIsLoggableLevel(GULLoggerLevel loggerLevel); + +/** + * Register version to include in logs. + * (required) version + */ +extern void GULLoggerRegisterVersion(NSString *version); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than GULLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the GULLoggerLevel enum values). + * (required) service name of type GULLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void GULOSLogBasic(GULLoggerLevel level, + NSString *subsystem, + NSString *category, + BOOL forceLog, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type GULLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * GULLogError(kGULLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void GULOSLogError(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogWarning(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogNotice(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogInfo(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogDebug(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +@interface GULLoggerWrapper : NSObject + +/// Objective-C wrapper for `GULOSLogBasic` to allow weak linking to `GULLogger`. +/// +/// - Parameters: +/// - level: The log level (one of the `GULLoggerLevel` enum values). +/// - subsystem: An identifier for the subsystem performing logging, e.g., `com.example.logger`. +/// - category: The category name within the `subsystem` to group related messages, e.g., +/// `[GoogleUtilities/Example]`. +/// - messageCode: The message code starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: The message to log, which may be a format string. +/// - arguments: The variable arguments list obtained from calling va_start, used when message is +/// a format string; optional if `message` is not a format string. ++ (void)logWithLevel:(GULLoggerLevel)level + subsystem:(NSString *)subsystem + category:(NSString *)category + messageCode:(NSString *)messageCode + message:(NSString *)message + arguments:(va_list)args; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULLoggerLevel.h new file mode 100644 index 00000000000..6a68eb13093 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULLoggerLevel.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by internal logging. +typedef NS_ENUM(NSInteger, GULLoggerLevel) { + /// Error level, corresponding to `OS_LOG_TYPE_ERROR`. + GULLoggerLevelError = 3, // For backwards compatibility, the enum value matches `ASL_LEVEL_ERR`. + + /// Warning level, corresponding to `OS_LOG_TYPE_DEFAULT`. + /// + /// > Note: Since OSLog doesn't have a WARNING type, this is equivalent to `GULLoggerLevelNotice`. + GULLoggerLevelWarning = 4, // For backwards compatibility, the value matches `ASL_LEVEL_WARNING`. + + /// Notice level, corresponding to `OS_LOG_TYPE_DEFAULT`. + GULLoggerLevelNotice = 5, // For backwards compatibility, the value matches `ASL_LEVEL_NOTICE`. + + /// Info level, corresponding to `OS_LOG_TYPE_INFO`. + GULLoggerLevelInfo = 6, // For backwards compatibility, the enum value matches `ASL_LEVEL_INFO`. + + /// Debug level, corresponding to `OS_LOG_TYPE_DEBUG`. + GULLoggerLevelDebug = 7, // For backwards compatibility, the value matches `ASL_LEVEL_DEBUG`. + + /// The minimum (most severe) supported logging level. + GULLoggerLevelMin = GULLoggerLevelError, + + /// The maximum (least severe) supported logging level. + GULLoggerLevelMax = GULLoggerLevelDebug +} NS_SWIFT_NAME(GoogleLoggerLevel); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULMutableDictionary.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULMutableDictionary.h new file mode 100644 index 00000000000..02f25db89c8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULMutableDictionary.h @@ -0,0 +1,50 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A mutable dictionary that provides atomic accessor and mutators. +@interface GULMutableDictionary : NSObject + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKey:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)object forKey:(id)key; + +/// Removes the object given its session ID from the dictionary. +- (void)removeObjectForKey:(id)key; + +/// Removes all objects. +- (void)removeAllObjects; + +/// Returns the number of current objects in the dictionary. +- (NSUInteger)count; + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKeyedSubscript:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)obj forKeyedSubscript:(id)key; + +/// Returns the immutable dictionary. +- (NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNSData+zlib.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNSData+zlib.h new file mode 100644 index 00000000000..f195d572aeb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNSData+zlib.h @@ -0,0 +1,53 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// This is a copy of Google Toolbox for Mac library to avoid creating an extra framework. + +// NOTE: For 64bit, none of these apis handle input sizes >32bits, they will return nil when given +// such data. To handle data of that size you really should be streaming it rather then doing it all +// in memory. + +@interface NSData (GULGzip) + +/// Returns an data as the result of decompressing the payload of |data|.The data to decompress must +/// be a gzipped payloads. ++ (nullable NSData *)gul_dataByInflatingGzippedData:(NSData *)data error:(NSError **)error; + +/// Returns an compressed data with the result of gzipping the payload of |data|. Uses the default +/// compression level. ++ (nullable NSData *)gul_dataByGzippingData:(NSData *)data error:(NSError **)error; + +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorDomain; +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorKey; // NSNumber +FOUNDATION_EXPORT NSString *const GULNSDataZlibRemainingBytesKey; // NSNumber + +typedef NS_ENUM(NSInteger, GULNSDataZlibError) { + GULNSDataZlibErrorGreaterThan32BitsToCompress = 1024, + // An internal zlib error. + // GULNSDataZlibErrorKey will contain the error value. + // NSLocalizedDescriptionKey may contain an error string from zlib. + // Look in zlib.h for list of errors. + GULNSDataZlibErrorInternal, + // There was left over data in the buffer that was not used. + // GULNSDataZlibRemainingBytesKey will contain number of remaining bytes. + GULNSDataZlibErrorDataRemaining +}; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetwork.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetwork.h new file mode 100644 index 00000000000..4c5b5f56fba --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetwork.h @@ -0,0 +1,101 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkURLSession.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Delegate protocol for GULNetwork events. +@protocol GULNetworkReachabilityDelegate + +/// Tells the delegate to handle events when the network reachability changes to connected or not +/// connected. +- (void)reachabilityDidChange; + +@end + +/// The Network component that provides network status and handles network requests and responses. +/// This is not thread safe. +/// +/// NOTE: +/// User must add FIRAnalytics handleEventsForBackgroundURLSessionID:completionHandler to the +/// AppDelegate application:handleEventsForBackgroundURLSession:completionHandler: +@interface GULNetwork : NSObject + +/// Indicates if network connectivity is available. +@property(nonatomic, readonly, getter=isNetworkConnected) BOOL networkConnected; + +/// Indicates if there are any uploads in progress. +@property(nonatomic, readonly, getter=hasUploadInProgress) BOOL uploadInProgress; + +/// An optional delegate that can be used in the event when network reachability changes. +@property(nonatomic, weak) id reachabilityDelegate; + +/// An optional delegate that can be used to log messages, warnings or errors that occur in the +/// network operations. +@property(nonatomic, weak) id loggerDelegate; + +/// Indicates whether the logger should display debug messages. +@property(nonatomic, assign) BOOL isDebugModeEnabled; + +/// The time interval in seconds for the network request to timeout. +@property(nonatomic, assign) NSTimeInterval timeoutInterval; + +/// Initializes with the default reachability host. +- (instancetype)init; + +/// Initializes with a custom reachability host. +- (instancetype)initWithReachabilityHost:(NSString *)reachabilityHost; + +/// Handles events when background session with the given ID has finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Compresses and sends a POST request with the provided data to the URL. The session will be +/// background session if usingBackgroundSession is YES. Otherwise, the POST session is default +/// session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Compresses and sends a POST request with the provided headers and data to the URL. The session +/// will be background session if usingBackgroundSession is YES. Otherwise, the POST session is +/// default session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Sends a GET request with the provided data to the URL. The session will be background session +/// if usingBackgroundSession is YES. Otherwise, the GET session is default session. Returns a +/// session ID or nil if an error occurs. +- (nullable NSString *)getURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkConstants.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkConstants.h new file mode 100644 index 00000000000..341b9745222 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkConstants.h @@ -0,0 +1,75 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Error codes in Firebase Network error domain. +/// Note: these error codes should never change. It would make it harder to decode the errors if +/// we inadvertently altered any of these codes in a future SDK version. +typedef NS_ENUM(NSInteger, GULNetworkErrorCode) { + /// Unknown error. + GULNetworkErrorCodeUnknown = 0, + /// Error occurs when the request URL is invalid. + GULErrorCodeNetworkInvalidURL = 1, + /// Error occurs when request cannot be constructed. + GULErrorCodeNetworkRequestCreation = 2, + /// Error occurs when payload cannot be compressed. + GULErrorCodeNetworkPayloadCompression = 3, + /// Error occurs when session task cannot be created. + GULErrorCodeNetworkSessionTaskCreation = 4, + /// Error occurs when there is no response. + GULErrorCodeNetworkInvalidResponse = 5 +}; + +#pragma mark - Network constants + +/// The prefix of the ID of the background session. +extern NSString *const kGULNetworkBackgroundSessionConfigIDPrefix; + +/// The sub directory to store the files of data that is being uploaded in the background. +extern NSString *const kGULNetworkApplicationSupportSubdirectory; + +/// Name of the temporary directory that stores files for background uploading. +extern NSString *const kGULNetworkTempDirectoryName; + +/// The period when the temporary uploading file can stay. +extern const NSTimeInterval kGULNetworkTempFolderExpireTime; + +/// The default network request timeout interval. +extern const NSTimeInterval kGULNetworkTimeOutInterval; + +/// The host to check the reachability of the network. +extern NSString *const kGULNetworkReachabilityHost; + +/// The key to get the error context of the UserInfo. +extern NSString *const kGULNetworkErrorContext; + +#pragma mark - Network Status Code + +extern const int kGULNetworkHTTPStatusOK; +extern const int kGULNetworkHTTPStatusNoContent; +extern const int kGULNetworkHTTPStatusCodeMultipleChoices; +extern const int kGULNetworkHTTPStatusCodeMovedPermanently; +extern const int kGULNetworkHTTPStatusCodeFound; +extern const int kGULNetworkHTTPStatusCodeNotModified; +extern const int kGULNetworkHTTPStatusCodeMovedTemporarily; +extern const int kGULNetworkHTTPStatusCodeNotFound; +extern const int kGULNetworkHTTPStatusCodeCannotAcceptTraffic; +extern const int kGULNetworkHTTPStatusCodeUnavailable; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkInfo.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkInfo.h new file mode 100644 index 00000000000..06139413a71 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkInfo.h @@ -0,0 +1,43 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The type of network that the device is running with. Values should correspond to the NetworkType +/// values in android/play/playlog/proto/clientanalytics.proto +typedef NS_ENUM(NSInteger, GULNetworkType) { + GULNetworkTypeNone = -1, + GULNetworkTypeMobile = 0, + GULNetworkTypeWIFI = 1, +}; + +/// Collection of utilities to read network status information +@interface GULNetworkInfo : NSObject + +/// Returns an enum indicating the network type. The enum values should be easily transferrable to +/// the NetworkType value in android/play/playlog/proto/clientanalytics.proto. Right now this always +/// returns None on platforms other than iOS. This should be updated in the future to return Wi-Fi +/// values for the other platforms when applicable. ++ (GULNetworkType)getNetworkType; + +/// Returns a string indicating the radio access technology used by the app. The return value will +/// be one of CTRadioAccess constants defined in +/// https://developer.apple.com/documentation/coretelephony/cttelephonynetworkinfo/radio_access_technology_constants ++ (NSString *)getNetworkRadioType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h new file mode 100644 index 00000000000..b9e93ec68cb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h @@ -0,0 +1,53 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkMessageCode.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by GULNetworkLogger. +typedef NS_ENUM(NSInteger, GULNetworkLogLevel) { + kGULNetworkLogLevelError = 3, + kGULNetworkLogLevelWarning = 4, + kGULNetworkLogLevelInfo = 6, + kGULNetworkLogLevelDebug = 7, +}; + +@protocol GULNetworkLoggerDelegate + +@required +/// Tells the delegate to log a message with an array of contexts and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + contexts:(NSArray *)contexts; + +/// Tells the delegate to log a message with a context and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + context:(id)context; + +/// Tells the delegate to log a message with the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h new file mode 100644 index 00000000000..2d45ec6e381 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h @@ -0,0 +1,51 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +// Make sure these codes do not overlap with any contained in the FIRAMessageCode enum. +typedef NS_ENUM(NSInteger, GULNetworkMessageCode) { + // GULNetwork.m + kGULNetworkMessageCodeNetwork000 = 900000, // I-NET900000 + kGULNetworkMessageCodeNetwork001 = 900001, // I-NET900001 + kGULNetworkMessageCodeNetwork002 = 900002, // I-NET900002 + kGULNetworkMessageCodeNetwork003 = 900003, // I-NET900003 + // GULNetworkURLSession.m + kGULNetworkMessageCodeURLSession000 = 901000, // I-NET901000 + kGULNetworkMessageCodeURLSession001 = 901001, // I-NET901001 + kGULNetworkMessageCodeURLSession002 = 901002, // I-NET901002 + kGULNetworkMessageCodeURLSession003 = 901003, // I-NET901003 + kGULNetworkMessageCodeURLSession004 = 901004, // I-NET901004 + kGULNetworkMessageCodeURLSession005 = 901005, // I-NET901005 + kGULNetworkMessageCodeURLSession006 = 901006, // I-NET901006 + kGULNetworkMessageCodeURLSession007 = 901007, // I-NET901007 + kGULNetworkMessageCodeURLSession008 = 901008, // I-NET901008 + kGULNetworkMessageCodeURLSession009 = 901009, // I-NET901009 + kGULNetworkMessageCodeURLSession010 = 901010, // I-NET901010 + kGULNetworkMessageCodeURLSession011 = 901011, // I-NET901011 + kGULNetworkMessageCodeURLSession012 = 901012, // I-NET901012 + kGULNetworkMessageCodeURLSession013 = 901013, // I-NET901013 + kGULNetworkMessageCodeURLSession014 = 901014, // I-NET901014 + kGULNetworkMessageCodeURLSession015 = 901015, // I-NET901015 + kGULNetworkMessageCodeURLSession016 = 901016, // I-NET901016 + kGULNetworkMessageCodeURLSession017 = 901017, // I-NET901017 + kGULNetworkMessageCodeURLSession018 = 901018, // I-NET901018 + kGULNetworkMessageCodeURLSession019 = 901019, // I-NET901019 +}; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkURLSession.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkURLSession.h new file mode 100644 index 00000000000..3f9f7f9e14d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULNetworkURLSession.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkLoggerProtocol.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^GULNetworkCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSError *_Nullable error); +typedef void (^GULNetworkURLSessionCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSString *sessionID, + NSError *_Nullable error); +typedef void (^GULNetworkSystemCompletionHandler)(void); + +/// The protocol that uses NSURLSession for iOS >= 7.0 to handle requests and responses. +@interface GULNetworkURLSession : NSObject + +/// Indicates whether the background network is enabled. Default value is NO. +@property(nonatomic, getter=isBackgroundNetworkEnabled) BOOL backgroundNetworkEnabled; + +/// The logger delegate to log message, errors or warnings that occur during the network operations. +@property(nonatomic, weak, nullable) id loggerDelegate; + +/// Calls the system provided completion handler after the background session is finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Initializes with logger delegate. +- (instancetype)initWithNetworkLoggerDelegate: + (nullable id)networkLoggerDelegate NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +/// Sends an asynchronous POST request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session/connection. +- (nullable NSString *)sessionIDFromAsyncPOSTRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +/// Sends an asynchronous GET request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session. +- (nullable NSString *)sessionIDFromAsyncGETRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +NS_ASSUME_NONNULL_END +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULOriginalIMPConvenienceMacros.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULOriginalIMPConvenienceMacros.h new file mode 100644 index 00000000000..c340f85c124 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULOriginalIMPConvenienceMacros.h @@ -0,0 +1,213 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * GULOriginalIMPConvenienceMacros.h + * + * This header contains convenience macros for invoking the original IMP of a swizzled method. + */ + +/** + * Invokes original IMP when the original selector takes no arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + */ +#define GUL_INVOKE_ORIGINAL_IMP0(__receivingObject, __swizzledSEL, __returnType, __originalIMP) \ + ((__returnType(*)(id, SEL))__originalIMP)(__receivingObject, __swizzledSEL) + +/** + * Invokes original IMP when the original selector takes 1 argument. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP1(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1)))__originalIMP)(__receivingObject, __swizzledSEL, \ + __arg1) + +/** + * Invokes original IMP when the original selector takes 2 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP2(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2) + +/** + * Invokes original IMP when the original selector takes 3 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP3(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), \ + __typeof__(__arg3)))__originalIMP)(__receivingObject, __swizzledSEL, __arg1, \ + __arg2, __arg3) + +/** + * Invokes original IMP when the original selector takes 4 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP4(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4)))__originalIMP)(__receivingObject, __swizzledSEL, __arg1, \ + __arg2, __arg3, __arg4) + +/** + * Invokes original IMP when the original selector takes 5 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP5(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5) + +/** + * Invokes original IMP when the original selector takes 6 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP6(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) + +/** + * Invokes original IMP when the original selector takes 7 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP7(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) + +/** + * Invokes original IMP when the original selector takes 8 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + * @param __arg8 The eighth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP8(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7), __typeof__(__arg8)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, \ + __arg8) + +/** + * Invokes original IMP when the original selector takes 9 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + * @param __arg8 The eighth argument. + * @param __arg9 The ninth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP9(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8, \ + __arg9) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7), __typeof__(__arg8), __typeof__(__arg9)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, \ + __arg8, __arg9) + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULReachabilityChecker.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULReachabilityChecker.h new file mode 100644 index 00000000000..cac5ca3de0d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULReachabilityChecker.h @@ -0,0 +1,83 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#if !TARGET_OS_WATCH +#import +#endif + +NS_ASSUME_NONNULL_BEGIN + +/// Reachability Status +typedef enum { + kGULReachabilityUnknown, ///< Have not yet checked or been notified whether host is reachable. + kGULReachabilityNotReachable, ///< Host is not reachable. + kGULReachabilityViaWifi, ///< Host is reachable via Wifi. + kGULReachabilityViaCellular, ///< Host is reachable via cellular. +} GULReachabilityStatus; + +const NSString *GULReachabilityStatusString(GULReachabilityStatus status); + +@class GULReachabilityChecker; + +/// Google Analytics iOS Reachability Checker. +@protocol GULReachabilityDelegate +@required +/// Called when network status has changed. +- (void)reachability:(GULReachabilityChecker *)reachability + statusChanged:(GULReachabilityStatus)status; +@end + +/// Google Analytics iOS Network Status Checker. +@interface GULReachabilityChecker : NSObject + +/// The last known reachability status, or GULReachabilityStatusUnknown if the +/// checker is not active. +@property(nonatomic, readonly) GULReachabilityStatus reachabilityStatus; +/// The host to which reachability status is to be checked. +@property(nonatomic, copy, readonly) NSString *host; +/// The delegate to be notified of reachability status changes. +@property(nonatomic, weak) id reachabilityDelegate; +/// `YES` if the reachability checker is active, `NO` otherwise. +@property(nonatomic, readonly) BOOL isActive; + +/// Initialize the reachability checker. Note that you must call start to begin checking for and +/// receiving notifications about network status changes. +/// +/// @param reachabilityDelegate The delegate to be notified when reachability status to host +/// changes. +/// +/// @param host The name of the host. +/// +- (instancetype)initWithReachabilityDelegate:(id)reachabilityDelegate + withHost:(NSString *)host; + +- (instancetype)init NS_UNAVAILABLE; + +/// Start checking for reachability to the specified host. This has no effect if the status +/// checker is already checking for connectivity. +/// +/// @return `YES` if initiating status checking was successful or the status checking has already +/// been initiated, `NO` otherwise. +- (BOOL)start; + +/// Stop checking for reachability to the specified host. This has no effect if the status +/// checker is not checking for connectivity. +- (void)stop; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h new file mode 100644 index 00000000000..d6d893779fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h @@ -0,0 +1,76 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#import + +#if __has_include() +#import +#endif + +#if TARGET_OS_IOS || TARGET_OS_TV +#define UISCENE_SUPPORTED 1 +#endif + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULSceneDelegateInterceptorID; + +/** This class contains methods that isa swizzle the scene delegate. */ +@interface GULSceneDelegateSwizzler : NSProxy + +#if UISCENE_SUPPORTED + +/** Registers a scene delegate interceptor whose methods will be invoked as they're invoked on the + * original scene delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULSceneDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULSceneDelegateInterceptorID)registerSceneDelegateInterceptor: + (id)interceptor API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterSceneDelegateInterceptorWithID:(GULSceneDelegateInterceptorID)interceptorID + API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +#endif // UISCENE_SUPPORTED + +/** This method ensures that the original scene delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the scene delegate once). + * + * The method has no effect for extensions. + */ ++ (void)proxyOriginalSceneDelegate; + +/** Indicates whether scene delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if SceneDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isSceneDelegateProxyEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULSwizzler.h new file mode 100644 index 00000000000..26949c88678 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULSwizzler.h @@ -0,0 +1,71 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** This class handles the runtime manipulation necessary to instrument selectors. It stores the + * classes and selectors that have been swizzled, and runs all operations on its own queue. + */ +@interface GULSwizzler : NSObject + +/** Manipulates the Objective-C runtime to replace the original IMP with the supplied block. + * + * @param aClass The class to swizzle. + * @param selector The selector of the class to swizzle. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @param block The block that replaces the original IMP. + */ ++ (void)swizzleClass:(Class)aClass + selector:(SEL)selector + isClassSelector:(BOOL)isClassSelector + withBlock:(nullable id)block; + +/** Returns the current IMP for the given class and selector. + * + * @param aClass The class to use. + * @param selector The selector to find the implementation of. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @return The implementation of the selector in the runtime. + */ ++ (nullable IMP)currentImplementationForClass:(Class)aClass + selector:(SEL)selector + isClassSelector:(BOOL)isClassSelector; + +/** Checks the runtime to see if a selector exists on a class. If a property is declared as + * @dynamic, we have a reverse swizzling situation, where the implementation of a method exists + * only in concrete subclasses, and NOT in the superclass. We can detect that situation using + * this helper method. Similarly, we can detect situations where a class doesn't implement a + * protocol method. + * + * @param selector The selector to check for. + * @param aClass The class to check. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @return YES if the method was found in this selector/class combination, NO otherwise. + */ ++ (BOOL)selector:(SEL)selector existsInClass:(Class)aClass isClassSelector:(BOOL)isClassSelector; + +/** Returns a list of all Objective-C (and not primitive) ivars contained by the given object. + * + * @param object The object whose ivars will be iterated. + * @return The list of ivar objects. + */ ++ (NSArray *)ivarObjectsForObject:(id)object; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULUserDefaults.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULUserDefaults.h new file mode 100644 index 00000000000..83b23fa3cf2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GULUserDefaults.h @@ -0,0 +1,105 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A thread-safe user defaults that uses C functions from CFPreferences.h instead of +/// `NSUserDefaults`. This is to avoid sending an `NSNotification` when it's changed from a +/// background thread to avoid crashing. // TODO: Insert radar number here. +@interface GULUserDefaults : NSObject + +/// A shared user defaults similar to +[NSUserDefaults standardUserDefaults] and accesses the same +/// data of the standardUserDefaults. ++ (GULUserDefaults *)standardUserDefaults; + +/// Initializes preferences with a suite name that is the same with the NSUserDefaults' suite name. +/// Both of CFPreferences and NSUserDefaults share the same plist file so their data will exactly +/// the same. +/// +/// @param suiteName The name of the suite of the user defaults. +- (instancetype)initWithSuiteName:(nullable NSString *)suiteName; + +#pragma mark - Getters + +/// Searches the receiver's search list for a default with the key 'defaultName' and return it. If +/// another process has changed defaults in the search list, NSUserDefaults will automatically +/// update to the latest values. If the key in question has been marked as ubiquitous via a Defaults +/// Configuration File, the latest value may not be immediately available, and the registered value +/// will be returned instead. +- (nullable id)objectForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value is not an NSArray. +- (nullable NSArray *)arrayForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value +/// is not an NSDictionary. +- (nullable NSDictionary *)dictionaryForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will convert NSNumber values to their NSString +/// representation. If a non-string non-number value is found, nil will be returned. +- (nullable NSString *)stringForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to an NSInteger. If the +/// value is an NSNumber, the result of -integerValue will be returned. If the value is an NSString, +/// it will be converted to NSInteger if possible. If the value is a boolean, it will be converted +/// to either 1 for YES or 0 for NO. If the value is absent or can't be converted to an integer, 0 +/// will be returned. +- (NSInteger)integerForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a float, and boolean values will not be +/// converted. +- (float)floatForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a double, and boolean values will not be +/// converted. +- (double)doubleForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to a BOOL. If the value +/// is an NSNumber, NO will be returned if the value is 0, YES otherwise. If the value is an +/// NSString, values of "YES" or "1" will return YES, and values of "NO", "0", or any other string +/// will return NO. If the value is absent or can't be converted to a BOOL, NO will be returned. +- (BOOL)boolForKey:(NSString *)defaultName; + +#pragma mark - Setters + +/// Immediately stores a value (or removes the value if `nil` is passed as the value) for the +/// provided key in the search list entry for the receiver's suite name in the current user and any +/// host, then asynchronously stores the value persistently, where it is made available to other +/// processes. +- (void)setObject:(nullable id)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a float to an NSNumber. +- (void)setFloat:(float)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a double to an +/// NSNumber. +- (void)setDouble:(double)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from an NSInteger to an +/// NSNumber. +- (void)setInteger:(NSInteger)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a BOOL to an NSNumber. +- (void)setBool:(BOOL)value forKey:(NSString *)defaultName; + +#pragma mark - Removing Defaults + +/// Equivalent to -[... setObject:nil forKey:defaultName] +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h new file mode 100644 index 00000000000..907b89e45fd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "GULAppDelegateSwizzler.h" +#import "GULApplication.h" +#import "GULSceneDelegateSwizzler.h" +#import "GULAppEnvironmentUtil.h" +#import "GULKeychainStorage.h" +#import "GULKeychainUtils.h" +#import "GULNetworkInfo.h" +#import "GULLogger.h" +#import "GULLoggerLevel.h" +#import "GULOriginalIMPConvenienceMacros.h" +#import "GULSwizzler.h" +#import "GULNSData+zlib.h" +#import "GULMutableDictionary.h" +#import "GULNetwork.h" +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkMessageCode.h" +#import "GULNetworkURLSession.h" +#import "GULReachabilityChecker.h" +#import "GULUserDefaults.h" + +FOUNDATION_EXPORT double GoogleUtilitiesVersionNumber; +FOUNDATION_EXPORT const unsigned char GoogleUtilitiesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Info.plist new file mode 100644 index 00000000000..45044b23436 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleUtilities + CFBundleIdentifier + org.cocoapods.GoogleUtilities + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleUtilities + CFBundlePackageType + FMWK + CFBundleShortVersionString + 8.0.2 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Modules/module.modulemap new file mode 100644 index 00000000000..29a2d1d239b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module GoogleUtilities { +umbrella header "GoogleUtilities-umbrella.h" +export * +module * { export * } + link framework "Security" + link framework "SystemConfiguration" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/GoogleUtilities b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/GoogleUtilities new file mode 120000 index 00000000000..6b04615ff0e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/GoogleUtilities @@ -0,0 +1 @@ +Versions/Current/GoogleUtilities \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/GoogleUtilities b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/GoogleUtilities new file mode 100644 index 00000000000..a99e0c1dac1 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/GoogleUtilities differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULAppDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULAppDelegateSwizzler.h new file mode 100644 index 00000000000..58dec4927ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULAppDelegateSwizzler.h @@ -0,0 +1,107 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULApplication.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULAppDelegateInterceptorID; + +/** This class contains methods that isa swizzle the app delegate. */ +@interface GULAppDelegateSwizzler : NSProxy + +/** Registers an app delegate interceptor whose methods will be invoked as they're invoked on the + * original app delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULAppDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULAppDelegateInterceptorID)registerAppDelegateInterceptor: + (id)interceptor; + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterAppDelegateInterceptorWithID:(GULAppDelegateInterceptorID)interceptorID; + +/** This method ensures that the original app delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the app delegate once). + * + * This method doesn't proxy APNS related methods: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * To proxy these methods use +[GULAppDelegateSwizzler + * proxyOriginalDelegateIncludingAPNSMethods]. The methods have to be proxied separately to + * avoid potential warnings from Apple review about missing Push Notification Entitlement (e.g. + * https://github.com/firebase/firebase-ios-sdk/issues/2807) + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegateIncludingAPNSMethods + */ ++ (void)proxyOriginalDelegate; + +/** This method ensures that the original app delegate has been proxied including APNS related + * methods. Call this before registering your interceptor. This method is safe to call multiple + * times (but it only proxies the app delegate once) or + * after +[GULAppDelegateSwizzler proxyOriginalDelegate] + * + * This method calls +[GULAppDelegateSwizzler proxyOriginalDelegate] under the hood. + * After calling this method the following App Delegate methods will be proxied in addition to + * the methods proxied by proxyOriginalDelegate: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegate + */ ++ (void)proxyOriginalDelegateIncludingAPNSMethods; + +/** Indicates whether app delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if AppDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isAppDelegateProxyEnabled; + +/** Returns the current sharedApplication. + * + * @return the current application instance if in an app, or nil if in extension or if it doesn't + * exist. + */ ++ (nullable GULApplication *)sharedApplication; + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +NS_ASSUME_NONNULL_END + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULAppEnvironmentUtil.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULAppEnvironmentUtil.h new file mode 100644 index 00000000000..dbce363113a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULAppEnvironmentUtil.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface GULAppEnvironmentUtil : NSObject + +/// Indicates whether the app is from Apple Store or not. Returns NO if the app is on simulator, +/// development environment or sideloaded. ++ (BOOL)isFromAppStore; + +/// Indicates whether the app is a Testflight app. Returns YES if the app has sandbox receipt. +/// Returns NO otherwise. ++ (BOOL)isAppStoreReceiptSandbox; + +/// Indicates whether the app is on simulator or not at runtime depending on the device +/// architecture. ++ (BOOL)isSimulator; + +/// The current device model. Returns an empty string if device model cannot be retrieved. ++ (nullable NSString *)deviceModel; + +/// The current device model, with simulator-specific values. Returns an empty string if device +/// model cannot be retrieved. ++ (nullable NSString *)deviceSimulatorModel; + +/// The current operating system version. Returns an empty string if the system version cannot be +/// retrieved. ++ (NSString *)systemVersion; + +/// Indicates whether it is running inside an extension or an app. ++ (BOOL)isAppExtension; + +/// @return An Apple platform. Possible values "ios", "tvos", "macos", "watchos", "maccatalyst", and +/// "visionos". ++ (NSString *)applePlatform; + +/// @return An Apple Device platform. Same possible values as `applePlatform`, with the addition of +/// "ipados". ++ (NSString *)appleDevicePlatform; + +/// @return The way the library was added to the app, e.g. "swiftpm", "cocoapods", etc. ++ (NSString *)deploymentType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULApplication.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULApplication.h new file mode 100644 index 00000000000..9311a175b99 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULApplication.h @@ -0,0 +1,50 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_VISION + +#import + +#define GULApplication UIApplication +#define GULApplicationDelegate UIApplicationDelegate +#define GULUserActivityRestoring UIUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"UIApplication"; + +#elif TARGET_OS_OSX + +#import + +#define GULApplication NSApplication +#define GULApplicationDelegate NSApplicationDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"NSApplication"; + +#elif TARGET_OS_WATCH + +#import + +// We match the according watchOS API but swizzling should not work in watch +#define GULApplication WKExtension +#define GULApplicationDelegate WKExtensionDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"WKExtension"; + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULKeychainStorage.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULKeychainStorage.h new file mode 100644 index 00000000000..eb90ea34dee --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULKeychainStorage.h @@ -0,0 +1,84 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The class provides a convenient, multiplatform abstraction of the Keychain. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainStorage : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** Initializes the keychain storage with Keychain Service name. + * @param service A Keychain Service name that will be used to store and retrieve objects. See also + * `kSecAttrService`. + */ +- (instancetype)initWithService:(NSString *)service; + +/// Get an object by key. +/// @param key The key. +/// @param objectClass The expected object class required by `NSSecureCoding`. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain read is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object stored in +/// the keychain, or `nil` if it does not exist, is passed to the completion +/// handler. +- (void)getObjectForKey:(NSString *)key + objectClass:(Class)objectClass + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Saves the given object by the given key. +/// @param object The object to store. +/// @param key The key to store the object. If there is an existing object by the key, it will be +/// overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain write is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object written to +/// the keychain is passed to the completion handler. +- (void)setObject:(id)object + forKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Removes the object by the given key. +/// @param key The key to store the object. If there is an existing object by +/// the key, it will be overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain removal is complete. An error is passed to the +/// completion handler if the keychain removal fails. +- (void)removeObjectForKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler:(void (^)(NSError *_Nullable error))completionHandler; + +#if TARGET_OS_OSX +/// If not `nil`, then only this keychain will be used to save and read data (see +/// `kSecMatchSearchList` and `kSecUseKeychain`. It is mostly intended to be used by unit tests. +@property(nonatomic, nullable) SecKeychainRef keychainRef; +#endif // TARGET_OS_OSX + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULKeychainUtils.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULKeychainUtils.h new file mode 100644 index 00000000000..9c17356c2cc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULKeychainUtils.h @@ -0,0 +1,64 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString *const kGULKeychainUtilsErrorDomain; + +/// A collection of helper functions that abstract away common Keychain operations. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainUtils : NSObject + +/** Fetches a keychain item data matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemCopyMatching` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns Data for the first Keychain Item matching the provided query or `nil` if there is not + * such an item (`outError` will be `nil` in this case) or an error occurred. + */ ++ (nullable NSData *)getItemWithQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Stores data to a Keychain Item matching to the provided query. An existing Keychain Item + * matching the query parameters will be updated or a new will be created. + * @param item A Keychain Item data to store. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemAdd` and + * `SecItemUpdate` for details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` when data was successfully stored, `NO` otherwise. + */ ++ (BOOL)setItem:(NSData *)item + withQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Removes a Keychain Item matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemDelete` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` if the item was removed successfully or doesn't exist, `NO` otherwise. + */ ++ (BOOL)removeItemWithQuery:(NSDictionary *)query error:(NSError *_Nullable *_Nullable)outError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULLogger.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULLogger.h new file mode 100644 index 00000000000..30cc80005ec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULLogger.h @@ -0,0 +1,165 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * The services used in the logger. + * + * DEPRECATED; use NSString instead. + */ +typedef NSString *const GULLoggerService; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/// Used for other GoogleUtilities logging. +extern NSString *const kGULLogSubsystem; + +/// Initialize GULLogger. +extern void GULLoggerInitialize(void); + +/// Override log level to Debug. +void GULLoggerForceDebug(void); + +/// Gets the current `GULLoggerLevel`. +extern GULLoggerLevel GULGetLoggerLevel(void); + +/** + * Changes the default logging level of GULLoggerLevelNotice to a user-specified level. + * The default level cannot be set above GULLoggerLevelNotice if the app is running from App Store. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern void GULSetLoggerLevel(GULLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern BOOL GULIsLoggableLevel(GULLoggerLevel loggerLevel); + +/** + * Register version to include in logs. + * (required) version + */ +extern void GULLoggerRegisterVersion(NSString *version); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than GULLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the GULLoggerLevel enum values). + * (required) service name of type GULLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void GULOSLogBasic(GULLoggerLevel level, + NSString *subsystem, + NSString *category, + BOOL forceLog, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type GULLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * GULLogError(kGULLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void GULOSLogError(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogWarning(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogNotice(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogInfo(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogDebug(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +@interface GULLoggerWrapper : NSObject + +/// Objective-C wrapper for `GULOSLogBasic` to allow weak linking to `GULLogger`. +/// +/// - Parameters: +/// - level: The log level (one of the `GULLoggerLevel` enum values). +/// - subsystem: An identifier for the subsystem performing logging, e.g., `com.example.logger`. +/// - category: The category name within the `subsystem` to group related messages, e.g., +/// `[GoogleUtilities/Example]`. +/// - messageCode: The message code starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: The message to log, which may be a format string. +/// - arguments: The variable arguments list obtained from calling va_start, used when message is +/// a format string; optional if `message` is not a format string. ++ (void)logWithLevel:(GULLoggerLevel)level + subsystem:(NSString *)subsystem + category:(NSString *)category + messageCode:(NSString *)messageCode + message:(NSString *)message + arguments:(va_list)args; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULLoggerLevel.h new file mode 100644 index 00000000000..6a68eb13093 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULLoggerLevel.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by internal logging. +typedef NS_ENUM(NSInteger, GULLoggerLevel) { + /// Error level, corresponding to `OS_LOG_TYPE_ERROR`. + GULLoggerLevelError = 3, // For backwards compatibility, the enum value matches `ASL_LEVEL_ERR`. + + /// Warning level, corresponding to `OS_LOG_TYPE_DEFAULT`. + /// + /// > Note: Since OSLog doesn't have a WARNING type, this is equivalent to `GULLoggerLevelNotice`. + GULLoggerLevelWarning = 4, // For backwards compatibility, the value matches `ASL_LEVEL_WARNING`. + + /// Notice level, corresponding to `OS_LOG_TYPE_DEFAULT`. + GULLoggerLevelNotice = 5, // For backwards compatibility, the value matches `ASL_LEVEL_NOTICE`. + + /// Info level, corresponding to `OS_LOG_TYPE_INFO`. + GULLoggerLevelInfo = 6, // For backwards compatibility, the enum value matches `ASL_LEVEL_INFO`. + + /// Debug level, corresponding to `OS_LOG_TYPE_DEBUG`. + GULLoggerLevelDebug = 7, // For backwards compatibility, the value matches `ASL_LEVEL_DEBUG`. + + /// The minimum (most severe) supported logging level. + GULLoggerLevelMin = GULLoggerLevelError, + + /// The maximum (least severe) supported logging level. + GULLoggerLevelMax = GULLoggerLevelDebug +} NS_SWIFT_NAME(GoogleLoggerLevel); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULMutableDictionary.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULMutableDictionary.h new file mode 100644 index 00000000000..02f25db89c8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULMutableDictionary.h @@ -0,0 +1,50 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A mutable dictionary that provides atomic accessor and mutators. +@interface GULMutableDictionary : NSObject + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKey:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)object forKey:(id)key; + +/// Removes the object given its session ID from the dictionary. +- (void)removeObjectForKey:(id)key; + +/// Removes all objects. +- (void)removeAllObjects; + +/// Returns the number of current objects in the dictionary. +- (NSUInteger)count; + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKeyedSubscript:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)obj forKeyedSubscript:(id)key; + +/// Returns the immutable dictionary. +- (NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNSData+zlib.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNSData+zlib.h new file mode 100644 index 00000000000..f195d572aeb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNSData+zlib.h @@ -0,0 +1,53 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// This is a copy of Google Toolbox for Mac library to avoid creating an extra framework. + +// NOTE: For 64bit, none of these apis handle input sizes >32bits, they will return nil when given +// such data. To handle data of that size you really should be streaming it rather then doing it all +// in memory. + +@interface NSData (GULGzip) + +/// Returns an data as the result of decompressing the payload of |data|.The data to decompress must +/// be a gzipped payloads. ++ (nullable NSData *)gul_dataByInflatingGzippedData:(NSData *)data error:(NSError **)error; + +/// Returns an compressed data with the result of gzipping the payload of |data|. Uses the default +/// compression level. ++ (nullable NSData *)gul_dataByGzippingData:(NSData *)data error:(NSError **)error; + +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorDomain; +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorKey; // NSNumber +FOUNDATION_EXPORT NSString *const GULNSDataZlibRemainingBytesKey; // NSNumber + +typedef NS_ENUM(NSInteger, GULNSDataZlibError) { + GULNSDataZlibErrorGreaterThan32BitsToCompress = 1024, + // An internal zlib error. + // GULNSDataZlibErrorKey will contain the error value. + // NSLocalizedDescriptionKey may contain an error string from zlib. + // Look in zlib.h for list of errors. + GULNSDataZlibErrorInternal, + // There was left over data in the buffer that was not used. + // GULNSDataZlibRemainingBytesKey will contain number of remaining bytes. + GULNSDataZlibErrorDataRemaining +}; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetwork.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetwork.h new file mode 100644 index 00000000000..4c5b5f56fba --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetwork.h @@ -0,0 +1,101 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkURLSession.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Delegate protocol for GULNetwork events. +@protocol GULNetworkReachabilityDelegate + +/// Tells the delegate to handle events when the network reachability changes to connected or not +/// connected. +- (void)reachabilityDidChange; + +@end + +/// The Network component that provides network status and handles network requests and responses. +/// This is not thread safe. +/// +/// NOTE: +/// User must add FIRAnalytics handleEventsForBackgroundURLSessionID:completionHandler to the +/// AppDelegate application:handleEventsForBackgroundURLSession:completionHandler: +@interface GULNetwork : NSObject + +/// Indicates if network connectivity is available. +@property(nonatomic, readonly, getter=isNetworkConnected) BOOL networkConnected; + +/// Indicates if there are any uploads in progress. +@property(nonatomic, readonly, getter=hasUploadInProgress) BOOL uploadInProgress; + +/// An optional delegate that can be used in the event when network reachability changes. +@property(nonatomic, weak) id reachabilityDelegate; + +/// An optional delegate that can be used to log messages, warnings or errors that occur in the +/// network operations. +@property(nonatomic, weak) id loggerDelegate; + +/// Indicates whether the logger should display debug messages. +@property(nonatomic, assign) BOOL isDebugModeEnabled; + +/// The time interval in seconds for the network request to timeout. +@property(nonatomic, assign) NSTimeInterval timeoutInterval; + +/// Initializes with the default reachability host. +- (instancetype)init; + +/// Initializes with a custom reachability host. +- (instancetype)initWithReachabilityHost:(NSString *)reachabilityHost; + +/// Handles events when background session with the given ID has finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Compresses and sends a POST request with the provided data to the URL. The session will be +/// background session if usingBackgroundSession is YES. Otherwise, the POST session is default +/// session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Compresses and sends a POST request with the provided headers and data to the URL. The session +/// will be background session if usingBackgroundSession is YES. Otherwise, the POST session is +/// default session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Sends a GET request with the provided data to the URL. The session will be background session +/// if usingBackgroundSession is YES. Otherwise, the GET session is default session. Returns a +/// session ID or nil if an error occurs. +- (nullable NSString *)getURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkConstants.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkConstants.h new file mode 100644 index 00000000000..341b9745222 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkConstants.h @@ -0,0 +1,75 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Error codes in Firebase Network error domain. +/// Note: these error codes should never change. It would make it harder to decode the errors if +/// we inadvertently altered any of these codes in a future SDK version. +typedef NS_ENUM(NSInteger, GULNetworkErrorCode) { + /// Unknown error. + GULNetworkErrorCodeUnknown = 0, + /// Error occurs when the request URL is invalid. + GULErrorCodeNetworkInvalidURL = 1, + /// Error occurs when request cannot be constructed. + GULErrorCodeNetworkRequestCreation = 2, + /// Error occurs when payload cannot be compressed. + GULErrorCodeNetworkPayloadCompression = 3, + /// Error occurs when session task cannot be created. + GULErrorCodeNetworkSessionTaskCreation = 4, + /// Error occurs when there is no response. + GULErrorCodeNetworkInvalidResponse = 5 +}; + +#pragma mark - Network constants + +/// The prefix of the ID of the background session. +extern NSString *const kGULNetworkBackgroundSessionConfigIDPrefix; + +/// The sub directory to store the files of data that is being uploaded in the background. +extern NSString *const kGULNetworkApplicationSupportSubdirectory; + +/// Name of the temporary directory that stores files for background uploading. +extern NSString *const kGULNetworkTempDirectoryName; + +/// The period when the temporary uploading file can stay. +extern const NSTimeInterval kGULNetworkTempFolderExpireTime; + +/// The default network request timeout interval. +extern const NSTimeInterval kGULNetworkTimeOutInterval; + +/// The host to check the reachability of the network. +extern NSString *const kGULNetworkReachabilityHost; + +/// The key to get the error context of the UserInfo. +extern NSString *const kGULNetworkErrorContext; + +#pragma mark - Network Status Code + +extern const int kGULNetworkHTTPStatusOK; +extern const int kGULNetworkHTTPStatusNoContent; +extern const int kGULNetworkHTTPStatusCodeMultipleChoices; +extern const int kGULNetworkHTTPStatusCodeMovedPermanently; +extern const int kGULNetworkHTTPStatusCodeFound; +extern const int kGULNetworkHTTPStatusCodeNotModified; +extern const int kGULNetworkHTTPStatusCodeMovedTemporarily; +extern const int kGULNetworkHTTPStatusCodeNotFound; +extern const int kGULNetworkHTTPStatusCodeCannotAcceptTraffic; +extern const int kGULNetworkHTTPStatusCodeUnavailable; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkInfo.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkInfo.h new file mode 100644 index 00000000000..06139413a71 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkInfo.h @@ -0,0 +1,43 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The type of network that the device is running with. Values should correspond to the NetworkType +/// values in android/play/playlog/proto/clientanalytics.proto +typedef NS_ENUM(NSInteger, GULNetworkType) { + GULNetworkTypeNone = -1, + GULNetworkTypeMobile = 0, + GULNetworkTypeWIFI = 1, +}; + +/// Collection of utilities to read network status information +@interface GULNetworkInfo : NSObject + +/// Returns an enum indicating the network type. The enum values should be easily transferrable to +/// the NetworkType value in android/play/playlog/proto/clientanalytics.proto. Right now this always +/// returns None on platforms other than iOS. This should be updated in the future to return Wi-Fi +/// values for the other platforms when applicable. ++ (GULNetworkType)getNetworkType; + +/// Returns a string indicating the radio access technology used by the app. The return value will +/// be one of CTRadioAccess constants defined in +/// https://developer.apple.com/documentation/coretelephony/cttelephonynetworkinfo/radio_access_technology_constants ++ (NSString *)getNetworkRadioType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkLoggerProtocol.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkLoggerProtocol.h new file mode 100644 index 00000000000..b9e93ec68cb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkLoggerProtocol.h @@ -0,0 +1,53 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkMessageCode.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by GULNetworkLogger. +typedef NS_ENUM(NSInteger, GULNetworkLogLevel) { + kGULNetworkLogLevelError = 3, + kGULNetworkLogLevelWarning = 4, + kGULNetworkLogLevelInfo = 6, + kGULNetworkLogLevelDebug = 7, +}; + +@protocol GULNetworkLoggerDelegate + +@required +/// Tells the delegate to log a message with an array of contexts and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + contexts:(NSArray *)contexts; + +/// Tells the delegate to log a message with a context and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + context:(id)context; + +/// Tells the delegate to log a message with the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkMessageCode.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkMessageCode.h new file mode 100644 index 00000000000..2d45ec6e381 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkMessageCode.h @@ -0,0 +1,51 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +// Make sure these codes do not overlap with any contained in the FIRAMessageCode enum. +typedef NS_ENUM(NSInteger, GULNetworkMessageCode) { + // GULNetwork.m + kGULNetworkMessageCodeNetwork000 = 900000, // I-NET900000 + kGULNetworkMessageCodeNetwork001 = 900001, // I-NET900001 + kGULNetworkMessageCodeNetwork002 = 900002, // I-NET900002 + kGULNetworkMessageCodeNetwork003 = 900003, // I-NET900003 + // GULNetworkURLSession.m + kGULNetworkMessageCodeURLSession000 = 901000, // I-NET901000 + kGULNetworkMessageCodeURLSession001 = 901001, // I-NET901001 + kGULNetworkMessageCodeURLSession002 = 901002, // I-NET901002 + kGULNetworkMessageCodeURLSession003 = 901003, // I-NET901003 + kGULNetworkMessageCodeURLSession004 = 901004, // I-NET901004 + kGULNetworkMessageCodeURLSession005 = 901005, // I-NET901005 + kGULNetworkMessageCodeURLSession006 = 901006, // I-NET901006 + kGULNetworkMessageCodeURLSession007 = 901007, // I-NET901007 + kGULNetworkMessageCodeURLSession008 = 901008, // I-NET901008 + kGULNetworkMessageCodeURLSession009 = 901009, // I-NET901009 + kGULNetworkMessageCodeURLSession010 = 901010, // I-NET901010 + kGULNetworkMessageCodeURLSession011 = 901011, // I-NET901011 + kGULNetworkMessageCodeURLSession012 = 901012, // I-NET901012 + kGULNetworkMessageCodeURLSession013 = 901013, // I-NET901013 + kGULNetworkMessageCodeURLSession014 = 901014, // I-NET901014 + kGULNetworkMessageCodeURLSession015 = 901015, // I-NET901015 + kGULNetworkMessageCodeURLSession016 = 901016, // I-NET901016 + kGULNetworkMessageCodeURLSession017 = 901017, // I-NET901017 + kGULNetworkMessageCodeURLSession018 = 901018, // I-NET901018 + kGULNetworkMessageCodeURLSession019 = 901019, // I-NET901019 +}; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkURLSession.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkURLSession.h new file mode 100644 index 00000000000..3f9f7f9e14d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULNetworkURLSession.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkLoggerProtocol.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^GULNetworkCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSError *_Nullable error); +typedef void (^GULNetworkURLSessionCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSString *sessionID, + NSError *_Nullable error); +typedef void (^GULNetworkSystemCompletionHandler)(void); + +/// The protocol that uses NSURLSession for iOS >= 7.0 to handle requests and responses. +@interface GULNetworkURLSession : NSObject + +/// Indicates whether the background network is enabled. Default value is NO. +@property(nonatomic, getter=isBackgroundNetworkEnabled) BOOL backgroundNetworkEnabled; + +/// The logger delegate to log message, errors or warnings that occur during the network operations. +@property(nonatomic, weak, nullable) id loggerDelegate; + +/// Calls the system provided completion handler after the background session is finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Initializes with logger delegate. +- (instancetype)initWithNetworkLoggerDelegate: + (nullable id)networkLoggerDelegate NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +/// Sends an asynchronous POST request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session/connection. +- (nullable NSString *)sessionIDFromAsyncPOSTRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +/// Sends an asynchronous GET request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session. +- (nullable NSString *)sessionIDFromAsyncGETRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +NS_ASSUME_NONNULL_END +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULOriginalIMPConvenienceMacros.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULOriginalIMPConvenienceMacros.h new file mode 100644 index 00000000000..c340f85c124 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULOriginalIMPConvenienceMacros.h @@ -0,0 +1,213 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * GULOriginalIMPConvenienceMacros.h + * + * This header contains convenience macros for invoking the original IMP of a swizzled method. + */ + +/** + * Invokes original IMP when the original selector takes no arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + */ +#define GUL_INVOKE_ORIGINAL_IMP0(__receivingObject, __swizzledSEL, __returnType, __originalIMP) \ + ((__returnType(*)(id, SEL))__originalIMP)(__receivingObject, __swizzledSEL) + +/** + * Invokes original IMP when the original selector takes 1 argument. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP1(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1)))__originalIMP)(__receivingObject, __swizzledSEL, \ + __arg1) + +/** + * Invokes original IMP when the original selector takes 2 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP2(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2) + +/** + * Invokes original IMP when the original selector takes 3 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP3(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), \ + __typeof__(__arg3)))__originalIMP)(__receivingObject, __swizzledSEL, __arg1, \ + __arg2, __arg3) + +/** + * Invokes original IMP when the original selector takes 4 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP4(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4)))__originalIMP)(__receivingObject, __swizzledSEL, __arg1, \ + __arg2, __arg3, __arg4) + +/** + * Invokes original IMP when the original selector takes 5 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP5(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5) + +/** + * Invokes original IMP when the original selector takes 6 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP6(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) + +/** + * Invokes original IMP when the original selector takes 7 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP7(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) + +/** + * Invokes original IMP when the original selector takes 8 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + * @param __arg8 The eighth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP8(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7), __typeof__(__arg8)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, \ + __arg8) + +/** + * Invokes original IMP when the original selector takes 9 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + * @param __arg8 The eighth argument. + * @param __arg9 The ninth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP9(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8, \ + __arg9) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7), __typeof__(__arg8), __typeof__(__arg9)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, \ + __arg8, __arg9) + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULReachabilityChecker.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULReachabilityChecker.h new file mode 100644 index 00000000000..cac5ca3de0d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULReachabilityChecker.h @@ -0,0 +1,83 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#if !TARGET_OS_WATCH +#import +#endif + +NS_ASSUME_NONNULL_BEGIN + +/// Reachability Status +typedef enum { + kGULReachabilityUnknown, ///< Have not yet checked or been notified whether host is reachable. + kGULReachabilityNotReachable, ///< Host is not reachable. + kGULReachabilityViaWifi, ///< Host is reachable via Wifi. + kGULReachabilityViaCellular, ///< Host is reachable via cellular. +} GULReachabilityStatus; + +const NSString *GULReachabilityStatusString(GULReachabilityStatus status); + +@class GULReachabilityChecker; + +/// Google Analytics iOS Reachability Checker. +@protocol GULReachabilityDelegate +@required +/// Called when network status has changed. +- (void)reachability:(GULReachabilityChecker *)reachability + statusChanged:(GULReachabilityStatus)status; +@end + +/// Google Analytics iOS Network Status Checker. +@interface GULReachabilityChecker : NSObject + +/// The last known reachability status, or GULReachabilityStatusUnknown if the +/// checker is not active. +@property(nonatomic, readonly) GULReachabilityStatus reachabilityStatus; +/// The host to which reachability status is to be checked. +@property(nonatomic, copy, readonly) NSString *host; +/// The delegate to be notified of reachability status changes. +@property(nonatomic, weak) id reachabilityDelegate; +/// `YES` if the reachability checker is active, `NO` otherwise. +@property(nonatomic, readonly) BOOL isActive; + +/// Initialize the reachability checker. Note that you must call start to begin checking for and +/// receiving notifications about network status changes. +/// +/// @param reachabilityDelegate The delegate to be notified when reachability status to host +/// changes. +/// +/// @param host The name of the host. +/// +- (instancetype)initWithReachabilityDelegate:(id)reachabilityDelegate + withHost:(NSString *)host; + +- (instancetype)init NS_UNAVAILABLE; + +/// Start checking for reachability to the specified host. This has no effect if the status +/// checker is already checking for connectivity. +/// +/// @return `YES` if initiating status checking was successful or the status checking has already +/// been initiated, `NO` otherwise. +- (BOOL)start; + +/// Stop checking for reachability to the specified host. This has no effect if the status +/// checker is not checking for connectivity. +- (void)stop; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULSceneDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULSceneDelegateSwizzler.h new file mode 100644 index 00000000000..d6d893779fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULSceneDelegateSwizzler.h @@ -0,0 +1,76 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#import + +#if __has_include() +#import +#endif + +#if TARGET_OS_IOS || TARGET_OS_TV +#define UISCENE_SUPPORTED 1 +#endif + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULSceneDelegateInterceptorID; + +/** This class contains methods that isa swizzle the scene delegate. */ +@interface GULSceneDelegateSwizzler : NSProxy + +#if UISCENE_SUPPORTED + +/** Registers a scene delegate interceptor whose methods will be invoked as they're invoked on the + * original scene delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULSceneDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULSceneDelegateInterceptorID)registerSceneDelegateInterceptor: + (id)interceptor API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterSceneDelegateInterceptorWithID:(GULSceneDelegateInterceptorID)interceptorID + API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +#endif // UISCENE_SUPPORTED + +/** This method ensures that the original scene delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the scene delegate once). + * + * The method has no effect for extensions. + */ ++ (void)proxyOriginalSceneDelegate; + +/** Indicates whether scene delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if SceneDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isSceneDelegateProxyEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULSwizzler.h new file mode 100644 index 00000000000..26949c88678 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULSwizzler.h @@ -0,0 +1,71 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** This class handles the runtime manipulation necessary to instrument selectors. It stores the + * classes and selectors that have been swizzled, and runs all operations on its own queue. + */ +@interface GULSwizzler : NSObject + +/** Manipulates the Objective-C runtime to replace the original IMP with the supplied block. + * + * @param aClass The class to swizzle. + * @param selector The selector of the class to swizzle. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @param block The block that replaces the original IMP. + */ ++ (void)swizzleClass:(Class)aClass + selector:(SEL)selector + isClassSelector:(BOOL)isClassSelector + withBlock:(nullable id)block; + +/** Returns the current IMP for the given class and selector. + * + * @param aClass The class to use. + * @param selector The selector to find the implementation of. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @return The implementation of the selector in the runtime. + */ ++ (nullable IMP)currentImplementationForClass:(Class)aClass + selector:(SEL)selector + isClassSelector:(BOOL)isClassSelector; + +/** Checks the runtime to see if a selector exists on a class. If a property is declared as + * @dynamic, we have a reverse swizzling situation, where the implementation of a method exists + * only in concrete subclasses, and NOT in the superclass. We can detect that situation using + * this helper method. Similarly, we can detect situations where a class doesn't implement a + * protocol method. + * + * @param selector The selector to check for. + * @param aClass The class to check. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @return YES if the method was found in this selector/class combination, NO otherwise. + */ ++ (BOOL)selector:(SEL)selector existsInClass:(Class)aClass isClassSelector:(BOOL)isClassSelector; + +/** Returns a list of all Objective-C (and not primitive) ivars contained by the given object. + * + * @param object The object whose ivars will be iterated. + * @return The list of ivar objects. + */ ++ (NSArray *)ivarObjectsForObject:(id)object; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULUserDefaults.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULUserDefaults.h new file mode 100644 index 00000000000..83b23fa3cf2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GULUserDefaults.h @@ -0,0 +1,105 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A thread-safe user defaults that uses C functions from CFPreferences.h instead of +/// `NSUserDefaults`. This is to avoid sending an `NSNotification` when it's changed from a +/// background thread to avoid crashing. // TODO: Insert radar number here. +@interface GULUserDefaults : NSObject + +/// A shared user defaults similar to +[NSUserDefaults standardUserDefaults] and accesses the same +/// data of the standardUserDefaults. ++ (GULUserDefaults *)standardUserDefaults; + +/// Initializes preferences with a suite name that is the same with the NSUserDefaults' suite name. +/// Both of CFPreferences and NSUserDefaults share the same plist file so their data will exactly +/// the same. +/// +/// @param suiteName The name of the suite of the user defaults. +- (instancetype)initWithSuiteName:(nullable NSString *)suiteName; + +#pragma mark - Getters + +/// Searches the receiver's search list for a default with the key 'defaultName' and return it. If +/// another process has changed defaults in the search list, NSUserDefaults will automatically +/// update to the latest values. If the key in question has been marked as ubiquitous via a Defaults +/// Configuration File, the latest value may not be immediately available, and the registered value +/// will be returned instead. +- (nullable id)objectForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value is not an NSArray. +- (nullable NSArray *)arrayForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value +/// is not an NSDictionary. +- (nullable NSDictionary *)dictionaryForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will convert NSNumber values to their NSString +/// representation. If a non-string non-number value is found, nil will be returned. +- (nullable NSString *)stringForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to an NSInteger. If the +/// value is an NSNumber, the result of -integerValue will be returned. If the value is an NSString, +/// it will be converted to NSInteger if possible. If the value is a boolean, it will be converted +/// to either 1 for YES or 0 for NO. If the value is absent or can't be converted to an integer, 0 +/// will be returned. +- (NSInteger)integerForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a float, and boolean values will not be +/// converted. +- (float)floatForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a double, and boolean values will not be +/// converted. +- (double)doubleForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to a BOOL. If the value +/// is an NSNumber, NO will be returned if the value is 0, YES otherwise. If the value is an +/// NSString, values of "YES" or "1" will return YES, and values of "NO", "0", or any other string +/// will return NO. If the value is absent or can't be converted to a BOOL, NO will be returned. +- (BOOL)boolForKey:(NSString *)defaultName; + +#pragma mark - Setters + +/// Immediately stores a value (or removes the value if `nil` is passed as the value) for the +/// provided key in the search list entry for the receiver's suite name in the current user and any +/// host, then asynchronously stores the value persistently, where it is made available to other +/// processes. +- (void)setObject:(nullable id)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a float to an NSNumber. +- (void)setFloat:(float)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a double to an +/// NSNumber. +- (void)setDouble:(double)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from an NSInteger to an +/// NSNumber. +- (void)setInteger:(NSInteger)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a BOOL to an NSNumber. +- (void)setBool:(BOOL)value forKey:(NSString *)defaultName; + +#pragma mark - Removing Defaults + +/// Equivalent to -[... setObject:nil forKey:defaultName] +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GoogleUtilities-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GoogleUtilities-umbrella.h new file mode 100644 index 00000000000..907b89e45fd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Headers/GoogleUtilities-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "GULAppDelegateSwizzler.h" +#import "GULApplication.h" +#import "GULSceneDelegateSwizzler.h" +#import "GULAppEnvironmentUtil.h" +#import "GULKeychainStorage.h" +#import "GULKeychainUtils.h" +#import "GULNetworkInfo.h" +#import "GULLogger.h" +#import "GULLoggerLevel.h" +#import "GULOriginalIMPConvenienceMacros.h" +#import "GULSwizzler.h" +#import "GULNSData+zlib.h" +#import "GULMutableDictionary.h" +#import "GULNetwork.h" +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkMessageCode.h" +#import "GULNetworkURLSession.h" +#import "GULReachabilityChecker.h" +#import "GULUserDefaults.h" + +FOUNDATION_EXPORT double GoogleUtilitiesVersionNumber; +FOUNDATION_EXPORT const unsigned char GoogleUtilitiesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..29a2d1d239b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module GoogleUtilities { +umbrella header "GoogleUtilities-umbrella.h" +export * +module * { export * } + link framework "Security" + link framework "SystemConfiguration" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Resources/GoogleUtilities_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Resources/GoogleUtilities_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..9b5052329b7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Resources/GoogleUtilities_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.GoogleUtilities-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleUtilities_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 8.0.2 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Resources/GoogleUtilities_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Resources/GoogleUtilities_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1c9e1a6644e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Resources/GoogleUtilities_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + C56D.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..358a0a65003 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleUtilities + CFBundleIdentifier + org.cocoapods.GoogleUtilities + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleUtilities + CFBundlePackageType + FMWK + CFBundleShortVersionString + 8.0.2 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-maccatalyst/GoogleUtilities.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities new file mode 100644 index 00000000000..baa5a1897da Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..7e654982d19 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1c9e1a6644e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + C56D.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h new file mode 100644 index 00000000000..58dec4927ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h @@ -0,0 +1,107 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULApplication.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULAppDelegateInterceptorID; + +/** This class contains methods that isa swizzle the app delegate. */ +@interface GULAppDelegateSwizzler : NSProxy + +/** Registers an app delegate interceptor whose methods will be invoked as they're invoked on the + * original app delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULAppDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULAppDelegateInterceptorID)registerAppDelegateInterceptor: + (id)interceptor; + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterAppDelegateInterceptorWithID:(GULAppDelegateInterceptorID)interceptorID; + +/** This method ensures that the original app delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the app delegate once). + * + * This method doesn't proxy APNS related methods: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * To proxy these methods use +[GULAppDelegateSwizzler + * proxyOriginalDelegateIncludingAPNSMethods]. The methods have to be proxied separately to + * avoid potential warnings from Apple review about missing Push Notification Entitlement (e.g. + * https://github.com/firebase/firebase-ios-sdk/issues/2807) + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegateIncludingAPNSMethods + */ ++ (void)proxyOriginalDelegate; + +/** This method ensures that the original app delegate has been proxied including APNS related + * methods. Call this before registering your interceptor. This method is safe to call multiple + * times (but it only proxies the app delegate once) or + * after +[GULAppDelegateSwizzler proxyOriginalDelegate] + * + * This method calls +[GULAppDelegateSwizzler proxyOriginalDelegate] under the hood. + * After calling this method the following App Delegate methods will be proxied in addition to + * the methods proxied by proxyOriginalDelegate: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegate + */ ++ (void)proxyOriginalDelegateIncludingAPNSMethods; + +/** Indicates whether app delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if AppDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isAppDelegateProxyEnabled; + +/** Returns the current sharedApplication. + * + * @return the current application instance if in an app, or nil if in extension or if it doesn't + * exist. + */ ++ (nullable GULApplication *)sharedApplication; + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +NS_ASSUME_NONNULL_END + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h new file mode 100644 index 00000000000..dbce363113a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface GULAppEnvironmentUtil : NSObject + +/// Indicates whether the app is from Apple Store or not. Returns NO if the app is on simulator, +/// development environment or sideloaded. ++ (BOOL)isFromAppStore; + +/// Indicates whether the app is a Testflight app. Returns YES if the app has sandbox receipt. +/// Returns NO otherwise. ++ (BOOL)isAppStoreReceiptSandbox; + +/// Indicates whether the app is on simulator or not at runtime depending on the device +/// architecture. ++ (BOOL)isSimulator; + +/// The current device model. Returns an empty string if device model cannot be retrieved. ++ (nullable NSString *)deviceModel; + +/// The current device model, with simulator-specific values. Returns an empty string if device +/// model cannot be retrieved. ++ (nullable NSString *)deviceSimulatorModel; + +/// The current operating system version. Returns an empty string if the system version cannot be +/// retrieved. ++ (NSString *)systemVersion; + +/// Indicates whether it is running inside an extension or an app. ++ (BOOL)isAppExtension; + +/// @return An Apple platform. Possible values "ios", "tvos", "macos", "watchos", "maccatalyst", and +/// "visionos". ++ (NSString *)applePlatform; + +/// @return An Apple Device platform. Same possible values as `applePlatform`, with the addition of +/// "ipados". ++ (NSString *)appleDevicePlatform; + +/// @return The way the library was added to the app, e.g. "swiftpm", "cocoapods", etc. ++ (NSString *)deploymentType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULApplication.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULApplication.h new file mode 100644 index 00000000000..9311a175b99 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULApplication.h @@ -0,0 +1,50 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_VISION + +#import + +#define GULApplication UIApplication +#define GULApplicationDelegate UIApplicationDelegate +#define GULUserActivityRestoring UIUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"UIApplication"; + +#elif TARGET_OS_OSX + +#import + +#define GULApplication NSApplication +#define GULApplicationDelegate NSApplicationDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"NSApplication"; + +#elif TARGET_OS_WATCH + +#import + +// We match the according watchOS API but swizzling should not work in watch +#define GULApplication WKExtension +#define GULApplicationDelegate WKExtensionDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"WKExtension"; + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainStorage.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainStorage.h new file mode 100644 index 00000000000..eb90ea34dee --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainStorage.h @@ -0,0 +1,84 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The class provides a convenient, multiplatform abstraction of the Keychain. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainStorage : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** Initializes the keychain storage with Keychain Service name. + * @param service A Keychain Service name that will be used to store and retrieve objects. See also + * `kSecAttrService`. + */ +- (instancetype)initWithService:(NSString *)service; + +/// Get an object by key. +/// @param key The key. +/// @param objectClass The expected object class required by `NSSecureCoding`. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain read is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object stored in +/// the keychain, or `nil` if it does not exist, is passed to the completion +/// handler. +- (void)getObjectForKey:(NSString *)key + objectClass:(Class)objectClass + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Saves the given object by the given key. +/// @param object The object to store. +/// @param key The key to store the object. If there is an existing object by the key, it will be +/// overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain write is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object written to +/// the keychain is passed to the completion handler. +- (void)setObject:(id)object + forKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Removes the object by the given key. +/// @param key The key to store the object. If there is an existing object by +/// the key, it will be overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain removal is complete. An error is passed to the +/// completion handler if the keychain removal fails. +- (void)removeObjectForKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler:(void (^)(NSError *_Nullable error))completionHandler; + +#if TARGET_OS_OSX +/// If not `nil`, then only this keychain will be used to save and read data (see +/// `kSecMatchSearchList` and `kSecUseKeychain`. It is mostly intended to be used by unit tests. +@property(nonatomic, nullable) SecKeychainRef keychainRef; +#endif // TARGET_OS_OSX + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainUtils.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainUtils.h new file mode 100644 index 00000000000..9c17356c2cc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainUtils.h @@ -0,0 +1,64 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString *const kGULKeychainUtilsErrorDomain; + +/// A collection of helper functions that abstract away common Keychain operations. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainUtils : NSObject + +/** Fetches a keychain item data matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemCopyMatching` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns Data for the first Keychain Item matching the provided query or `nil` if there is not + * such an item (`outError` will be `nil` in this case) or an error occurred. + */ ++ (nullable NSData *)getItemWithQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Stores data to a Keychain Item matching to the provided query. An existing Keychain Item + * matching the query parameters will be updated or a new will be created. + * @param item A Keychain Item data to store. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemAdd` and + * `SecItemUpdate` for details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` when data was successfully stored, `NO` otherwise. + */ ++ (BOOL)setItem:(NSData *)item + withQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Removes a Keychain Item matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemDelete` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` if the item was removed successfully or doesn't exist, `NO` otherwise. + */ ++ (BOOL)removeItemWithQuery:(NSDictionary *)query error:(NSError *_Nullable *_Nullable)outError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLogger.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLogger.h new file mode 100644 index 00000000000..30cc80005ec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLogger.h @@ -0,0 +1,165 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * The services used in the logger. + * + * DEPRECATED; use NSString instead. + */ +typedef NSString *const GULLoggerService; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/// Used for other GoogleUtilities logging. +extern NSString *const kGULLogSubsystem; + +/// Initialize GULLogger. +extern void GULLoggerInitialize(void); + +/// Override log level to Debug. +void GULLoggerForceDebug(void); + +/// Gets the current `GULLoggerLevel`. +extern GULLoggerLevel GULGetLoggerLevel(void); + +/** + * Changes the default logging level of GULLoggerLevelNotice to a user-specified level. + * The default level cannot be set above GULLoggerLevelNotice if the app is running from App Store. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern void GULSetLoggerLevel(GULLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern BOOL GULIsLoggableLevel(GULLoggerLevel loggerLevel); + +/** + * Register version to include in logs. + * (required) version + */ +extern void GULLoggerRegisterVersion(NSString *version); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than GULLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the GULLoggerLevel enum values). + * (required) service name of type GULLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void GULOSLogBasic(GULLoggerLevel level, + NSString *subsystem, + NSString *category, + BOOL forceLog, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type GULLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * GULLogError(kGULLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void GULOSLogError(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogWarning(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogNotice(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogInfo(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogDebug(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +@interface GULLoggerWrapper : NSObject + +/// Objective-C wrapper for `GULOSLogBasic` to allow weak linking to `GULLogger`. +/// +/// - Parameters: +/// - level: The log level (one of the `GULLoggerLevel` enum values). +/// - subsystem: An identifier for the subsystem performing logging, e.g., `com.example.logger`. +/// - category: The category name within the `subsystem` to group related messages, e.g., +/// `[GoogleUtilities/Example]`. +/// - messageCode: The message code starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: The message to log, which may be a format string. +/// - arguments: The variable arguments list obtained from calling va_start, used when message is +/// a format string; optional if `message` is not a format string. ++ (void)logWithLevel:(GULLoggerLevel)level + subsystem:(NSString *)subsystem + category:(NSString *)category + messageCode:(NSString *)messageCode + message:(NSString *)message + arguments:(va_list)args; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLoggerLevel.h new file mode 100644 index 00000000000..6a68eb13093 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLoggerLevel.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by internal logging. +typedef NS_ENUM(NSInteger, GULLoggerLevel) { + /// Error level, corresponding to `OS_LOG_TYPE_ERROR`. + GULLoggerLevelError = 3, // For backwards compatibility, the enum value matches `ASL_LEVEL_ERR`. + + /// Warning level, corresponding to `OS_LOG_TYPE_DEFAULT`. + /// + /// > Note: Since OSLog doesn't have a WARNING type, this is equivalent to `GULLoggerLevelNotice`. + GULLoggerLevelWarning = 4, // For backwards compatibility, the value matches `ASL_LEVEL_WARNING`. + + /// Notice level, corresponding to `OS_LOG_TYPE_DEFAULT`. + GULLoggerLevelNotice = 5, // For backwards compatibility, the value matches `ASL_LEVEL_NOTICE`. + + /// Info level, corresponding to `OS_LOG_TYPE_INFO`. + GULLoggerLevelInfo = 6, // For backwards compatibility, the enum value matches `ASL_LEVEL_INFO`. + + /// Debug level, corresponding to `OS_LOG_TYPE_DEBUG`. + GULLoggerLevelDebug = 7, // For backwards compatibility, the value matches `ASL_LEVEL_DEBUG`. + + /// The minimum (most severe) supported logging level. + GULLoggerLevelMin = GULLoggerLevelError, + + /// The maximum (least severe) supported logging level. + GULLoggerLevelMax = GULLoggerLevelDebug +} NS_SWIFT_NAME(GoogleLoggerLevel); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULMutableDictionary.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULMutableDictionary.h new file mode 100644 index 00000000000..02f25db89c8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULMutableDictionary.h @@ -0,0 +1,50 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A mutable dictionary that provides atomic accessor and mutators. +@interface GULMutableDictionary : NSObject + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKey:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)object forKey:(id)key; + +/// Removes the object given its session ID from the dictionary. +- (void)removeObjectForKey:(id)key; + +/// Removes all objects. +- (void)removeAllObjects; + +/// Returns the number of current objects in the dictionary. +- (NSUInteger)count; + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKeyedSubscript:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)obj forKeyedSubscript:(id)key; + +/// Returns the immutable dictionary. +- (NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNSData+zlib.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNSData+zlib.h new file mode 100644 index 00000000000..f195d572aeb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNSData+zlib.h @@ -0,0 +1,53 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// This is a copy of Google Toolbox for Mac library to avoid creating an extra framework. + +// NOTE: For 64bit, none of these apis handle input sizes >32bits, they will return nil when given +// such data. To handle data of that size you really should be streaming it rather then doing it all +// in memory. + +@interface NSData (GULGzip) + +/// Returns an data as the result of decompressing the payload of |data|.The data to decompress must +/// be a gzipped payloads. ++ (nullable NSData *)gul_dataByInflatingGzippedData:(NSData *)data error:(NSError **)error; + +/// Returns an compressed data with the result of gzipping the payload of |data|. Uses the default +/// compression level. ++ (nullable NSData *)gul_dataByGzippingData:(NSData *)data error:(NSError **)error; + +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorDomain; +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorKey; // NSNumber +FOUNDATION_EXPORT NSString *const GULNSDataZlibRemainingBytesKey; // NSNumber + +typedef NS_ENUM(NSInteger, GULNSDataZlibError) { + GULNSDataZlibErrorGreaterThan32BitsToCompress = 1024, + // An internal zlib error. + // GULNSDataZlibErrorKey will contain the error value. + // NSLocalizedDescriptionKey may contain an error string from zlib. + // Look in zlib.h for list of errors. + GULNSDataZlibErrorInternal, + // There was left over data in the buffer that was not used. + // GULNSDataZlibRemainingBytesKey will contain number of remaining bytes. + GULNSDataZlibErrorDataRemaining +}; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetwork.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetwork.h new file mode 100644 index 00000000000..4c5b5f56fba --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetwork.h @@ -0,0 +1,101 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkURLSession.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Delegate protocol for GULNetwork events. +@protocol GULNetworkReachabilityDelegate + +/// Tells the delegate to handle events when the network reachability changes to connected or not +/// connected. +- (void)reachabilityDidChange; + +@end + +/// The Network component that provides network status and handles network requests and responses. +/// This is not thread safe. +/// +/// NOTE: +/// User must add FIRAnalytics handleEventsForBackgroundURLSessionID:completionHandler to the +/// AppDelegate application:handleEventsForBackgroundURLSession:completionHandler: +@interface GULNetwork : NSObject + +/// Indicates if network connectivity is available. +@property(nonatomic, readonly, getter=isNetworkConnected) BOOL networkConnected; + +/// Indicates if there are any uploads in progress. +@property(nonatomic, readonly, getter=hasUploadInProgress) BOOL uploadInProgress; + +/// An optional delegate that can be used in the event when network reachability changes. +@property(nonatomic, weak) id reachabilityDelegate; + +/// An optional delegate that can be used to log messages, warnings or errors that occur in the +/// network operations. +@property(nonatomic, weak) id loggerDelegate; + +/// Indicates whether the logger should display debug messages. +@property(nonatomic, assign) BOOL isDebugModeEnabled; + +/// The time interval in seconds for the network request to timeout. +@property(nonatomic, assign) NSTimeInterval timeoutInterval; + +/// Initializes with the default reachability host. +- (instancetype)init; + +/// Initializes with a custom reachability host. +- (instancetype)initWithReachabilityHost:(NSString *)reachabilityHost; + +/// Handles events when background session with the given ID has finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Compresses and sends a POST request with the provided data to the URL. The session will be +/// background session if usingBackgroundSession is YES. Otherwise, the POST session is default +/// session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Compresses and sends a POST request with the provided headers and data to the URL. The session +/// will be background session if usingBackgroundSession is YES. Otherwise, the POST session is +/// default session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Sends a GET request with the provided data to the URL. The session will be background session +/// if usingBackgroundSession is YES. Otherwise, the GET session is default session. Returns a +/// session ID or nil if an error occurs. +- (nullable NSString *)getURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkConstants.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkConstants.h new file mode 100644 index 00000000000..341b9745222 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkConstants.h @@ -0,0 +1,75 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Error codes in Firebase Network error domain. +/// Note: these error codes should never change. It would make it harder to decode the errors if +/// we inadvertently altered any of these codes in a future SDK version. +typedef NS_ENUM(NSInteger, GULNetworkErrorCode) { + /// Unknown error. + GULNetworkErrorCodeUnknown = 0, + /// Error occurs when the request URL is invalid. + GULErrorCodeNetworkInvalidURL = 1, + /// Error occurs when request cannot be constructed. + GULErrorCodeNetworkRequestCreation = 2, + /// Error occurs when payload cannot be compressed. + GULErrorCodeNetworkPayloadCompression = 3, + /// Error occurs when session task cannot be created. + GULErrorCodeNetworkSessionTaskCreation = 4, + /// Error occurs when there is no response. + GULErrorCodeNetworkInvalidResponse = 5 +}; + +#pragma mark - Network constants + +/// The prefix of the ID of the background session. +extern NSString *const kGULNetworkBackgroundSessionConfigIDPrefix; + +/// The sub directory to store the files of data that is being uploaded in the background. +extern NSString *const kGULNetworkApplicationSupportSubdirectory; + +/// Name of the temporary directory that stores files for background uploading. +extern NSString *const kGULNetworkTempDirectoryName; + +/// The period when the temporary uploading file can stay. +extern const NSTimeInterval kGULNetworkTempFolderExpireTime; + +/// The default network request timeout interval. +extern const NSTimeInterval kGULNetworkTimeOutInterval; + +/// The host to check the reachability of the network. +extern NSString *const kGULNetworkReachabilityHost; + +/// The key to get the error context of the UserInfo. +extern NSString *const kGULNetworkErrorContext; + +#pragma mark - Network Status Code + +extern const int kGULNetworkHTTPStatusOK; +extern const int kGULNetworkHTTPStatusNoContent; +extern const int kGULNetworkHTTPStatusCodeMultipleChoices; +extern const int kGULNetworkHTTPStatusCodeMovedPermanently; +extern const int kGULNetworkHTTPStatusCodeFound; +extern const int kGULNetworkHTTPStatusCodeNotModified; +extern const int kGULNetworkHTTPStatusCodeMovedTemporarily; +extern const int kGULNetworkHTTPStatusCodeNotFound; +extern const int kGULNetworkHTTPStatusCodeCannotAcceptTraffic; +extern const int kGULNetworkHTTPStatusCodeUnavailable; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkInfo.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkInfo.h new file mode 100644 index 00000000000..06139413a71 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkInfo.h @@ -0,0 +1,43 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The type of network that the device is running with. Values should correspond to the NetworkType +/// values in android/play/playlog/proto/clientanalytics.proto +typedef NS_ENUM(NSInteger, GULNetworkType) { + GULNetworkTypeNone = -1, + GULNetworkTypeMobile = 0, + GULNetworkTypeWIFI = 1, +}; + +/// Collection of utilities to read network status information +@interface GULNetworkInfo : NSObject + +/// Returns an enum indicating the network type. The enum values should be easily transferrable to +/// the NetworkType value in android/play/playlog/proto/clientanalytics.proto. Right now this always +/// returns None on platforms other than iOS. This should be updated in the future to return Wi-Fi +/// values for the other platforms when applicable. ++ (GULNetworkType)getNetworkType; + +/// Returns a string indicating the radio access technology used by the app. The return value will +/// be one of CTRadioAccess constants defined in +/// https://developer.apple.com/documentation/coretelephony/cttelephonynetworkinfo/radio_access_technology_constants ++ (NSString *)getNetworkRadioType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h new file mode 100644 index 00000000000..b9e93ec68cb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h @@ -0,0 +1,53 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkMessageCode.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by GULNetworkLogger. +typedef NS_ENUM(NSInteger, GULNetworkLogLevel) { + kGULNetworkLogLevelError = 3, + kGULNetworkLogLevelWarning = 4, + kGULNetworkLogLevelInfo = 6, + kGULNetworkLogLevelDebug = 7, +}; + +@protocol GULNetworkLoggerDelegate + +@required +/// Tells the delegate to log a message with an array of contexts and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + contexts:(NSArray *)contexts; + +/// Tells the delegate to log a message with a context and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + context:(id)context; + +/// Tells the delegate to log a message with the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h new file mode 100644 index 00000000000..2d45ec6e381 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h @@ -0,0 +1,51 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +// Make sure these codes do not overlap with any contained in the FIRAMessageCode enum. +typedef NS_ENUM(NSInteger, GULNetworkMessageCode) { + // GULNetwork.m + kGULNetworkMessageCodeNetwork000 = 900000, // I-NET900000 + kGULNetworkMessageCodeNetwork001 = 900001, // I-NET900001 + kGULNetworkMessageCodeNetwork002 = 900002, // I-NET900002 + kGULNetworkMessageCodeNetwork003 = 900003, // I-NET900003 + // GULNetworkURLSession.m + kGULNetworkMessageCodeURLSession000 = 901000, // I-NET901000 + kGULNetworkMessageCodeURLSession001 = 901001, // I-NET901001 + kGULNetworkMessageCodeURLSession002 = 901002, // I-NET901002 + kGULNetworkMessageCodeURLSession003 = 901003, // I-NET901003 + kGULNetworkMessageCodeURLSession004 = 901004, // I-NET901004 + kGULNetworkMessageCodeURLSession005 = 901005, // I-NET901005 + kGULNetworkMessageCodeURLSession006 = 901006, // I-NET901006 + kGULNetworkMessageCodeURLSession007 = 901007, // I-NET901007 + kGULNetworkMessageCodeURLSession008 = 901008, // I-NET901008 + kGULNetworkMessageCodeURLSession009 = 901009, // I-NET901009 + kGULNetworkMessageCodeURLSession010 = 901010, // I-NET901010 + kGULNetworkMessageCodeURLSession011 = 901011, // I-NET901011 + kGULNetworkMessageCodeURLSession012 = 901012, // I-NET901012 + kGULNetworkMessageCodeURLSession013 = 901013, // I-NET901013 + kGULNetworkMessageCodeURLSession014 = 901014, // I-NET901014 + kGULNetworkMessageCodeURLSession015 = 901015, // I-NET901015 + kGULNetworkMessageCodeURLSession016 = 901016, // I-NET901016 + kGULNetworkMessageCodeURLSession017 = 901017, // I-NET901017 + kGULNetworkMessageCodeURLSession018 = 901018, // I-NET901018 + kGULNetworkMessageCodeURLSession019 = 901019, // I-NET901019 +}; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkURLSession.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkURLSession.h new file mode 100644 index 00000000000..3f9f7f9e14d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkURLSession.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkLoggerProtocol.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^GULNetworkCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSError *_Nullable error); +typedef void (^GULNetworkURLSessionCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSString *sessionID, + NSError *_Nullable error); +typedef void (^GULNetworkSystemCompletionHandler)(void); + +/// The protocol that uses NSURLSession for iOS >= 7.0 to handle requests and responses. +@interface GULNetworkURLSession : NSObject + +/// Indicates whether the background network is enabled. Default value is NO. +@property(nonatomic, getter=isBackgroundNetworkEnabled) BOOL backgroundNetworkEnabled; + +/// The logger delegate to log message, errors or warnings that occur during the network operations. +@property(nonatomic, weak, nullable) id loggerDelegate; + +/// Calls the system provided completion handler after the background session is finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Initializes with logger delegate. +- (instancetype)initWithNetworkLoggerDelegate: + (nullable id)networkLoggerDelegate NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +/// Sends an asynchronous POST request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session/connection. +- (nullable NSString *)sessionIDFromAsyncPOSTRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +/// Sends an asynchronous GET request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session. +- (nullable NSString *)sessionIDFromAsyncGETRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +NS_ASSUME_NONNULL_END +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULOriginalIMPConvenienceMacros.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULOriginalIMPConvenienceMacros.h new file mode 100644 index 00000000000..c340f85c124 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULOriginalIMPConvenienceMacros.h @@ -0,0 +1,213 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * GULOriginalIMPConvenienceMacros.h + * + * This header contains convenience macros for invoking the original IMP of a swizzled method. + */ + +/** + * Invokes original IMP when the original selector takes no arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + */ +#define GUL_INVOKE_ORIGINAL_IMP0(__receivingObject, __swizzledSEL, __returnType, __originalIMP) \ + ((__returnType(*)(id, SEL))__originalIMP)(__receivingObject, __swizzledSEL) + +/** + * Invokes original IMP when the original selector takes 1 argument. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP1(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1)))__originalIMP)(__receivingObject, __swizzledSEL, \ + __arg1) + +/** + * Invokes original IMP when the original selector takes 2 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP2(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2) + +/** + * Invokes original IMP when the original selector takes 3 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP3(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), \ + __typeof__(__arg3)))__originalIMP)(__receivingObject, __swizzledSEL, __arg1, \ + __arg2, __arg3) + +/** + * Invokes original IMP when the original selector takes 4 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP4(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4)))__originalIMP)(__receivingObject, __swizzledSEL, __arg1, \ + __arg2, __arg3, __arg4) + +/** + * Invokes original IMP when the original selector takes 5 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP5(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5) + +/** + * Invokes original IMP when the original selector takes 6 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP6(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) + +/** + * Invokes original IMP when the original selector takes 7 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP7(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) + +/** + * Invokes original IMP when the original selector takes 8 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + * @param __arg8 The eighth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP8(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7), __typeof__(__arg8)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, \ + __arg8) + +/** + * Invokes original IMP when the original selector takes 9 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + * @param __arg8 The eighth argument. + * @param __arg9 The ninth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP9(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8, \ + __arg9) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7), __typeof__(__arg8), __typeof__(__arg9)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, \ + __arg8, __arg9) + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULReachabilityChecker.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULReachabilityChecker.h new file mode 100644 index 00000000000..cac5ca3de0d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULReachabilityChecker.h @@ -0,0 +1,83 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#if !TARGET_OS_WATCH +#import +#endif + +NS_ASSUME_NONNULL_BEGIN + +/// Reachability Status +typedef enum { + kGULReachabilityUnknown, ///< Have not yet checked or been notified whether host is reachable. + kGULReachabilityNotReachable, ///< Host is not reachable. + kGULReachabilityViaWifi, ///< Host is reachable via Wifi. + kGULReachabilityViaCellular, ///< Host is reachable via cellular. +} GULReachabilityStatus; + +const NSString *GULReachabilityStatusString(GULReachabilityStatus status); + +@class GULReachabilityChecker; + +/// Google Analytics iOS Reachability Checker. +@protocol GULReachabilityDelegate +@required +/// Called when network status has changed. +- (void)reachability:(GULReachabilityChecker *)reachability + statusChanged:(GULReachabilityStatus)status; +@end + +/// Google Analytics iOS Network Status Checker. +@interface GULReachabilityChecker : NSObject + +/// The last known reachability status, or GULReachabilityStatusUnknown if the +/// checker is not active. +@property(nonatomic, readonly) GULReachabilityStatus reachabilityStatus; +/// The host to which reachability status is to be checked. +@property(nonatomic, copy, readonly) NSString *host; +/// The delegate to be notified of reachability status changes. +@property(nonatomic, weak) id reachabilityDelegate; +/// `YES` if the reachability checker is active, `NO` otherwise. +@property(nonatomic, readonly) BOOL isActive; + +/// Initialize the reachability checker. Note that you must call start to begin checking for and +/// receiving notifications about network status changes. +/// +/// @param reachabilityDelegate The delegate to be notified when reachability status to host +/// changes. +/// +/// @param host The name of the host. +/// +- (instancetype)initWithReachabilityDelegate:(id)reachabilityDelegate + withHost:(NSString *)host; + +- (instancetype)init NS_UNAVAILABLE; + +/// Start checking for reachability to the specified host. This has no effect if the status +/// checker is already checking for connectivity. +/// +/// @return `YES` if initiating status checking was successful or the status checking has already +/// been initiated, `NO` otherwise. +- (BOOL)start; + +/// Stop checking for reachability to the specified host. This has no effect if the status +/// checker is not checking for connectivity. +- (void)stop; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h new file mode 100644 index 00000000000..d6d893779fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h @@ -0,0 +1,76 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#import + +#if __has_include() +#import +#endif + +#if TARGET_OS_IOS || TARGET_OS_TV +#define UISCENE_SUPPORTED 1 +#endif + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULSceneDelegateInterceptorID; + +/** This class contains methods that isa swizzle the scene delegate. */ +@interface GULSceneDelegateSwizzler : NSProxy + +#if UISCENE_SUPPORTED + +/** Registers a scene delegate interceptor whose methods will be invoked as they're invoked on the + * original scene delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULSceneDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULSceneDelegateInterceptorID)registerSceneDelegateInterceptor: + (id)interceptor API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterSceneDelegateInterceptorWithID:(GULSceneDelegateInterceptorID)interceptorID + API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +#endif // UISCENE_SUPPORTED + +/** This method ensures that the original scene delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the scene delegate once). + * + * The method has no effect for extensions. + */ ++ (void)proxyOriginalSceneDelegate; + +/** Indicates whether scene delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if SceneDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isSceneDelegateProxyEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSwizzler.h new file mode 100644 index 00000000000..26949c88678 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSwizzler.h @@ -0,0 +1,71 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** This class handles the runtime manipulation necessary to instrument selectors. It stores the + * classes and selectors that have been swizzled, and runs all operations on its own queue. + */ +@interface GULSwizzler : NSObject + +/** Manipulates the Objective-C runtime to replace the original IMP with the supplied block. + * + * @param aClass The class to swizzle. + * @param selector The selector of the class to swizzle. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @param block The block that replaces the original IMP. + */ ++ (void)swizzleClass:(Class)aClass + selector:(SEL)selector + isClassSelector:(BOOL)isClassSelector + withBlock:(nullable id)block; + +/** Returns the current IMP for the given class and selector. + * + * @param aClass The class to use. + * @param selector The selector to find the implementation of. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @return The implementation of the selector in the runtime. + */ ++ (nullable IMP)currentImplementationForClass:(Class)aClass + selector:(SEL)selector + isClassSelector:(BOOL)isClassSelector; + +/** Checks the runtime to see if a selector exists on a class. If a property is declared as + * @dynamic, we have a reverse swizzling situation, where the implementation of a method exists + * only in concrete subclasses, and NOT in the superclass. We can detect that situation using + * this helper method. Similarly, we can detect situations where a class doesn't implement a + * protocol method. + * + * @param selector The selector to check for. + * @param aClass The class to check. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @return YES if the method was found in this selector/class combination, NO otherwise. + */ ++ (BOOL)selector:(SEL)selector existsInClass:(Class)aClass isClassSelector:(BOOL)isClassSelector; + +/** Returns a list of all Objective-C (and not primitive) ivars contained by the given object. + * + * @param object The object whose ivars will be iterated. + * @return The list of ivar objects. + */ ++ (NSArray *)ivarObjectsForObject:(id)object; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULUserDefaults.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULUserDefaults.h new file mode 100644 index 00000000000..83b23fa3cf2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULUserDefaults.h @@ -0,0 +1,105 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A thread-safe user defaults that uses C functions from CFPreferences.h instead of +/// `NSUserDefaults`. This is to avoid sending an `NSNotification` when it's changed from a +/// background thread to avoid crashing. // TODO: Insert radar number here. +@interface GULUserDefaults : NSObject + +/// A shared user defaults similar to +[NSUserDefaults standardUserDefaults] and accesses the same +/// data of the standardUserDefaults. ++ (GULUserDefaults *)standardUserDefaults; + +/// Initializes preferences with a suite name that is the same with the NSUserDefaults' suite name. +/// Both of CFPreferences and NSUserDefaults share the same plist file so their data will exactly +/// the same. +/// +/// @param suiteName The name of the suite of the user defaults. +- (instancetype)initWithSuiteName:(nullable NSString *)suiteName; + +#pragma mark - Getters + +/// Searches the receiver's search list for a default with the key 'defaultName' and return it. If +/// another process has changed defaults in the search list, NSUserDefaults will automatically +/// update to the latest values. If the key in question has been marked as ubiquitous via a Defaults +/// Configuration File, the latest value may not be immediately available, and the registered value +/// will be returned instead. +- (nullable id)objectForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value is not an NSArray. +- (nullable NSArray *)arrayForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value +/// is not an NSDictionary. +- (nullable NSDictionary *)dictionaryForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will convert NSNumber values to their NSString +/// representation. If a non-string non-number value is found, nil will be returned. +- (nullable NSString *)stringForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to an NSInteger. If the +/// value is an NSNumber, the result of -integerValue will be returned. If the value is an NSString, +/// it will be converted to NSInteger if possible. If the value is a boolean, it will be converted +/// to either 1 for YES or 0 for NO. If the value is absent or can't be converted to an integer, 0 +/// will be returned. +- (NSInteger)integerForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a float, and boolean values will not be +/// converted. +- (float)floatForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a double, and boolean values will not be +/// converted. +- (double)doubleForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to a BOOL. If the value +/// is an NSNumber, NO will be returned if the value is 0, YES otherwise. If the value is an +/// NSString, values of "YES" or "1" will return YES, and values of "NO", "0", or any other string +/// will return NO. If the value is absent or can't be converted to a BOOL, NO will be returned. +- (BOOL)boolForKey:(NSString *)defaultName; + +#pragma mark - Setters + +/// Immediately stores a value (or removes the value if `nil` is passed as the value) for the +/// provided key in the search list entry for the receiver's suite name in the current user and any +/// host, then asynchronously stores the value persistently, where it is made available to other +/// processes. +- (void)setObject:(nullable id)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a float to an NSNumber. +- (void)setFloat:(float)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a double to an +/// NSNumber. +- (void)setDouble:(double)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from an NSInteger to an +/// NSNumber. +- (void)setInteger:(NSInteger)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a BOOL to an NSNumber. +- (void)setBool:(BOOL)value forKey:(NSString *)defaultName; + +#pragma mark - Removing Defaults + +/// Equivalent to -[... setObject:nil forKey:defaultName] +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h new file mode 100644 index 00000000000..907b89e45fd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "GULAppDelegateSwizzler.h" +#import "GULApplication.h" +#import "GULSceneDelegateSwizzler.h" +#import "GULAppEnvironmentUtil.h" +#import "GULKeychainStorage.h" +#import "GULKeychainUtils.h" +#import "GULNetworkInfo.h" +#import "GULLogger.h" +#import "GULLoggerLevel.h" +#import "GULOriginalIMPConvenienceMacros.h" +#import "GULSwizzler.h" +#import "GULNSData+zlib.h" +#import "GULMutableDictionary.h" +#import "GULNetwork.h" +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkMessageCode.h" +#import "GULNetworkURLSession.h" +#import "GULReachabilityChecker.h" +#import "GULUserDefaults.h" + +FOUNDATION_EXPORT double GoogleUtilitiesVersionNumber; +FOUNDATION_EXPORT const unsigned char GoogleUtilitiesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Info.plist new file mode 100644 index 00000000000..54eb03e3bfc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleUtilities + CFBundleIdentifier + org.cocoapods.GoogleUtilities + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleUtilities + CFBundlePackageType + FMWK + CFBundleShortVersionString + 8.0.2 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Modules/module.modulemap new file mode 100644 index 00000000000..29a2d1d239b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/ios-arm64_x86_64-simulator/GoogleUtilities.framework/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module GoogleUtilities { +umbrella header "GoogleUtilities-umbrella.h" +export * +module * { export * } + link framework "Security" + link framework "SystemConfiguration" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/GoogleUtilities b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/GoogleUtilities new file mode 120000 index 00000000000..6b04615ff0e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/GoogleUtilities @@ -0,0 +1 @@ +Versions/Current/GoogleUtilities \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/GoogleUtilities b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/GoogleUtilities new file mode 100644 index 00000000000..ff7883be403 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/GoogleUtilities differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULAppDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULAppDelegateSwizzler.h new file mode 100644 index 00000000000..58dec4927ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULAppDelegateSwizzler.h @@ -0,0 +1,107 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULApplication.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULAppDelegateInterceptorID; + +/** This class contains methods that isa swizzle the app delegate. */ +@interface GULAppDelegateSwizzler : NSProxy + +/** Registers an app delegate interceptor whose methods will be invoked as they're invoked on the + * original app delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULAppDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULAppDelegateInterceptorID)registerAppDelegateInterceptor: + (id)interceptor; + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterAppDelegateInterceptorWithID:(GULAppDelegateInterceptorID)interceptorID; + +/** This method ensures that the original app delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the app delegate once). + * + * This method doesn't proxy APNS related methods: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * To proxy these methods use +[GULAppDelegateSwizzler + * proxyOriginalDelegateIncludingAPNSMethods]. The methods have to be proxied separately to + * avoid potential warnings from Apple review about missing Push Notification Entitlement (e.g. + * https://github.com/firebase/firebase-ios-sdk/issues/2807) + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegateIncludingAPNSMethods + */ ++ (void)proxyOriginalDelegate; + +/** This method ensures that the original app delegate has been proxied including APNS related + * methods. Call this before registering your interceptor. This method is safe to call multiple + * times (but it only proxies the app delegate once) or + * after +[GULAppDelegateSwizzler proxyOriginalDelegate] + * + * This method calls +[GULAppDelegateSwizzler proxyOriginalDelegate] under the hood. + * After calling this method the following App Delegate methods will be proxied in addition to + * the methods proxied by proxyOriginalDelegate: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegate + */ ++ (void)proxyOriginalDelegateIncludingAPNSMethods; + +/** Indicates whether app delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if AppDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isAppDelegateProxyEnabled; + +/** Returns the current sharedApplication. + * + * @return the current application instance if in an app, or nil if in extension or if it doesn't + * exist. + */ ++ (nullable GULApplication *)sharedApplication; + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +NS_ASSUME_NONNULL_END + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULAppEnvironmentUtil.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULAppEnvironmentUtil.h new file mode 100644 index 00000000000..dbce363113a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULAppEnvironmentUtil.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface GULAppEnvironmentUtil : NSObject + +/// Indicates whether the app is from Apple Store or not. Returns NO if the app is on simulator, +/// development environment or sideloaded. ++ (BOOL)isFromAppStore; + +/// Indicates whether the app is a Testflight app. Returns YES if the app has sandbox receipt. +/// Returns NO otherwise. ++ (BOOL)isAppStoreReceiptSandbox; + +/// Indicates whether the app is on simulator or not at runtime depending on the device +/// architecture. ++ (BOOL)isSimulator; + +/// The current device model. Returns an empty string if device model cannot be retrieved. ++ (nullable NSString *)deviceModel; + +/// The current device model, with simulator-specific values. Returns an empty string if device +/// model cannot be retrieved. ++ (nullable NSString *)deviceSimulatorModel; + +/// The current operating system version. Returns an empty string if the system version cannot be +/// retrieved. ++ (NSString *)systemVersion; + +/// Indicates whether it is running inside an extension or an app. ++ (BOOL)isAppExtension; + +/// @return An Apple platform. Possible values "ios", "tvos", "macos", "watchos", "maccatalyst", and +/// "visionos". ++ (NSString *)applePlatform; + +/// @return An Apple Device platform. Same possible values as `applePlatform`, with the addition of +/// "ipados". ++ (NSString *)appleDevicePlatform; + +/// @return The way the library was added to the app, e.g. "swiftpm", "cocoapods", etc. ++ (NSString *)deploymentType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULApplication.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULApplication.h new file mode 100644 index 00000000000..9311a175b99 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULApplication.h @@ -0,0 +1,50 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_VISION + +#import + +#define GULApplication UIApplication +#define GULApplicationDelegate UIApplicationDelegate +#define GULUserActivityRestoring UIUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"UIApplication"; + +#elif TARGET_OS_OSX + +#import + +#define GULApplication NSApplication +#define GULApplicationDelegate NSApplicationDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"NSApplication"; + +#elif TARGET_OS_WATCH + +#import + +// We match the according watchOS API but swizzling should not work in watch +#define GULApplication WKExtension +#define GULApplicationDelegate WKExtensionDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"WKExtension"; + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULKeychainStorage.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULKeychainStorage.h new file mode 100644 index 00000000000..eb90ea34dee --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULKeychainStorage.h @@ -0,0 +1,84 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The class provides a convenient, multiplatform abstraction of the Keychain. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainStorage : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** Initializes the keychain storage with Keychain Service name. + * @param service A Keychain Service name that will be used to store and retrieve objects. See also + * `kSecAttrService`. + */ +- (instancetype)initWithService:(NSString *)service; + +/// Get an object by key. +/// @param key The key. +/// @param objectClass The expected object class required by `NSSecureCoding`. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain read is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object stored in +/// the keychain, or `nil` if it does not exist, is passed to the completion +/// handler. +- (void)getObjectForKey:(NSString *)key + objectClass:(Class)objectClass + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Saves the given object by the given key. +/// @param object The object to store. +/// @param key The key to store the object. If there is an existing object by the key, it will be +/// overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain write is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object written to +/// the keychain is passed to the completion handler. +- (void)setObject:(id)object + forKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Removes the object by the given key. +/// @param key The key to store the object. If there is an existing object by +/// the key, it will be overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain removal is complete. An error is passed to the +/// completion handler if the keychain removal fails. +- (void)removeObjectForKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler:(void (^)(NSError *_Nullable error))completionHandler; + +#if TARGET_OS_OSX +/// If not `nil`, then only this keychain will be used to save and read data (see +/// `kSecMatchSearchList` and `kSecUseKeychain`. It is mostly intended to be used by unit tests. +@property(nonatomic, nullable) SecKeychainRef keychainRef; +#endif // TARGET_OS_OSX + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULKeychainUtils.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULKeychainUtils.h new file mode 100644 index 00000000000..9c17356c2cc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULKeychainUtils.h @@ -0,0 +1,64 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString *const kGULKeychainUtilsErrorDomain; + +/// A collection of helper functions that abstract away common Keychain operations. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainUtils : NSObject + +/** Fetches a keychain item data matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemCopyMatching` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns Data for the first Keychain Item matching the provided query or `nil` if there is not + * such an item (`outError` will be `nil` in this case) or an error occurred. + */ ++ (nullable NSData *)getItemWithQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Stores data to a Keychain Item matching to the provided query. An existing Keychain Item + * matching the query parameters will be updated or a new will be created. + * @param item A Keychain Item data to store. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemAdd` and + * `SecItemUpdate` for details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` when data was successfully stored, `NO` otherwise. + */ ++ (BOOL)setItem:(NSData *)item + withQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Removes a Keychain Item matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemDelete` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` if the item was removed successfully or doesn't exist, `NO` otherwise. + */ ++ (BOOL)removeItemWithQuery:(NSDictionary *)query error:(NSError *_Nullable *_Nullable)outError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULLogger.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULLogger.h new file mode 100644 index 00000000000..30cc80005ec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULLogger.h @@ -0,0 +1,165 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * The services used in the logger. + * + * DEPRECATED; use NSString instead. + */ +typedef NSString *const GULLoggerService; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/// Used for other GoogleUtilities logging. +extern NSString *const kGULLogSubsystem; + +/// Initialize GULLogger. +extern void GULLoggerInitialize(void); + +/// Override log level to Debug. +void GULLoggerForceDebug(void); + +/// Gets the current `GULLoggerLevel`. +extern GULLoggerLevel GULGetLoggerLevel(void); + +/** + * Changes the default logging level of GULLoggerLevelNotice to a user-specified level. + * The default level cannot be set above GULLoggerLevelNotice if the app is running from App Store. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern void GULSetLoggerLevel(GULLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern BOOL GULIsLoggableLevel(GULLoggerLevel loggerLevel); + +/** + * Register version to include in logs. + * (required) version + */ +extern void GULLoggerRegisterVersion(NSString *version); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than GULLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the GULLoggerLevel enum values). + * (required) service name of type GULLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void GULOSLogBasic(GULLoggerLevel level, + NSString *subsystem, + NSString *category, + BOOL forceLog, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type GULLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * GULLogError(kGULLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void GULOSLogError(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogWarning(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogNotice(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogInfo(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogDebug(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +@interface GULLoggerWrapper : NSObject + +/// Objective-C wrapper for `GULOSLogBasic` to allow weak linking to `GULLogger`. +/// +/// - Parameters: +/// - level: The log level (one of the `GULLoggerLevel` enum values). +/// - subsystem: An identifier for the subsystem performing logging, e.g., `com.example.logger`. +/// - category: The category name within the `subsystem` to group related messages, e.g., +/// `[GoogleUtilities/Example]`. +/// - messageCode: The message code starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: The message to log, which may be a format string. +/// - arguments: The variable arguments list obtained from calling va_start, used when message is +/// a format string; optional if `message` is not a format string. ++ (void)logWithLevel:(GULLoggerLevel)level + subsystem:(NSString *)subsystem + category:(NSString *)category + messageCode:(NSString *)messageCode + message:(NSString *)message + arguments:(va_list)args; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULLoggerLevel.h new file mode 100644 index 00000000000..6a68eb13093 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULLoggerLevel.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by internal logging. +typedef NS_ENUM(NSInteger, GULLoggerLevel) { + /// Error level, corresponding to `OS_LOG_TYPE_ERROR`. + GULLoggerLevelError = 3, // For backwards compatibility, the enum value matches `ASL_LEVEL_ERR`. + + /// Warning level, corresponding to `OS_LOG_TYPE_DEFAULT`. + /// + /// > Note: Since OSLog doesn't have a WARNING type, this is equivalent to `GULLoggerLevelNotice`. + GULLoggerLevelWarning = 4, // For backwards compatibility, the value matches `ASL_LEVEL_WARNING`. + + /// Notice level, corresponding to `OS_LOG_TYPE_DEFAULT`. + GULLoggerLevelNotice = 5, // For backwards compatibility, the value matches `ASL_LEVEL_NOTICE`. + + /// Info level, corresponding to `OS_LOG_TYPE_INFO`. + GULLoggerLevelInfo = 6, // For backwards compatibility, the enum value matches `ASL_LEVEL_INFO`. + + /// Debug level, corresponding to `OS_LOG_TYPE_DEBUG`. + GULLoggerLevelDebug = 7, // For backwards compatibility, the value matches `ASL_LEVEL_DEBUG`. + + /// The minimum (most severe) supported logging level. + GULLoggerLevelMin = GULLoggerLevelError, + + /// The maximum (least severe) supported logging level. + GULLoggerLevelMax = GULLoggerLevelDebug +} NS_SWIFT_NAME(GoogleLoggerLevel); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULMutableDictionary.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULMutableDictionary.h new file mode 100644 index 00000000000..02f25db89c8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULMutableDictionary.h @@ -0,0 +1,50 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A mutable dictionary that provides atomic accessor and mutators. +@interface GULMutableDictionary : NSObject + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKey:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)object forKey:(id)key; + +/// Removes the object given its session ID from the dictionary. +- (void)removeObjectForKey:(id)key; + +/// Removes all objects. +- (void)removeAllObjects; + +/// Returns the number of current objects in the dictionary. +- (NSUInteger)count; + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKeyedSubscript:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)obj forKeyedSubscript:(id)key; + +/// Returns the immutable dictionary. +- (NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNSData+zlib.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNSData+zlib.h new file mode 100644 index 00000000000..f195d572aeb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNSData+zlib.h @@ -0,0 +1,53 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// This is a copy of Google Toolbox for Mac library to avoid creating an extra framework. + +// NOTE: For 64bit, none of these apis handle input sizes >32bits, they will return nil when given +// such data. To handle data of that size you really should be streaming it rather then doing it all +// in memory. + +@interface NSData (GULGzip) + +/// Returns an data as the result of decompressing the payload of |data|.The data to decompress must +/// be a gzipped payloads. ++ (nullable NSData *)gul_dataByInflatingGzippedData:(NSData *)data error:(NSError **)error; + +/// Returns an compressed data with the result of gzipping the payload of |data|. Uses the default +/// compression level. ++ (nullable NSData *)gul_dataByGzippingData:(NSData *)data error:(NSError **)error; + +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorDomain; +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorKey; // NSNumber +FOUNDATION_EXPORT NSString *const GULNSDataZlibRemainingBytesKey; // NSNumber + +typedef NS_ENUM(NSInteger, GULNSDataZlibError) { + GULNSDataZlibErrorGreaterThan32BitsToCompress = 1024, + // An internal zlib error. + // GULNSDataZlibErrorKey will contain the error value. + // NSLocalizedDescriptionKey may contain an error string from zlib. + // Look in zlib.h for list of errors. + GULNSDataZlibErrorInternal, + // There was left over data in the buffer that was not used. + // GULNSDataZlibRemainingBytesKey will contain number of remaining bytes. + GULNSDataZlibErrorDataRemaining +}; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetwork.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetwork.h new file mode 100644 index 00000000000..4c5b5f56fba --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetwork.h @@ -0,0 +1,101 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkURLSession.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Delegate protocol for GULNetwork events. +@protocol GULNetworkReachabilityDelegate + +/// Tells the delegate to handle events when the network reachability changes to connected or not +/// connected. +- (void)reachabilityDidChange; + +@end + +/// The Network component that provides network status and handles network requests and responses. +/// This is not thread safe. +/// +/// NOTE: +/// User must add FIRAnalytics handleEventsForBackgroundURLSessionID:completionHandler to the +/// AppDelegate application:handleEventsForBackgroundURLSession:completionHandler: +@interface GULNetwork : NSObject + +/// Indicates if network connectivity is available. +@property(nonatomic, readonly, getter=isNetworkConnected) BOOL networkConnected; + +/// Indicates if there are any uploads in progress. +@property(nonatomic, readonly, getter=hasUploadInProgress) BOOL uploadInProgress; + +/// An optional delegate that can be used in the event when network reachability changes. +@property(nonatomic, weak) id reachabilityDelegate; + +/// An optional delegate that can be used to log messages, warnings or errors that occur in the +/// network operations. +@property(nonatomic, weak) id loggerDelegate; + +/// Indicates whether the logger should display debug messages. +@property(nonatomic, assign) BOOL isDebugModeEnabled; + +/// The time interval in seconds for the network request to timeout. +@property(nonatomic, assign) NSTimeInterval timeoutInterval; + +/// Initializes with the default reachability host. +- (instancetype)init; + +/// Initializes with a custom reachability host. +- (instancetype)initWithReachabilityHost:(NSString *)reachabilityHost; + +/// Handles events when background session with the given ID has finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Compresses and sends a POST request with the provided data to the URL. The session will be +/// background session if usingBackgroundSession is YES. Otherwise, the POST session is default +/// session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Compresses and sends a POST request with the provided headers and data to the URL. The session +/// will be background session if usingBackgroundSession is YES. Otherwise, the POST session is +/// default session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Sends a GET request with the provided data to the URL. The session will be background session +/// if usingBackgroundSession is YES. Otherwise, the GET session is default session. Returns a +/// session ID or nil if an error occurs. +- (nullable NSString *)getURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkConstants.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkConstants.h new file mode 100644 index 00000000000..341b9745222 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkConstants.h @@ -0,0 +1,75 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Error codes in Firebase Network error domain. +/// Note: these error codes should never change. It would make it harder to decode the errors if +/// we inadvertently altered any of these codes in a future SDK version. +typedef NS_ENUM(NSInteger, GULNetworkErrorCode) { + /// Unknown error. + GULNetworkErrorCodeUnknown = 0, + /// Error occurs when the request URL is invalid. + GULErrorCodeNetworkInvalidURL = 1, + /// Error occurs when request cannot be constructed. + GULErrorCodeNetworkRequestCreation = 2, + /// Error occurs when payload cannot be compressed. + GULErrorCodeNetworkPayloadCompression = 3, + /// Error occurs when session task cannot be created. + GULErrorCodeNetworkSessionTaskCreation = 4, + /// Error occurs when there is no response. + GULErrorCodeNetworkInvalidResponse = 5 +}; + +#pragma mark - Network constants + +/// The prefix of the ID of the background session. +extern NSString *const kGULNetworkBackgroundSessionConfigIDPrefix; + +/// The sub directory to store the files of data that is being uploaded in the background. +extern NSString *const kGULNetworkApplicationSupportSubdirectory; + +/// Name of the temporary directory that stores files for background uploading. +extern NSString *const kGULNetworkTempDirectoryName; + +/// The period when the temporary uploading file can stay. +extern const NSTimeInterval kGULNetworkTempFolderExpireTime; + +/// The default network request timeout interval. +extern const NSTimeInterval kGULNetworkTimeOutInterval; + +/// The host to check the reachability of the network. +extern NSString *const kGULNetworkReachabilityHost; + +/// The key to get the error context of the UserInfo. +extern NSString *const kGULNetworkErrorContext; + +#pragma mark - Network Status Code + +extern const int kGULNetworkHTTPStatusOK; +extern const int kGULNetworkHTTPStatusNoContent; +extern const int kGULNetworkHTTPStatusCodeMultipleChoices; +extern const int kGULNetworkHTTPStatusCodeMovedPermanently; +extern const int kGULNetworkHTTPStatusCodeFound; +extern const int kGULNetworkHTTPStatusCodeNotModified; +extern const int kGULNetworkHTTPStatusCodeMovedTemporarily; +extern const int kGULNetworkHTTPStatusCodeNotFound; +extern const int kGULNetworkHTTPStatusCodeCannotAcceptTraffic; +extern const int kGULNetworkHTTPStatusCodeUnavailable; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkInfo.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkInfo.h new file mode 100644 index 00000000000..06139413a71 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkInfo.h @@ -0,0 +1,43 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The type of network that the device is running with. Values should correspond to the NetworkType +/// values in android/play/playlog/proto/clientanalytics.proto +typedef NS_ENUM(NSInteger, GULNetworkType) { + GULNetworkTypeNone = -1, + GULNetworkTypeMobile = 0, + GULNetworkTypeWIFI = 1, +}; + +/// Collection of utilities to read network status information +@interface GULNetworkInfo : NSObject + +/// Returns an enum indicating the network type. The enum values should be easily transferrable to +/// the NetworkType value in android/play/playlog/proto/clientanalytics.proto. Right now this always +/// returns None on platforms other than iOS. This should be updated in the future to return Wi-Fi +/// values for the other platforms when applicable. ++ (GULNetworkType)getNetworkType; + +/// Returns a string indicating the radio access technology used by the app. The return value will +/// be one of CTRadioAccess constants defined in +/// https://developer.apple.com/documentation/coretelephony/cttelephonynetworkinfo/radio_access_technology_constants ++ (NSString *)getNetworkRadioType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkLoggerProtocol.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkLoggerProtocol.h new file mode 100644 index 00000000000..b9e93ec68cb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkLoggerProtocol.h @@ -0,0 +1,53 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkMessageCode.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by GULNetworkLogger. +typedef NS_ENUM(NSInteger, GULNetworkLogLevel) { + kGULNetworkLogLevelError = 3, + kGULNetworkLogLevelWarning = 4, + kGULNetworkLogLevelInfo = 6, + kGULNetworkLogLevelDebug = 7, +}; + +@protocol GULNetworkLoggerDelegate + +@required +/// Tells the delegate to log a message with an array of contexts and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + contexts:(NSArray *)contexts; + +/// Tells the delegate to log a message with a context and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + context:(id)context; + +/// Tells the delegate to log a message with the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkMessageCode.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkMessageCode.h new file mode 100644 index 00000000000..2d45ec6e381 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkMessageCode.h @@ -0,0 +1,51 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +// Make sure these codes do not overlap with any contained in the FIRAMessageCode enum. +typedef NS_ENUM(NSInteger, GULNetworkMessageCode) { + // GULNetwork.m + kGULNetworkMessageCodeNetwork000 = 900000, // I-NET900000 + kGULNetworkMessageCodeNetwork001 = 900001, // I-NET900001 + kGULNetworkMessageCodeNetwork002 = 900002, // I-NET900002 + kGULNetworkMessageCodeNetwork003 = 900003, // I-NET900003 + // GULNetworkURLSession.m + kGULNetworkMessageCodeURLSession000 = 901000, // I-NET901000 + kGULNetworkMessageCodeURLSession001 = 901001, // I-NET901001 + kGULNetworkMessageCodeURLSession002 = 901002, // I-NET901002 + kGULNetworkMessageCodeURLSession003 = 901003, // I-NET901003 + kGULNetworkMessageCodeURLSession004 = 901004, // I-NET901004 + kGULNetworkMessageCodeURLSession005 = 901005, // I-NET901005 + kGULNetworkMessageCodeURLSession006 = 901006, // I-NET901006 + kGULNetworkMessageCodeURLSession007 = 901007, // I-NET901007 + kGULNetworkMessageCodeURLSession008 = 901008, // I-NET901008 + kGULNetworkMessageCodeURLSession009 = 901009, // I-NET901009 + kGULNetworkMessageCodeURLSession010 = 901010, // I-NET901010 + kGULNetworkMessageCodeURLSession011 = 901011, // I-NET901011 + kGULNetworkMessageCodeURLSession012 = 901012, // I-NET901012 + kGULNetworkMessageCodeURLSession013 = 901013, // I-NET901013 + kGULNetworkMessageCodeURLSession014 = 901014, // I-NET901014 + kGULNetworkMessageCodeURLSession015 = 901015, // I-NET901015 + kGULNetworkMessageCodeURLSession016 = 901016, // I-NET901016 + kGULNetworkMessageCodeURLSession017 = 901017, // I-NET901017 + kGULNetworkMessageCodeURLSession018 = 901018, // I-NET901018 + kGULNetworkMessageCodeURLSession019 = 901019, // I-NET901019 +}; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkURLSession.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkURLSession.h new file mode 100644 index 00000000000..3f9f7f9e14d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULNetworkURLSession.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkLoggerProtocol.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^GULNetworkCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSError *_Nullable error); +typedef void (^GULNetworkURLSessionCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSString *sessionID, + NSError *_Nullable error); +typedef void (^GULNetworkSystemCompletionHandler)(void); + +/// The protocol that uses NSURLSession for iOS >= 7.0 to handle requests and responses. +@interface GULNetworkURLSession : NSObject + +/// Indicates whether the background network is enabled. Default value is NO. +@property(nonatomic, getter=isBackgroundNetworkEnabled) BOOL backgroundNetworkEnabled; + +/// The logger delegate to log message, errors or warnings that occur during the network operations. +@property(nonatomic, weak, nullable) id loggerDelegate; + +/// Calls the system provided completion handler after the background session is finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Initializes with logger delegate. +- (instancetype)initWithNetworkLoggerDelegate: + (nullable id)networkLoggerDelegate NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +/// Sends an asynchronous POST request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session/connection. +- (nullable NSString *)sessionIDFromAsyncPOSTRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +/// Sends an asynchronous GET request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session. +- (nullable NSString *)sessionIDFromAsyncGETRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +NS_ASSUME_NONNULL_END +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULOriginalIMPConvenienceMacros.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULOriginalIMPConvenienceMacros.h new file mode 100644 index 00000000000..c340f85c124 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULOriginalIMPConvenienceMacros.h @@ -0,0 +1,213 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * GULOriginalIMPConvenienceMacros.h + * + * This header contains convenience macros for invoking the original IMP of a swizzled method. + */ + +/** + * Invokes original IMP when the original selector takes no arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + */ +#define GUL_INVOKE_ORIGINAL_IMP0(__receivingObject, __swizzledSEL, __returnType, __originalIMP) \ + ((__returnType(*)(id, SEL))__originalIMP)(__receivingObject, __swizzledSEL) + +/** + * Invokes original IMP when the original selector takes 1 argument. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP1(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1)))__originalIMP)(__receivingObject, __swizzledSEL, \ + __arg1) + +/** + * Invokes original IMP when the original selector takes 2 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP2(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2) + +/** + * Invokes original IMP when the original selector takes 3 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP3(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), \ + __typeof__(__arg3)))__originalIMP)(__receivingObject, __swizzledSEL, __arg1, \ + __arg2, __arg3) + +/** + * Invokes original IMP when the original selector takes 4 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP4(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4)))__originalIMP)(__receivingObject, __swizzledSEL, __arg1, \ + __arg2, __arg3, __arg4) + +/** + * Invokes original IMP when the original selector takes 5 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP5(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5) + +/** + * Invokes original IMP when the original selector takes 6 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP6(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) + +/** + * Invokes original IMP when the original selector takes 7 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP7(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) + +/** + * Invokes original IMP when the original selector takes 8 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + * @param __arg8 The eighth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP8(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7), __typeof__(__arg8)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, \ + __arg8) + +/** + * Invokes original IMP when the original selector takes 9 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + * @param __arg8 The eighth argument. + * @param __arg9 The ninth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP9(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8, \ + __arg9) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7), __typeof__(__arg8), __typeof__(__arg9)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, \ + __arg8, __arg9) + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULReachabilityChecker.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULReachabilityChecker.h new file mode 100644 index 00000000000..cac5ca3de0d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULReachabilityChecker.h @@ -0,0 +1,83 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#if !TARGET_OS_WATCH +#import +#endif + +NS_ASSUME_NONNULL_BEGIN + +/// Reachability Status +typedef enum { + kGULReachabilityUnknown, ///< Have not yet checked or been notified whether host is reachable. + kGULReachabilityNotReachable, ///< Host is not reachable. + kGULReachabilityViaWifi, ///< Host is reachable via Wifi. + kGULReachabilityViaCellular, ///< Host is reachable via cellular. +} GULReachabilityStatus; + +const NSString *GULReachabilityStatusString(GULReachabilityStatus status); + +@class GULReachabilityChecker; + +/// Google Analytics iOS Reachability Checker. +@protocol GULReachabilityDelegate +@required +/// Called when network status has changed. +- (void)reachability:(GULReachabilityChecker *)reachability + statusChanged:(GULReachabilityStatus)status; +@end + +/// Google Analytics iOS Network Status Checker. +@interface GULReachabilityChecker : NSObject + +/// The last known reachability status, or GULReachabilityStatusUnknown if the +/// checker is not active. +@property(nonatomic, readonly) GULReachabilityStatus reachabilityStatus; +/// The host to which reachability status is to be checked. +@property(nonatomic, copy, readonly) NSString *host; +/// The delegate to be notified of reachability status changes. +@property(nonatomic, weak) id reachabilityDelegate; +/// `YES` if the reachability checker is active, `NO` otherwise. +@property(nonatomic, readonly) BOOL isActive; + +/// Initialize the reachability checker. Note that you must call start to begin checking for and +/// receiving notifications about network status changes. +/// +/// @param reachabilityDelegate The delegate to be notified when reachability status to host +/// changes. +/// +/// @param host The name of the host. +/// +- (instancetype)initWithReachabilityDelegate:(id)reachabilityDelegate + withHost:(NSString *)host; + +- (instancetype)init NS_UNAVAILABLE; + +/// Start checking for reachability to the specified host. This has no effect if the status +/// checker is already checking for connectivity. +/// +/// @return `YES` if initiating status checking was successful or the status checking has already +/// been initiated, `NO` otherwise. +- (BOOL)start; + +/// Stop checking for reachability to the specified host. This has no effect if the status +/// checker is not checking for connectivity. +- (void)stop; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULSceneDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULSceneDelegateSwizzler.h new file mode 100644 index 00000000000..d6d893779fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULSceneDelegateSwizzler.h @@ -0,0 +1,76 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#import + +#if __has_include() +#import +#endif + +#if TARGET_OS_IOS || TARGET_OS_TV +#define UISCENE_SUPPORTED 1 +#endif + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULSceneDelegateInterceptorID; + +/** This class contains methods that isa swizzle the scene delegate. */ +@interface GULSceneDelegateSwizzler : NSProxy + +#if UISCENE_SUPPORTED + +/** Registers a scene delegate interceptor whose methods will be invoked as they're invoked on the + * original scene delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULSceneDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULSceneDelegateInterceptorID)registerSceneDelegateInterceptor: + (id)interceptor API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterSceneDelegateInterceptorWithID:(GULSceneDelegateInterceptorID)interceptorID + API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +#endif // UISCENE_SUPPORTED + +/** This method ensures that the original scene delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the scene delegate once). + * + * The method has no effect for extensions. + */ ++ (void)proxyOriginalSceneDelegate; + +/** Indicates whether scene delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if SceneDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isSceneDelegateProxyEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULSwizzler.h new file mode 100644 index 00000000000..26949c88678 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULSwizzler.h @@ -0,0 +1,71 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** This class handles the runtime manipulation necessary to instrument selectors. It stores the + * classes and selectors that have been swizzled, and runs all operations on its own queue. + */ +@interface GULSwizzler : NSObject + +/** Manipulates the Objective-C runtime to replace the original IMP with the supplied block. + * + * @param aClass The class to swizzle. + * @param selector The selector of the class to swizzle. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @param block The block that replaces the original IMP. + */ ++ (void)swizzleClass:(Class)aClass + selector:(SEL)selector + isClassSelector:(BOOL)isClassSelector + withBlock:(nullable id)block; + +/** Returns the current IMP for the given class and selector. + * + * @param aClass The class to use. + * @param selector The selector to find the implementation of. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @return The implementation of the selector in the runtime. + */ ++ (nullable IMP)currentImplementationForClass:(Class)aClass + selector:(SEL)selector + isClassSelector:(BOOL)isClassSelector; + +/** Checks the runtime to see if a selector exists on a class. If a property is declared as + * @dynamic, we have a reverse swizzling situation, where the implementation of a method exists + * only in concrete subclasses, and NOT in the superclass. We can detect that situation using + * this helper method. Similarly, we can detect situations where a class doesn't implement a + * protocol method. + * + * @param selector The selector to check for. + * @param aClass The class to check. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @return YES if the method was found in this selector/class combination, NO otherwise. + */ ++ (BOOL)selector:(SEL)selector existsInClass:(Class)aClass isClassSelector:(BOOL)isClassSelector; + +/** Returns a list of all Objective-C (and not primitive) ivars contained by the given object. + * + * @param object The object whose ivars will be iterated. + * @return The list of ivar objects. + */ ++ (NSArray *)ivarObjectsForObject:(id)object; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULUserDefaults.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULUserDefaults.h new file mode 100644 index 00000000000..83b23fa3cf2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GULUserDefaults.h @@ -0,0 +1,105 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A thread-safe user defaults that uses C functions from CFPreferences.h instead of +/// `NSUserDefaults`. This is to avoid sending an `NSNotification` when it's changed from a +/// background thread to avoid crashing. // TODO: Insert radar number here. +@interface GULUserDefaults : NSObject + +/// A shared user defaults similar to +[NSUserDefaults standardUserDefaults] and accesses the same +/// data of the standardUserDefaults. ++ (GULUserDefaults *)standardUserDefaults; + +/// Initializes preferences with a suite name that is the same with the NSUserDefaults' suite name. +/// Both of CFPreferences and NSUserDefaults share the same plist file so their data will exactly +/// the same. +/// +/// @param suiteName The name of the suite of the user defaults. +- (instancetype)initWithSuiteName:(nullable NSString *)suiteName; + +#pragma mark - Getters + +/// Searches the receiver's search list for a default with the key 'defaultName' and return it. If +/// another process has changed defaults in the search list, NSUserDefaults will automatically +/// update to the latest values. If the key in question has been marked as ubiquitous via a Defaults +/// Configuration File, the latest value may not be immediately available, and the registered value +/// will be returned instead. +- (nullable id)objectForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value is not an NSArray. +- (nullable NSArray *)arrayForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value +/// is not an NSDictionary. +- (nullable NSDictionary *)dictionaryForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will convert NSNumber values to their NSString +/// representation. If a non-string non-number value is found, nil will be returned. +- (nullable NSString *)stringForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to an NSInteger. If the +/// value is an NSNumber, the result of -integerValue will be returned. If the value is an NSString, +/// it will be converted to NSInteger if possible. If the value is a boolean, it will be converted +/// to either 1 for YES or 0 for NO. If the value is absent or can't be converted to an integer, 0 +/// will be returned. +- (NSInteger)integerForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a float, and boolean values will not be +/// converted. +- (float)floatForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a double, and boolean values will not be +/// converted. +- (double)doubleForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to a BOOL. If the value +/// is an NSNumber, NO will be returned if the value is 0, YES otherwise. If the value is an +/// NSString, values of "YES" or "1" will return YES, and values of "NO", "0", or any other string +/// will return NO. If the value is absent or can't be converted to a BOOL, NO will be returned. +- (BOOL)boolForKey:(NSString *)defaultName; + +#pragma mark - Setters + +/// Immediately stores a value (or removes the value if `nil` is passed as the value) for the +/// provided key in the search list entry for the receiver's suite name in the current user and any +/// host, then asynchronously stores the value persistently, where it is made available to other +/// processes. +- (void)setObject:(nullable id)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a float to an NSNumber. +- (void)setFloat:(float)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a double to an +/// NSNumber. +- (void)setDouble:(double)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from an NSInteger to an +/// NSNumber. +- (void)setInteger:(NSInteger)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a BOOL to an NSNumber. +- (void)setBool:(BOOL)value forKey:(NSString *)defaultName; + +#pragma mark - Removing Defaults + +/// Equivalent to -[... setObject:nil forKey:defaultName] +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GoogleUtilities-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GoogleUtilities-umbrella.h new file mode 100644 index 00000000000..62026dfbaaa --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Headers/GoogleUtilities-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "GULAppDelegateSwizzler.h" +#import "GULApplication.h" +#import "GULSceneDelegateSwizzler.h" +#import "GULAppEnvironmentUtil.h" +#import "GULKeychainStorage.h" +#import "GULKeychainUtils.h" +#import "GULNetworkInfo.h" +#import "GULLogger.h" +#import "GULLoggerLevel.h" +#import "GULOriginalIMPConvenienceMacros.h" +#import "GULSwizzler.h" +#import "GULNSData+zlib.h" +#import "GULMutableDictionary.h" +#import "GULNetwork.h" +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkMessageCode.h" +#import "GULNetworkURLSession.h" +#import "GULReachabilityChecker.h" +#import "GULUserDefaults.h" + +FOUNDATION_EXPORT double GoogleUtilitiesVersionNumber; +FOUNDATION_EXPORT const unsigned char GoogleUtilitiesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..29a2d1d239b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module GoogleUtilities { +umbrella header "GoogleUtilities-umbrella.h" +export * +module * { export * } + link framework "Security" + link framework "SystemConfiguration" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Resources/GoogleUtilities_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Resources/GoogleUtilities_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..d2be77a6257 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Resources/GoogleUtilities_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,46 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.GoogleUtilities-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleUtilities_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 8.0.2 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Resources/GoogleUtilities_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Resources/GoogleUtilities_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1c9e1a6644e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Resources/GoogleUtilities_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + C56D.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..ba875373f26 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleUtilities + CFBundleIdentifier + org.cocoapods.GoogleUtilities + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleUtilities + CFBundlePackageType + FMWK + CFBundleShortVersionString + 8.0.2 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/macos-arm64_x86_64/GoogleUtilities.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/GoogleUtilities b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/GoogleUtilities new file mode 100644 index 00000000000..451e88872b6 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/GoogleUtilities differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..ef66186ca50 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1c9e1a6644e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + C56D.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h new file mode 100644 index 00000000000..58dec4927ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h @@ -0,0 +1,107 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULApplication.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULAppDelegateInterceptorID; + +/** This class contains methods that isa swizzle the app delegate. */ +@interface GULAppDelegateSwizzler : NSProxy + +/** Registers an app delegate interceptor whose methods will be invoked as they're invoked on the + * original app delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULAppDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULAppDelegateInterceptorID)registerAppDelegateInterceptor: + (id)interceptor; + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterAppDelegateInterceptorWithID:(GULAppDelegateInterceptorID)interceptorID; + +/** This method ensures that the original app delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the app delegate once). + * + * This method doesn't proxy APNS related methods: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * To proxy these methods use +[GULAppDelegateSwizzler + * proxyOriginalDelegateIncludingAPNSMethods]. The methods have to be proxied separately to + * avoid potential warnings from Apple review about missing Push Notification Entitlement (e.g. + * https://github.com/firebase/firebase-ios-sdk/issues/2807) + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegateIncludingAPNSMethods + */ ++ (void)proxyOriginalDelegate; + +/** This method ensures that the original app delegate has been proxied including APNS related + * methods. Call this before registering your interceptor. This method is safe to call multiple + * times (but it only proxies the app delegate once) or + * after +[GULAppDelegateSwizzler proxyOriginalDelegate] + * + * This method calls +[GULAppDelegateSwizzler proxyOriginalDelegate] under the hood. + * After calling this method the following App Delegate methods will be proxied in addition to + * the methods proxied by proxyOriginalDelegate: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegate + */ ++ (void)proxyOriginalDelegateIncludingAPNSMethods; + +/** Indicates whether app delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if AppDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isAppDelegateProxyEnabled; + +/** Returns the current sharedApplication. + * + * @return the current application instance if in an app, or nil if in extension or if it doesn't + * exist. + */ ++ (nullable GULApplication *)sharedApplication; + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +NS_ASSUME_NONNULL_END + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h new file mode 100644 index 00000000000..dbce363113a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface GULAppEnvironmentUtil : NSObject + +/// Indicates whether the app is from Apple Store or not. Returns NO if the app is on simulator, +/// development environment or sideloaded. ++ (BOOL)isFromAppStore; + +/// Indicates whether the app is a Testflight app. Returns YES if the app has sandbox receipt. +/// Returns NO otherwise. ++ (BOOL)isAppStoreReceiptSandbox; + +/// Indicates whether the app is on simulator or not at runtime depending on the device +/// architecture. ++ (BOOL)isSimulator; + +/// The current device model. Returns an empty string if device model cannot be retrieved. ++ (nullable NSString *)deviceModel; + +/// The current device model, with simulator-specific values. Returns an empty string if device +/// model cannot be retrieved. ++ (nullable NSString *)deviceSimulatorModel; + +/// The current operating system version. Returns an empty string if the system version cannot be +/// retrieved. ++ (NSString *)systemVersion; + +/// Indicates whether it is running inside an extension or an app. ++ (BOOL)isAppExtension; + +/// @return An Apple platform. Possible values "ios", "tvos", "macos", "watchos", "maccatalyst", and +/// "visionos". ++ (NSString *)applePlatform; + +/// @return An Apple Device platform. Same possible values as `applePlatform`, with the addition of +/// "ipados". ++ (NSString *)appleDevicePlatform; + +/// @return The way the library was added to the app, e.g. "swiftpm", "cocoapods", etc. ++ (NSString *)deploymentType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULApplication.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULApplication.h new file mode 100644 index 00000000000..9311a175b99 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULApplication.h @@ -0,0 +1,50 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_VISION + +#import + +#define GULApplication UIApplication +#define GULApplicationDelegate UIApplicationDelegate +#define GULUserActivityRestoring UIUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"UIApplication"; + +#elif TARGET_OS_OSX + +#import + +#define GULApplication NSApplication +#define GULApplicationDelegate NSApplicationDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"NSApplication"; + +#elif TARGET_OS_WATCH + +#import + +// We match the according watchOS API but swizzling should not work in watch +#define GULApplication WKExtension +#define GULApplicationDelegate WKExtensionDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"WKExtension"; + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULKeychainStorage.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULKeychainStorage.h new file mode 100644 index 00000000000..eb90ea34dee --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULKeychainStorage.h @@ -0,0 +1,84 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The class provides a convenient, multiplatform abstraction of the Keychain. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainStorage : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** Initializes the keychain storage with Keychain Service name. + * @param service A Keychain Service name that will be used to store and retrieve objects. See also + * `kSecAttrService`. + */ +- (instancetype)initWithService:(NSString *)service; + +/// Get an object by key. +/// @param key The key. +/// @param objectClass The expected object class required by `NSSecureCoding`. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain read is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object stored in +/// the keychain, or `nil` if it does not exist, is passed to the completion +/// handler. +- (void)getObjectForKey:(NSString *)key + objectClass:(Class)objectClass + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Saves the given object by the given key. +/// @param object The object to store. +/// @param key The key to store the object. If there is an existing object by the key, it will be +/// overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain write is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object written to +/// the keychain is passed to the completion handler. +- (void)setObject:(id)object + forKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Removes the object by the given key. +/// @param key The key to store the object. If there is an existing object by +/// the key, it will be overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain removal is complete. An error is passed to the +/// completion handler if the keychain removal fails. +- (void)removeObjectForKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler:(void (^)(NSError *_Nullable error))completionHandler; + +#if TARGET_OS_OSX +/// If not `nil`, then only this keychain will be used to save and read data (see +/// `kSecMatchSearchList` and `kSecUseKeychain`. It is mostly intended to be used by unit tests. +@property(nonatomic, nullable) SecKeychainRef keychainRef; +#endif // TARGET_OS_OSX + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULKeychainUtils.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULKeychainUtils.h new file mode 100644 index 00000000000..9c17356c2cc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULKeychainUtils.h @@ -0,0 +1,64 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString *const kGULKeychainUtilsErrorDomain; + +/// A collection of helper functions that abstract away common Keychain operations. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainUtils : NSObject + +/** Fetches a keychain item data matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemCopyMatching` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns Data for the first Keychain Item matching the provided query or `nil` if there is not + * such an item (`outError` will be `nil` in this case) or an error occurred. + */ ++ (nullable NSData *)getItemWithQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Stores data to a Keychain Item matching to the provided query. An existing Keychain Item + * matching the query parameters will be updated or a new will be created. + * @param item A Keychain Item data to store. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemAdd` and + * `SecItemUpdate` for details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` when data was successfully stored, `NO` otherwise. + */ ++ (BOOL)setItem:(NSData *)item + withQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Removes a Keychain Item matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemDelete` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` if the item was removed successfully or doesn't exist, `NO` otherwise. + */ ++ (BOOL)removeItemWithQuery:(NSDictionary *)query error:(NSError *_Nullable *_Nullable)outError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULLogger.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULLogger.h new file mode 100644 index 00000000000..30cc80005ec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULLogger.h @@ -0,0 +1,165 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * The services used in the logger. + * + * DEPRECATED; use NSString instead. + */ +typedef NSString *const GULLoggerService; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/// Used for other GoogleUtilities logging. +extern NSString *const kGULLogSubsystem; + +/// Initialize GULLogger. +extern void GULLoggerInitialize(void); + +/// Override log level to Debug. +void GULLoggerForceDebug(void); + +/// Gets the current `GULLoggerLevel`. +extern GULLoggerLevel GULGetLoggerLevel(void); + +/** + * Changes the default logging level of GULLoggerLevelNotice to a user-specified level. + * The default level cannot be set above GULLoggerLevelNotice if the app is running from App Store. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern void GULSetLoggerLevel(GULLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern BOOL GULIsLoggableLevel(GULLoggerLevel loggerLevel); + +/** + * Register version to include in logs. + * (required) version + */ +extern void GULLoggerRegisterVersion(NSString *version); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than GULLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the GULLoggerLevel enum values). + * (required) service name of type GULLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void GULOSLogBasic(GULLoggerLevel level, + NSString *subsystem, + NSString *category, + BOOL forceLog, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type GULLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * GULLogError(kGULLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void GULOSLogError(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogWarning(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogNotice(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogInfo(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogDebug(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +@interface GULLoggerWrapper : NSObject + +/// Objective-C wrapper for `GULOSLogBasic` to allow weak linking to `GULLogger`. +/// +/// - Parameters: +/// - level: The log level (one of the `GULLoggerLevel` enum values). +/// - subsystem: An identifier for the subsystem performing logging, e.g., `com.example.logger`. +/// - category: The category name within the `subsystem` to group related messages, e.g., +/// `[GoogleUtilities/Example]`. +/// - messageCode: The message code starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: The message to log, which may be a format string. +/// - arguments: The variable arguments list obtained from calling va_start, used when message is +/// a format string; optional if `message` is not a format string. ++ (void)logWithLevel:(GULLoggerLevel)level + subsystem:(NSString *)subsystem + category:(NSString *)category + messageCode:(NSString *)messageCode + message:(NSString *)message + arguments:(va_list)args; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULLoggerLevel.h new file mode 100644 index 00000000000..6a68eb13093 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULLoggerLevel.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by internal logging. +typedef NS_ENUM(NSInteger, GULLoggerLevel) { + /// Error level, corresponding to `OS_LOG_TYPE_ERROR`. + GULLoggerLevelError = 3, // For backwards compatibility, the enum value matches `ASL_LEVEL_ERR`. + + /// Warning level, corresponding to `OS_LOG_TYPE_DEFAULT`. + /// + /// > Note: Since OSLog doesn't have a WARNING type, this is equivalent to `GULLoggerLevelNotice`. + GULLoggerLevelWarning = 4, // For backwards compatibility, the value matches `ASL_LEVEL_WARNING`. + + /// Notice level, corresponding to `OS_LOG_TYPE_DEFAULT`. + GULLoggerLevelNotice = 5, // For backwards compatibility, the value matches `ASL_LEVEL_NOTICE`. + + /// Info level, corresponding to `OS_LOG_TYPE_INFO`. + GULLoggerLevelInfo = 6, // For backwards compatibility, the enum value matches `ASL_LEVEL_INFO`. + + /// Debug level, corresponding to `OS_LOG_TYPE_DEBUG`. + GULLoggerLevelDebug = 7, // For backwards compatibility, the value matches `ASL_LEVEL_DEBUG`. + + /// The minimum (most severe) supported logging level. + GULLoggerLevelMin = GULLoggerLevelError, + + /// The maximum (least severe) supported logging level. + GULLoggerLevelMax = GULLoggerLevelDebug +} NS_SWIFT_NAME(GoogleLoggerLevel); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULMutableDictionary.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULMutableDictionary.h new file mode 100644 index 00000000000..02f25db89c8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULMutableDictionary.h @@ -0,0 +1,50 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A mutable dictionary that provides atomic accessor and mutators. +@interface GULMutableDictionary : NSObject + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKey:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)object forKey:(id)key; + +/// Removes the object given its session ID from the dictionary. +- (void)removeObjectForKey:(id)key; + +/// Removes all objects. +- (void)removeAllObjects; + +/// Returns the number of current objects in the dictionary. +- (NSUInteger)count; + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKeyedSubscript:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)obj forKeyedSubscript:(id)key; + +/// Returns the immutable dictionary. +- (NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNSData+zlib.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNSData+zlib.h new file mode 100644 index 00000000000..f195d572aeb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNSData+zlib.h @@ -0,0 +1,53 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// This is a copy of Google Toolbox for Mac library to avoid creating an extra framework. + +// NOTE: For 64bit, none of these apis handle input sizes >32bits, they will return nil when given +// such data. To handle data of that size you really should be streaming it rather then doing it all +// in memory. + +@interface NSData (GULGzip) + +/// Returns an data as the result of decompressing the payload of |data|.The data to decompress must +/// be a gzipped payloads. ++ (nullable NSData *)gul_dataByInflatingGzippedData:(NSData *)data error:(NSError **)error; + +/// Returns an compressed data with the result of gzipping the payload of |data|. Uses the default +/// compression level. ++ (nullable NSData *)gul_dataByGzippingData:(NSData *)data error:(NSError **)error; + +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorDomain; +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorKey; // NSNumber +FOUNDATION_EXPORT NSString *const GULNSDataZlibRemainingBytesKey; // NSNumber + +typedef NS_ENUM(NSInteger, GULNSDataZlibError) { + GULNSDataZlibErrorGreaterThan32BitsToCompress = 1024, + // An internal zlib error. + // GULNSDataZlibErrorKey will contain the error value. + // NSLocalizedDescriptionKey may contain an error string from zlib. + // Look in zlib.h for list of errors. + GULNSDataZlibErrorInternal, + // There was left over data in the buffer that was not used. + // GULNSDataZlibRemainingBytesKey will contain number of remaining bytes. + GULNSDataZlibErrorDataRemaining +}; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetwork.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetwork.h new file mode 100644 index 00000000000..4c5b5f56fba --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetwork.h @@ -0,0 +1,101 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkURLSession.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Delegate protocol for GULNetwork events. +@protocol GULNetworkReachabilityDelegate + +/// Tells the delegate to handle events when the network reachability changes to connected or not +/// connected. +- (void)reachabilityDidChange; + +@end + +/// The Network component that provides network status and handles network requests and responses. +/// This is not thread safe. +/// +/// NOTE: +/// User must add FIRAnalytics handleEventsForBackgroundURLSessionID:completionHandler to the +/// AppDelegate application:handleEventsForBackgroundURLSession:completionHandler: +@interface GULNetwork : NSObject + +/// Indicates if network connectivity is available. +@property(nonatomic, readonly, getter=isNetworkConnected) BOOL networkConnected; + +/// Indicates if there are any uploads in progress. +@property(nonatomic, readonly, getter=hasUploadInProgress) BOOL uploadInProgress; + +/// An optional delegate that can be used in the event when network reachability changes. +@property(nonatomic, weak) id reachabilityDelegate; + +/// An optional delegate that can be used to log messages, warnings or errors that occur in the +/// network operations. +@property(nonatomic, weak) id loggerDelegate; + +/// Indicates whether the logger should display debug messages. +@property(nonatomic, assign) BOOL isDebugModeEnabled; + +/// The time interval in seconds for the network request to timeout. +@property(nonatomic, assign) NSTimeInterval timeoutInterval; + +/// Initializes with the default reachability host. +- (instancetype)init; + +/// Initializes with a custom reachability host. +- (instancetype)initWithReachabilityHost:(NSString *)reachabilityHost; + +/// Handles events when background session with the given ID has finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Compresses and sends a POST request with the provided data to the URL. The session will be +/// background session if usingBackgroundSession is YES. Otherwise, the POST session is default +/// session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Compresses and sends a POST request with the provided headers and data to the URL. The session +/// will be background session if usingBackgroundSession is YES. Otherwise, the POST session is +/// default session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Sends a GET request with the provided data to the URL. The session will be background session +/// if usingBackgroundSession is YES. Otherwise, the GET session is default session. Returns a +/// session ID or nil if an error occurs. +- (nullable NSString *)getURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkConstants.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkConstants.h new file mode 100644 index 00000000000..341b9745222 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkConstants.h @@ -0,0 +1,75 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Error codes in Firebase Network error domain. +/// Note: these error codes should never change. It would make it harder to decode the errors if +/// we inadvertently altered any of these codes in a future SDK version. +typedef NS_ENUM(NSInteger, GULNetworkErrorCode) { + /// Unknown error. + GULNetworkErrorCodeUnknown = 0, + /// Error occurs when the request URL is invalid. + GULErrorCodeNetworkInvalidURL = 1, + /// Error occurs when request cannot be constructed. + GULErrorCodeNetworkRequestCreation = 2, + /// Error occurs when payload cannot be compressed. + GULErrorCodeNetworkPayloadCompression = 3, + /// Error occurs when session task cannot be created. + GULErrorCodeNetworkSessionTaskCreation = 4, + /// Error occurs when there is no response. + GULErrorCodeNetworkInvalidResponse = 5 +}; + +#pragma mark - Network constants + +/// The prefix of the ID of the background session. +extern NSString *const kGULNetworkBackgroundSessionConfigIDPrefix; + +/// The sub directory to store the files of data that is being uploaded in the background. +extern NSString *const kGULNetworkApplicationSupportSubdirectory; + +/// Name of the temporary directory that stores files for background uploading. +extern NSString *const kGULNetworkTempDirectoryName; + +/// The period when the temporary uploading file can stay. +extern const NSTimeInterval kGULNetworkTempFolderExpireTime; + +/// The default network request timeout interval. +extern const NSTimeInterval kGULNetworkTimeOutInterval; + +/// The host to check the reachability of the network. +extern NSString *const kGULNetworkReachabilityHost; + +/// The key to get the error context of the UserInfo. +extern NSString *const kGULNetworkErrorContext; + +#pragma mark - Network Status Code + +extern const int kGULNetworkHTTPStatusOK; +extern const int kGULNetworkHTTPStatusNoContent; +extern const int kGULNetworkHTTPStatusCodeMultipleChoices; +extern const int kGULNetworkHTTPStatusCodeMovedPermanently; +extern const int kGULNetworkHTTPStatusCodeFound; +extern const int kGULNetworkHTTPStatusCodeNotModified; +extern const int kGULNetworkHTTPStatusCodeMovedTemporarily; +extern const int kGULNetworkHTTPStatusCodeNotFound; +extern const int kGULNetworkHTTPStatusCodeCannotAcceptTraffic; +extern const int kGULNetworkHTTPStatusCodeUnavailable; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkInfo.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkInfo.h new file mode 100644 index 00000000000..06139413a71 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkInfo.h @@ -0,0 +1,43 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The type of network that the device is running with. Values should correspond to the NetworkType +/// values in android/play/playlog/proto/clientanalytics.proto +typedef NS_ENUM(NSInteger, GULNetworkType) { + GULNetworkTypeNone = -1, + GULNetworkTypeMobile = 0, + GULNetworkTypeWIFI = 1, +}; + +/// Collection of utilities to read network status information +@interface GULNetworkInfo : NSObject + +/// Returns an enum indicating the network type. The enum values should be easily transferrable to +/// the NetworkType value in android/play/playlog/proto/clientanalytics.proto. Right now this always +/// returns None on platforms other than iOS. This should be updated in the future to return Wi-Fi +/// values for the other platforms when applicable. ++ (GULNetworkType)getNetworkType; + +/// Returns a string indicating the radio access technology used by the app. The return value will +/// be one of CTRadioAccess constants defined in +/// https://developer.apple.com/documentation/coretelephony/cttelephonynetworkinfo/radio_access_technology_constants ++ (NSString *)getNetworkRadioType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h new file mode 100644 index 00000000000..b9e93ec68cb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h @@ -0,0 +1,53 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkMessageCode.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by GULNetworkLogger. +typedef NS_ENUM(NSInteger, GULNetworkLogLevel) { + kGULNetworkLogLevelError = 3, + kGULNetworkLogLevelWarning = 4, + kGULNetworkLogLevelInfo = 6, + kGULNetworkLogLevelDebug = 7, +}; + +@protocol GULNetworkLoggerDelegate + +@required +/// Tells the delegate to log a message with an array of contexts and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + contexts:(NSArray *)contexts; + +/// Tells the delegate to log a message with a context and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + context:(id)context; + +/// Tells the delegate to log a message with the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h new file mode 100644 index 00000000000..2d45ec6e381 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h @@ -0,0 +1,51 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +// Make sure these codes do not overlap with any contained in the FIRAMessageCode enum. +typedef NS_ENUM(NSInteger, GULNetworkMessageCode) { + // GULNetwork.m + kGULNetworkMessageCodeNetwork000 = 900000, // I-NET900000 + kGULNetworkMessageCodeNetwork001 = 900001, // I-NET900001 + kGULNetworkMessageCodeNetwork002 = 900002, // I-NET900002 + kGULNetworkMessageCodeNetwork003 = 900003, // I-NET900003 + // GULNetworkURLSession.m + kGULNetworkMessageCodeURLSession000 = 901000, // I-NET901000 + kGULNetworkMessageCodeURLSession001 = 901001, // I-NET901001 + kGULNetworkMessageCodeURLSession002 = 901002, // I-NET901002 + kGULNetworkMessageCodeURLSession003 = 901003, // I-NET901003 + kGULNetworkMessageCodeURLSession004 = 901004, // I-NET901004 + kGULNetworkMessageCodeURLSession005 = 901005, // I-NET901005 + kGULNetworkMessageCodeURLSession006 = 901006, // I-NET901006 + kGULNetworkMessageCodeURLSession007 = 901007, // I-NET901007 + kGULNetworkMessageCodeURLSession008 = 901008, // I-NET901008 + kGULNetworkMessageCodeURLSession009 = 901009, // I-NET901009 + kGULNetworkMessageCodeURLSession010 = 901010, // I-NET901010 + kGULNetworkMessageCodeURLSession011 = 901011, // I-NET901011 + kGULNetworkMessageCodeURLSession012 = 901012, // I-NET901012 + kGULNetworkMessageCodeURLSession013 = 901013, // I-NET901013 + kGULNetworkMessageCodeURLSession014 = 901014, // I-NET901014 + kGULNetworkMessageCodeURLSession015 = 901015, // I-NET901015 + kGULNetworkMessageCodeURLSession016 = 901016, // I-NET901016 + kGULNetworkMessageCodeURLSession017 = 901017, // I-NET901017 + kGULNetworkMessageCodeURLSession018 = 901018, // I-NET901018 + kGULNetworkMessageCodeURLSession019 = 901019, // I-NET901019 +}; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkURLSession.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkURLSession.h new file mode 100644 index 00000000000..3f9f7f9e14d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetworkURLSession.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkLoggerProtocol.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^GULNetworkCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSError *_Nullable error); +typedef void (^GULNetworkURLSessionCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSString *sessionID, + NSError *_Nullable error); +typedef void (^GULNetworkSystemCompletionHandler)(void); + +/// The protocol that uses NSURLSession for iOS >= 7.0 to handle requests and responses. +@interface GULNetworkURLSession : NSObject + +/// Indicates whether the background network is enabled. Default value is NO. +@property(nonatomic, getter=isBackgroundNetworkEnabled) BOOL backgroundNetworkEnabled; + +/// The logger delegate to log message, errors or warnings that occur during the network operations. +@property(nonatomic, weak, nullable) id loggerDelegate; + +/// Calls the system provided completion handler after the background session is finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Initializes with logger delegate. +- (instancetype)initWithNetworkLoggerDelegate: + (nullable id)networkLoggerDelegate NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +/// Sends an asynchronous POST request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session/connection. +- (nullable NSString *)sessionIDFromAsyncPOSTRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +/// Sends an asynchronous GET request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session. +- (nullable NSString *)sessionIDFromAsyncGETRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +NS_ASSUME_NONNULL_END +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULOriginalIMPConvenienceMacros.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULOriginalIMPConvenienceMacros.h new file mode 100644 index 00000000000..c340f85c124 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULOriginalIMPConvenienceMacros.h @@ -0,0 +1,213 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * GULOriginalIMPConvenienceMacros.h + * + * This header contains convenience macros for invoking the original IMP of a swizzled method. + */ + +/** + * Invokes original IMP when the original selector takes no arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + */ +#define GUL_INVOKE_ORIGINAL_IMP0(__receivingObject, __swizzledSEL, __returnType, __originalIMP) \ + ((__returnType(*)(id, SEL))__originalIMP)(__receivingObject, __swizzledSEL) + +/** + * Invokes original IMP when the original selector takes 1 argument. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP1(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1)))__originalIMP)(__receivingObject, __swizzledSEL, \ + __arg1) + +/** + * Invokes original IMP when the original selector takes 2 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP2(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2) + +/** + * Invokes original IMP when the original selector takes 3 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP3(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), \ + __typeof__(__arg3)))__originalIMP)(__receivingObject, __swizzledSEL, __arg1, \ + __arg2, __arg3) + +/** + * Invokes original IMP when the original selector takes 4 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP4(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4)))__originalIMP)(__receivingObject, __swizzledSEL, __arg1, \ + __arg2, __arg3, __arg4) + +/** + * Invokes original IMP when the original selector takes 5 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP5(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5) + +/** + * Invokes original IMP when the original selector takes 6 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP6(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) + +/** + * Invokes original IMP when the original selector takes 7 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP7(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) + +/** + * Invokes original IMP when the original selector takes 8 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + * @param __arg8 The eighth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP8(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7), __typeof__(__arg8)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, \ + __arg8) + +/** + * Invokes original IMP when the original selector takes 9 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + * @param __arg8 The eighth argument. + * @param __arg9 The ninth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP9(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8, \ + __arg9) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7), __typeof__(__arg8), __typeof__(__arg9)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, \ + __arg8, __arg9) + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULReachabilityChecker.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULReachabilityChecker.h new file mode 100644 index 00000000000..cac5ca3de0d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULReachabilityChecker.h @@ -0,0 +1,83 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#if !TARGET_OS_WATCH +#import +#endif + +NS_ASSUME_NONNULL_BEGIN + +/// Reachability Status +typedef enum { + kGULReachabilityUnknown, ///< Have not yet checked or been notified whether host is reachable. + kGULReachabilityNotReachable, ///< Host is not reachable. + kGULReachabilityViaWifi, ///< Host is reachable via Wifi. + kGULReachabilityViaCellular, ///< Host is reachable via cellular. +} GULReachabilityStatus; + +const NSString *GULReachabilityStatusString(GULReachabilityStatus status); + +@class GULReachabilityChecker; + +/// Google Analytics iOS Reachability Checker. +@protocol GULReachabilityDelegate +@required +/// Called when network status has changed. +- (void)reachability:(GULReachabilityChecker *)reachability + statusChanged:(GULReachabilityStatus)status; +@end + +/// Google Analytics iOS Network Status Checker. +@interface GULReachabilityChecker : NSObject + +/// The last known reachability status, or GULReachabilityStatusUnknown if the +/// checker is not active. +@property(nonatomic, readonly) GULReachabilityStatus reachabilityStatus; +/// The host to which reachability status is to be checked. +@property(nonatomic, copy, readonly) NSString *host; +/// The delegate to be notified of reachability status changes. +@property(nonatomic, weak) id reachabilityDelegate; +/// `YES` if the reachability checker is active, `NO` otherwise. +@property(nonatomic, readonly) BOOL isActive; + +/// Initialize the reachability checker. Note that you must call start to begin checking for and +/// receiving notifications about network status changes. +/// +/// @param reachabilityDelegate The delegate to be notified when reachability status to host +/// changes. +/// +/// @param host The name of the host. +/// +- (instancetype)initWithReachabilityDelegate:(id)reachabilityDelegate + withHost:(NSString *)host; + +- (instancetype)init NS_UNAVAILABLE; + +/// Start checking for reachability to the specified host. This has no effect if the status +/// checker is already checking for connectivity. +/// +/// @return `YES` if initiating status checking was successful or the status checking has already +/// been initiated, `NO` otherwise. +- (BOOL)start; + +/// Stop checking for reachability to the specified host. This has no effect if the status +/// checker is not checking for connectivity. +- (void)stop; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h new file mode 100644 index 00000000000..d6d893779fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h @@ -0,0 +1,76 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#import + +#if __has_include() +#import +#endif + +#if TARGET_OS_IOS || TARGET_OS_TV +#define UISCENE_SUPPORTED 1 +#endif + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULSceneDelegateInterceptorID; + +/** This class contains methods that isa swizzle the scene delegate. */ +@interface GULSceneDelegateSwizzler : NSProxy + +#if UISCENE_SUPPORTED + +/** Registers a scene delegate interceptor whose methods will be invoked as they're invoked on the + * original scene delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULSceneDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULSceneDelegateInterceptorID)registerSceneDelegateInterceptor: + (id)interceptor API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterSceneDelegateInterceptorWithID:(GULSceneDelegateInterceptorID)interceptorID + API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +#endif // UISCENE_SUPPORTED + +/** This method ensures that the original scene delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the scene delegate once). + * + * The method has no effect for extensions. + */ ++ (void)proxyOriginalSceneDelegate; + +/** Indicates whether scene delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if SceneDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isSceneDelegateProxyEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULSwizzler.h new file mode 100644 index 00000000000..26949c88678 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULSwizzler.h @@ -0,0 +1,71 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** This class handles the runtime manipulation necessary to instrument selectors. It stores the + * classes and selectors that have been swizzled, and runs all operations on its own queue. + */ +@interface GULSwizzler : NSObject + +/** Manipulates the Objective-C runtime to replace the original IMP with the supplied block. + * + * @param aClass The class to swizzle. + * @param selector The selector of the class to swizzle. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @param block The block that replaces the original IMP. + */ ++ (void)swizzleClass:(Class)aClass + selector:(SEL)selector + isClassSelector:(BOOL)isClassSelector + withBlock:(nullable id)block; + +/** Returns the current IMP for the given class and selector. + * + * @param aClass The class to use. + * @param selector The selector to find the implementation of. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @return The implementation of the selector in the runtime. + */ ++ (nullable IMP)currentImplementationForClass:(Class)aClass + selector:(SEL)selector + isClassSelector:(BOOL)isClassSelector; + +/** Checks the runtime to see if a selector exists on a class. If a property is declared as + * @dynamic, we have a reverse swizzling situation, where the implementation of a method exists + * only in concrete subclasses, and NOT in the superclass. We can detect that situation using + * this helper method. Similarly, we can detect situations where a class doesn't implement a + * protocol method. + * + * @param selector The selector to check for. + * @param aClass The class to check. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @return YES if the method was found in this selector/class combination, NO otherwise. + */ ++ (BOOL)selector:(SEL)selector existsInClass:(Class)aClass isClassSelector:(BOOL)isClassSelector; + +/** Returns a list of all Objective-C (and not primitive) ivars contained by the given object. + * + * @param object The object whose ivars will be iterated. + * @return The list of ivar objects. + */ ++ (NSArray *)ivarObjectsForObject:(id)object; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULUserDefaults.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULUserDefaults.h new file mode 100644 index 00000000000..83b23fa3cf2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULUserDefaults.h @@ -0,0 +1,105 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A thread-safe user defaults that uses C functions from CFPreferences.h instead of +/// `NSUserDefaults`. This is to avoid sending an `NSNotification` when it's changed from a +/// background thread to avoid crashing. // TODO: Insert radar number here. +@interface GULUserDefaults : NSObject + +/// A shared user defaults similar to +[NSUserDefaults standardUserDefaults] and accesses the same +/// data of the standardUserDefaults. ++ (GULUserDefaults *)standardUserDefaults; + +/// Initializes preferences with a suite name that is the same with the NSUserDefaults' suite name. +/// Both of CFPreferences and NSUserDefaults share the same plist file so their data will exactly +/// the same. +/// +/// @param suiteName The name of the suite of the user defaults. +- (instancetype)initWithSuiteName:(nullable NSString *)suiteName; + +#pragma mark - Getters + +/// Searches the receiver's search list for a default with the key 'defaultName' and return it. If +/// another process has changed defaults in the search list, NSUserDefaults will automatically +/// update to the latest values. If the key in question has been marked as ubiquitous via a Defaults +/// Configuration File, the latest value may not be immediately available, and the registered value +/// will be returned instead. +- (nullable id)objectForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value is not an NSArray. +- (nullable NSArray *)arrayForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value +/// is not an NSDictionary. +- (nullable NSDictionary *)dictionaryForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will convert NSNumber values to their NSString +/// representation. If a non-string non-number value is found, nil will be returned. +- (nullable NSString *)stringForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to an NSInteger. If the +/// value is an NSNumber, the result of -integerValue will be returned. If the value is an NSString, +/// it will be converted to NSInteger if possible. If the value is a boolean, it will be converted +/// to either 1 for YES or 0 for NO. If the value is absent or can't be converted to an integer, 0 +/// will be returned. +- (NSInteger)integerForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a float, and boolean values will not be +/// converted. +- (float)floatForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a double, and boolean values will not be +/// converted. +- (double)doubleForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to a BOOL. If the value +/// is an NSNumber, NO will be returned if the value is 0, YES otherwise. If the value is an +/// NSString, values of "YES" or "1" will return YES, and values of "NO", "0", or any other string +/// will return NO. If the value is absent or can't be converted to a BOOL, NO will be returned. +- (BOOL)boolForKey:(NSString *)defaultName; + +#pragma mark - Setters + +/// Immediately stores a value (or removes the value if `nil` is passed as the value) for the +/// provided key in the search list entry for the receiver's suite name in the current user and any +/// host, then asynchronously stores the value persistently, where it is made available to other +/// processes. +- (void)setObject:(nullable id)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a float to an NSNumber. +- (void)setFloat:(float)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a double to an +/// NSNumber. +- (void)setDouble:(double)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from an NSInteger to an +/// NSNumber. +- (void)setInteger:(NSInteger)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a BOOL to an NSNumber. +- (void)setBool:(BOOL)value forKey:(NSString *)defaultName; + +#pragma mark - Removing Defaults + +/// Equivalent to -[... setObject:nil forKey:defaultName] +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h new file mode 100644 index 00000000000..907b89e45fd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "GULAppDelegateSwizzler.h" +#import "GULApplication.h" +#import "GULSceneDelegateSwizzler.h" +#import "GULAppEnvironmentUtil.h" +#import "GULKeychainStorage.h" +#import "GULKeychainUtils.h" +#import "GULNetworkInfo.h" +#import "GULLogger.h" +#import "GULLoggerLevel.h" +#import "GULOriginalIMPConvenienceMacros.h" +#import "GULSwizzler.h" +#import "GULNSData+zlib.h" +#import "GULMutableDictionary.h" +#import "GULNetwork.h" +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkMessageCode.h" +#import "GULNetworkURLSession.h" +#import "GULReachabilityChecker.h" +#import "GULUserDefaults.h" + +FOUNDATION_EXPORT double GoogleUtilitiesVersionNumber; +FOUNDATION_EXPORT const unsigned char GoogleUtilitiesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Info.plist new file mode 100644 index 00000000000..5388e2eceeb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleUtilities + CFBundleIdentifier + org.cocoapods.GoogleUtilities + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleUtilities + CFBundlePackageType + FMWK + CFBundleShortVersionString + 8.0.2 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Modules/module.modulemap new file mode 100644 index 00000000000..29a2d1d239b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module GoogleUtilities { +umbrella header "GoogleUtilities-umbrella.h" +export * +module * { export * } + link framework "Security" + link framework "SystemConfiguration" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities new file mode 100644 index 00000000000..3b3a508b091 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..dc1a1d40cc7 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1c9e1a6644e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + C56D.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h new file mode 100644 index 00000000000..58dec4927ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h @@ -0,0 +1,107 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULApplication.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULAppDelegateInterceptorID; + +/** This class contains methods that isa swizzle the app delegate. */ +@interface GULAppDelegateSwizzler : NSProxy + +/** Registers an app delegate interceptor whose methods will be invoked as they're invoked on the + * original app delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULAppDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULAppDelegateInterceptorID)registerAppDelegateInterceptor: + (id)interceptor; + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterAppDelegateInterceptorWithID:(GULAppDelegateInterceptorID)interceptorID; + +/** This method ensures that the original app delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the app delegate once). + * + * This method doesn't proxy APNS related methods: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * To proxy these methods use +[GULAppDelegateSwizzler + * proxyOriginalDelegateIncludingAPNSMethods]. The methods have to be proxied separately to + * avoid potential warnings from Apple review about missing Push Notification Entitlement (e.g. + * https://github.com/firebase/firebase-ios-sdk/issues/2807) + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegateIncludingAPNSMethods + */ ++ (void)proxyOriginalDelegate; + +/** This method ensures that the original app delegate has been proxied including APNS related + * methods. Call this before registering your interceptor. This method is safe to call multiple + * times (but it only proxies the app delegate once) or + * after +[GULAppDelegateSwizzler proxyOriginalDelegate] + * + * This method calls +[GULAppDelegateSwizzler proxyOriginalDelegate] under the hood. + * After calling this method the following App Delegate methods will be proxied in addition to + * the methods proxied by proxyOriginalDelegate: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegate + */ ++ (void)proxyOriginalDelegateIncludingAPNSMethods; + +/** Indicates whether app delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if AppDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isAppDelegateProxyEnabled; + +/** Returns the current sharedApplication. + * + * @return the current application instance if in an app, or nil if in extension or if it doesn't + * exist. + */ ++ (nullable GULApplication *)sharedApplication; + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +NS_ASSUME_NONNULL_END + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h new file mode 100644 index 00000000000..dbce363113a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface GULAppEnvironmentUtil : NSObject + +/// Indicates whether the app is from Apple Store or not. Returns NO if the app is on simulator, +/// development environment or sideloaded. ++ (BOOL)isFromAppStore; + +/// Indicates whether the app is a Testflight app. Returns YES if the app has sandbox receipt. +/// Returns NO otherwise. ++ (BOOL)isAppStoreReceiptSandbox; + +/// Indicates whether the app is on simulator or not at runtime depending on the device +/// architecture. ++ (BOOL)isSimulator; + +/// The current device model. Returns an empty string if device model cannot be retrieved. ++ (nullable NSString *)deviceModel; + +/// The current device model, with simulator-specific values. Returns an empty string if device +/// model cannot be retrieved. ++ (nullable NSString *)deviceSimulatorModel; + +/// The current operating system version. Returns an empty string if the system version cannot be +/// retrieved. ++ (NSString *)systemVersion; + +/// Indicates whether it is running inside an extension or an app. ++ (BOOL)isAppExtension; + +/// @return An Apple platform. Possible values "ios", "tvos", "macos", "watchos", "maccatalyst", and +/// "visionos". ++ (NSString *)applePlatform; + +/// @return An Apple Device platform. Same possible values as `applePlatform`, with the addition of +/// "ipados". ++ (NSString *)appleDevicePlatform; + +/// @return The way the library was added to the app, e.g. "swiftpm", "cocoapods", etc. ++ (NSString *)deploymentType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULApplication.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULApplication.h new file mode 100644 index 00000000000..9311a175b99 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULApplication.h @@ -0,0 +1,50 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_VISION + +#import + +#define GULApplication UIApplication +#define GULApplicationDelegate UIApplicationDelegate +#define GULUserActivityRestoring UIUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"UIApplication"; + +#elif TARGET_OS_OSX + +#import + +#define GULApplication NSApplication +#define GULApplicationDelegate NSApplicationDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"NSApplication"; + +#elif TARGET_OS_WATCH + +#import + +// We match the according watchOS API but swizzling should not work in watch +#define GULApplication WKExtension +#define GULApplicationDelegate WKExtensionDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"WKExtension"; + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainStorage.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainStorage.h new file mode 100644 index 00000000000..eb90ea34dee --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainStorage.h @@ -0,0 +1,84 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The class provides a convenient, multiplatform abstraction of the Keychain. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainStorage : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** Initializes the keychain storage with Keychain Service name. + * @param service A Keychain Service name that will be used to store and retrieve objects. See also + * `kSecAttrService`. + */ +- (instancetype)initWithService:(NSString *)service; + +/// Get an object by key. +/// @param key The key. +/// @param objectClass The expected object class required by `NSSecureCoding`. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain read is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object stored in +/// the keychain, or `nil` if it does not exist, is passed to the completion +/// handler. +- (void)getObjectForKey:(NSString *)key + objectClass:(Class)objectClass + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Saves the given object by the given key. +/// @param object The object to store. +/// @param key The key to store the object. If there is an existing object by the key, it will be +/// overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain write is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object written to +/// the keychain is passed to the completion handler. +- (void)setObject:(id)object + forKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Removes the object by the given key. +/// @param key The key to store the object. If there is an existing object by +/// the key, it will be overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain removal is complete. An error is passed to the +/// completion handler if the keychain removal fails. +- (void)removeObjectForKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler:(void (^)(NSError *_Nullable error))completionHandler; + +#if TARGET_OS_OSX +/// If not `nil`, then only this keychain will be used to save and read data (see +/// `kSecMatchSearchList` and `kSecUseKeychain`. It is mostly intended to be used by unit tests. +@property(nonatomic, nullable) SecKeychainRef keychainRef; +#endif // TARGET_OS_OSX + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainUtils.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainUtils.h new file mode 100644 index 00000000000..9c17356c2cc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainUtils.h @@ -0,0 +1,64 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString *const kGULKeychainUtilsErrorDomain; + +/// A collection of helper functions that abstract away common Keychain operations. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainUtils : NSObject + +/** Fetches a keychain item data matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemCopyMatching` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns Data for the first Keychain Item matching the provided query or `nil` if there is not + * such an item (`outError` will be `nil` in this case) or an error occurred. + */ ++ (nullable NSData *)getItemWithQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Stores data to a Keychain Item matching to the provided query. An existing Keychain Item + * matching the query parameters will be updated or a new will be created. + * @param item A Keychain Item data to store. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemAdd` and + * `SecItemUpdate` for details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` when data was successfully stored, `NO` otherwise. + */ ++ (BOOL)setItem:(NSData *)item + withQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Removes a Keychain Item matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemDelete` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` if the item was removed successfully or doesn't exist, `NO` otherwise. + */ ++ (BOOL)removeItemWithQuery:(NSDictionary *)query error:(NSError *_Nullable *_Nullable)outError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLogger.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLogger.h new file mode 100644 index 00000000000..30cc80005ec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLogger.h @@ -0,0 +1,165 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * The services used in the logger. + * + * DEPRECATED; use NSString instead. + */ +typedef NSString *const GULLoggerService; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/// Used for other GoogleUtilities logging. +extern NSString *const kGULLogSubsystem; + +/// Initialize GULLogger. +extern void GULLoggerInitialize(void); + +/// Override log level to Debug. +void GULLoggerForceDebug(void); + +/// Gets the current `GULLoggerLevel`. +extern GULLoggerLevel GULGetLoggerLevel(void); + +/** + * Changes the default logging level of GULLoggerLevelNotice to a user-specified level. + * The default level cannot be set above GULLoggerLevelNotice if the app is running from App Store. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern void GULSetLoggerLevel(GULLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern BOOL GULIsLoggableLevel(GULLoggerLevel loggerLevel); + +/** + * Register version to include in logs. + * (required) version + */ +extern void GULLoggerRegisterVersion(NSString *version); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than GULLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the GULLoggerLevel enum values). + * (required) service name of type GULLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void GULOSLogBasic(GULLoggerLevel level, + NSString *subsystem, + NSString *category, + BOOL forceLog, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type GULLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * GULLogError(kGULLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void GULOSLogError(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogWarning(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogNotice(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogInfo(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogDebug(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +@interface GULLoggerWrapper : NSObject + +/// Objective-C wrapper for `GULOSLogBasic` to allow weak linking to `GULLogger`. +/// +/// - Parameters: +/// - level: The log level (one of the `GULLoggerLevel` enum values). +/// - subsystem: An identifier for the subsystem performing logging, e.g., `com.example.logger`. +/// - category: The category name within the `subsystem` to group related messages, e.g., +/// `[GoogleUtilities/Example]`. +/// - messageCode: The message code starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: The message to log, which may be a format string. +/// - arguments: The variable arguments list obtained from calling va_start, used when message is +/// a format string; optional if `message` is not a format string. ++ (void)logWithLevel:(GULLoggerLevel)level + subsystem:(NSString *)subsystem + category:(NSString *)category + messageCode:(NSString *)messageCode + message:(NSString *)message + arguments:(va_list)args; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLoggerLevel.h new file mode 100644 index 00000000000..6a68eb13093 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLoggerLevel.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by internal logging. +typedef NS_ENUM(NSInteger, GULLoggerLevel) { + /// Error level, corresponding to `OS_LOG_TYPE_ERROR`. + GULLoggerLevelError = 3, // For backwards compatibility, the enum value matches `ASL_LEVEL_ERR`. + + /// Warning level, corresponding to `OS_LOG_TYPE_DEFAULT`. + /// + /// > Note: Since OSLog doesn't have a WARNING type, this is equivalent to `GULLoggerLevelNotice`. + GULLoggerLevelWarning = 4, // For backwards compatibility, the value matches `ASL_LEVEL_WARNING`. + + /// Notice level, corresponding to `OS_LOG_TYPE_DEFAULT`. + GULLoggerLevelNotice = 5, // For backwards compatibility, the value matches `ASL_LEVEL_NOTICE`. + + /// Info level, corresponding to `OS_LOG_TYPE_INFO`. + GULLoggerLevelInfo = 6, // For backwards compatibility, the enum value matches `ASL_LEVEL_INFO`. + + /// Debug level, corresponding to `OS_LOG_TYPE_DEBUG`. + GULLoggerLevelDebug = 7, // For backwards compatibility, the value matches `ASL_LEVEL_DEBUG`. + + /// The minimum (most severe) supported logging level. + GULLoggerLevelMin = GULLoggerLevelError, + + /// The maximum (least severe) supported logging level. + GULLoggerLevelMax = GULLoggerLevelDebug +} NS_SWIFT_NAME(GoogleLoggerLevel); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULMutableDictionary.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULMutableDictionary.h new file mode 100644 index 00000000000..02f25db89c8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULMutableDictionary.h @@ -0,0 +1,50 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A mutable dictionary that provides atomic accessor and mutators. +@interface GULMutableDictionary : NSObject + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKey:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)object forKey:(id)key; + +/// Removes the object given its session ID from the dictionary. +- (void)removeObjectForKey:(id)key; + +/// Removes all objects. +- (void)removeAllObjects; + +/// Returns the number of current objects in the dictionary. +- (NSUInteger)count; + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKeyedSubscript:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)obj forKeyedSubscript:(id)key; + +/// Returns the immutable dictionary. +- (NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNSData+zlib.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNSData+zlib.h new file mode 100644 index 00000000000..f195d572aeb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNSData+zlib.h @@ -0,0 +1,53 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// This is a copy of Google Toolbox for Mac library to avoid creating an extra framework. + +// NOTE: For 64bit, none of these apis handle input sizes >32bits, they will return nil when given +// such data. To handle data of that size you really should be streaming it rather then doing it all +// in memory. + +@interface NSData (GULGzip) + +/// Returns an data as the result of decompressing the payload of |data|.The data to decompress must +/// be a gzipped payloads. ++ (nullable NSData *)gul_dataByInflatingGzippedData:(NSData *)data error:(NSError **)error; + +/// Returns an compressed data with the result of gzipping the payload of |data|. Uses the default +/// compression level. ++ (nullable NSData *)gul_dataByGzippingData:(NSData *)data error:(NSError **)error; + +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorDomain; +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorKey; // NSNumber +FOUNDATION_EXPORT NSString *const GULNSDataZlibRemainingBytesKey; // NSNumber + +typedef NS_ENUM(NSInteger, GULNSDataZlibError) { + GULNSDataZlibErrorGreaterThan32BitsToCompress = 1024, + // An internal zlib error. + // GULNSDataZlibErrorKey will contain the error value. + // NSLocalizedDescriptionKey may contain an error string from zlib. + // Look in zlib.h for list of errors. + GULNSDataZlibErrorInternal, + // There was left over data in the buffer that was not used. + // GULNSDataZlibRemainingBytesKey will contain number of remaining bytes. + GULNSDataZlibErrorDataRemaining +}; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetwork.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetwork.h new file mode 100644 index 00000000000..4c5b5f56fba --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetwork.h @@ -0,0 +1,101 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkURLSession.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Delegate protocol for GULNetwork events. +@protocol GULNetworkReachabilityDelegate + +/// Tells the delegate to handle events when the network reachability changes to connected or not +/// connected. +- (void)reachabilityDidChange; + +@end + +/// The Network component that provides network status and handles network requests and responses. +/// This is not thread safe. +/// +/// NOTE: +/// User must add FIRAnalytics handleEventsForBackgroundURLSessionID:completionHandler to the +/// AppDelegate application:handleEventsForBackgroundURLSession:completionHandler: +@interface GULNetwork : NSObject + +/// Indicates if network connectivity is available. +@property(nonatomic, readonly, getter=isNetworkConnected) BOOL networkConnected; + +/// Indicates if there are any uploads in progress. +@property(nonatomic, readonly, getter=hasUploadInProgress) BOOL uploadInProgress; + +/// An optional delegate that can be used in the event when network reachability changes. +@property(nonatomic, weak) id reachabilityDelegate; + +/// An optional delegate that can be used to log messages, warnings or errors that occur in the +/// network operations. +@property(nonatomic, weak) id loggerDelegate; + +/// Indicates whether the logger should display debug messages. +@property(nonatomic, assign) BOOL isDebugModeEnabled; + +/// The time interval in seconds for the network request to timeout. +@property(nonatomic, assign) NSTimeInterval timeoutInterval; + +/// Initializes with the default reachability host. +- (instancetype)init; + +/// Initializes with a custom reachability host. +- (instancetype)initWithReachabilityHost:(NSString *)reachabilityHost; + +/// Handles events when background session with the given ID has finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Compresses and sends a POST request with the provided data to the URL. The session will be +/// background session if usingBackgroundSession is YES. Otherwise, the POST session is default +/// session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Compresses and sends a POST request with the provided headers and data to the URL. The session +/// will be background session if usingBackgroundSession is YES. Otherwise, the POST session is +/// default session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Sends a GET request with the provided data to the URL. The session will be background session +/// if usingBackgroundSession is YES. Otherwise, the GET session is default session. Returns a +/// session ID or nil if an error occurs. +- (nullable NSString *)getURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkConstants.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkConstants.h new file mode 100644 index 00000000000..341b9745222 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkConstants.h @@ -0,0 +1,75 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Error codes in Firebase Network error domain. +/// Note: these error codes should never change. It would make it harder to decode the errors if +/// we inadvertently altered any of these codes in a future SDK version. +typedef NS_ENUM(NSInteger, GULNetworkErrorCode) { + /// Unknown error. + GULNetworkErrorCodeUnknown = 0, + /// Error occurs when the request URL is invalid. + GULErrorCodeNetworkInvalidURL = 1, + /// Error occurs when request cannot be constructed. + GULErrorCodeNetworkRequestCreation = 2, + /// Error occurs when payload cannot be compressed. + GULErrorCodeNetworkPayloadCompression = 3, + /// Error occurs when session task cannot be created. + GULErrorCodeNetworkSessionTaskCreation = 4, + /// Error occurs when there is no response. + GULErrorCodeNetworkInvalidResponse = 5 +}; + +#pragma mark - Network constants + +/// The prefix of the ID of the background session. +extern NSString *const kGULNetworkBackgroundSessionConfigIDPrefix; + +/// The sub directory to store the files of data that is being uploaded in the background. +extern NSString *const kGULNetworkApplicationSupportSubdirectory; + +/// Name of the temporary directory that stores files for background uploading. +extern NSString *const kGULNetworkTempDirectoryName; + +/// The period when the temporary uploading file can stay. +extern const NSTimeInterval kGULNetworkTempFolderExpireTime; + +/// The default network request timeout interval. +extern const NSTimeInterval kGULNetworkTimeOutInterval; + +/// The host to check the reachability of the network. +extern NSString *const kGULNetworkReachabilityHost; + +/// The key to get the error context of the UserInfo. +extern NSString *const kGULNetworkErrorContext; + +#pragma mark - Network Status Code + +extern const int kGULNetworkHTTPStatusOK; +extern const int kGULNetworkHTTPStatusNoContent; +extern const int kGULNetworkHTTPStatusCodeMultipleChoices; +extern const int kGULNetworkHTTPStatusCodeMovedPermanently; +extern const int kGULNetworkHTTPStatusCodeFound; +extern const int kGULNetworkHTTPStatusCodeNotModified; +extern const int kGULNetworkHTTPStatusCodeMovedTemporarily; +extern const int kGULNetworkHTTPStatusCodeNotFound; +extern const int kGULNetworkHTTPStatusCodeCannotAcceptTraffic; +extern const int kGULNetworkHTTPStatusCodeUnavailable; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkInfo.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkInfo.h new file mode 100644 index 00000000000..06139413a71 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkInfo.h @@ -0,0 +1,43 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The type of network that the device is running with. Values should correspond to the NetworkType +/// values in android/play/playlog/proto/clientanalytics.proto +typedef NS_ENUM(NSInteger, GULNetworkType) { + GULNetworkTypeNone = -1, + GULNetworkTypeMobile = 0, + GULNetworkTypeWIFI = 1, +}; + +/// Collection of utilities to read network status information +@interface GULNetworkInfo : NSObject + +/// Returns an enum indicating the network type. The enum values should be easily transferrable to +/// the NetworkType value in android/play/playlog/proto/clientanalytics.proto. Right now this always +/// returns None on platforms other than iOS. This should be updated in the future to return Wi-Fi +/// values for the other platforms when applicable. ++ (GULNetworkType)getNetworkType; + +/// Returns a string indicating the radio access technology used by the app. The return value will +/// be one of CTRadioAccess constants defined in +/// https://developer.apple.com/documentation/coretelephony/cttelephonynetworkinfo/radio_access_technology_constants ++ (NSString *)getNetworkRadioType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h new file mode 100644 index 00000000000..b9e93ec68cb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h @@ -0,0 +1,53 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkMessageCode.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by GULNetworkLogger. +typedef NS_ENUM(NSInteger, GULNetworkLogLevel) { + kGULNetworkLogLevelError = 3, + kGULNetworkLogLevelWarning = 4, + kGULNetworkLogLevelInfo = 6, + kGULNetworkLogLevelDebug = 7, +}; + +@protocol GULNetworkLoggerDelegate + +@required +/// Tells the delegate to log a message with an array of contexts and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + contexts:(NSArray *)contexts; + +/// Tells the delegate to log a message with a context and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + context:(id)context; + +/// Tells the delegate to log a message with the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h new file mode 100644 index 00000000000..2d45ec6e381 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h @@ -0,0 +1,51 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +// Make sure these codes do not overlap with any contained in the FIRAMessageCode enum. +typedef NS_ENUM(NSInteger, GULNetworkMessageCode) { + // GULNetwork.m + kGULNetworkMessageCodeNetwork000 = 900000, // I-NET900000 + kGULNetworkMessageCodeNetwork001 = 900001, // I-NET900001 + kGULNetworkMessageCodeNetwork002 = 900002, // I-NET900002 + kGULNetworkMessageCodeNetwork003 = 900003, // I-NET900003 + // GULNetworkURLSession.m + kGULNetworkMessageCodeURLSession000 = 901000, // I-NET901000 + kGULNetworkMessageCodeURLSession001 = 901001, // I-NET901001 + kGULNetworkMessageCodeURLSession002 = 901002, // I-NET901002 + kGULNetworkMessageCodeURLSession003 = 901003, // I-NET901003 + kGULNetworkMessageCodeURLSession004 = 901004, // I-NET901004 + kGULNetworkMessageCodeURLSession005 = 901005, // I-NET901005 + kGULNetworkMessageCodeURLSession006 = 901006, // I-NET901006 + kGULNetworkMessageCodeURLSession007 = 901007, // I-NET901007 + kGULNetworkMessageCodeURLSession008 = 901008, // I-NET901008 + kGULNetworkMessageCodeURLSession009 = 901009, // I-NET901009 + kGULNetworkMessageCodeURLSession010 = 901010, // I-NET901010 + kGULNetworkMessageCodeURLSession011 = 901011, // I-NET901011 + kGULNetworkMessageCodeURLSession012 = 901012, // I-NET901012 + kGULNetworkMessageCodeURLSession013 = 901013, // I-NET901013 + kGULNetworkMessageCodeURLSession014 = 901014, // I-NET901014 + kGULNetworkMessageCodeURLSession015 = 901015, // I-NET901015 + kGULNetworkMessageCodeURLSession016 = 901016, // I-NET901016 + kGULNetworkMessageCodeURLSession017 = 901017, // I-NET901017 + kGULNetworkMessageCodeURLSession018 = 901018, // I-NET901018 + kGULNetworkMessageCodeURLSession019 = 901019, // I-NET901019 +}; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkURLSession.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkURLSession.h new file mode 100644 index 00000000000..3f9f7f9e14d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkURLSession.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkLoggerProtocol.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^GULNetworkCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSError *_Nullable error); +typedef void (^GULNetworkURLSessionCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSString *sessionID, + NSError *_Nullable error); +typedef void (^GULNetworkSystemCompletionHandler)(void); + +/// The protocol that uses NSURLSession for iOS >= 7.0 to handle requests and responses. +@interface GULNetworkURLSession : NSObject + +/// Indicates whether the background network is enabled. Default value is NO. +@property(nonatomic, getter=isBackgroundNetworkEnabled) BOOL backgroundNetworkEnabled; + +/// The logger delegate to log message, errors or warnings that occur during the network operations. +@property(nonatomic, weak, nullable) id loggerDelegate; + +/// Calls the system provided completion handler after the background session is finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Initializes with logger delegate. +- (instancetype)initWithNetworkLoggerDelegate: + (nullable id)networkLoggerDelegate NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +/// Sends an asynchronous POST request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session/connection. +- (nullable NSString *)sessionIDFromAsyncPOSTRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +/// Sends an asynchronous GET request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session. +- (nullable NSString *)sessionIDFromAsyncGETRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +NS_ASSUME_NONNULL_END +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULOriginalIMPConvenienceMacros.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULOriginalIMPConvenienceMacros.h new file mode 100644 index 00000000000..c340f85c124 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULOriginalIMPConvenienceMacros.h @@ -0,0 +1,213 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * GULOriginalIMPConvenienceMacros.h + * + * This header contains convenience macros for invoking the original IMP of a swizzled method. + */ + +/** + * Invokes original IMP when the original selector takes no arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + */ +#define GUL_INVOKE_ORIGINAL_IMP0(__receivingObject, __swizzledSEL, __returnType, __originalIMP) \ + ((__returnType(*)(id, SEL))__originalIMP)(__receivingObject, __swizzledSEL) + +/** + * Invokes original IMP when the original selector takes 1 argument. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP1(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1)))__originalIMP)(__receivingObject, __swizzledSEL, \ + __arg1) + +/** + * Invokes original IMP when the original selector takes 2 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP2(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2) + +/** + * Invokes original IMP when the original selector takes 3 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP3(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), \ + __typeof__(__arg3)))__originalIMP)(__receivingObject, __swizzledSEL, __arg1, \ + __arg2, __arg3) + +/** + * Invokes original IMP when the original selector takes 4 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP4(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4)))__originalIMP)(__receivingObject, __swizzledSEL, __arg1, \ + __arg2, __arg3, __arg4) + +/** + * Invokes original IMP when the original selector takes 5 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP5(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5) + +/** + * Invokes original IMP when the original selector takes 6 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP6(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) + +/** + * Invokes original IMP when the original selector takes 7 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP7(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) + +/** + * Invokes original IMP when the original selector takes 8 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + * @param __arg8 The eighth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP8(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7), __typeof__(__arg8)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, \ + __arg8) + +/** + * Invokes original IMP when the original selector takes 9 arguments. + * + * @param __receivingObject The object on which the IMP is invoked. + * @param __swizzledSEL The selector used for swizzling. + * @param __returnType The return type of the original implementation. + * @param __originalIMP The original IMP. + * @param __arg1 The first argument. + * @param __arg2 The second argument. + * @param __arg3 The third argument. + * @param __arg4 The fourth argument. + * @param __arg5 The fifth argument. + * @param __arg6 The sixth argument. + * @param __arg7 The seventh argument. + * @param __arg8 The eighth argument. + * @param __arg9 The ninth argument. + */ +#define GUL_INVOKE_ORIGINAL_IMP9(__receivingObject, __swizzledSEL, __returnType, __originalIMP, \ + __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8, \ + __arg9) \ + ((__returnType(*)(id, SEL, __typeof__(__arg1), __typeof__(__arg2), __typeof__(__arg3), \ + __typeof__(__arg4), __typeof__(__arg5), __typeof__(__arg6), \ + __typeof__(__arg7), __typeof__(__arg8), __typeof__(__arg9)))__originalIMP)( \ + __receivingObject, __swizzledSEL, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, \ + __arg8, __arg9) + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULReachabilityChecker.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULReachabilityChecker.h new file mode 100644 index 00000000000..cac5ca3de0d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULReachabilityChecker.h @@ -0,0 +1,83 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#if !TARGET_OS_WATCH +#import +#endif + +NS_ASSUME_NONNULL_BEGIN + +/// Reachability Status +typedef enum { + kGULReachabilityUnknown, ///< Have not yet checked or been notified whether host is reachable. + kGULReachabilityNotReachable, ///< Host is not reachable. + kGULReachabilityViaWifi, ///< Host is reachable via Wifi. + kGULReachabilityViaCellular, ///< Host is reachable via cellular. +} GULReachabilityStatus; + +const NSString *GULReachabilityStatusString(GULReachabilityStatus status); + +@class GULReachabilityChecker; + +/// Google Analytics iOS Reachability Checker. +@protocol GULReachabilityDelegate +@required +/// Called when network status has changed. +- (void)reachability:(GULReachabilityChecker *)reachability + statusChanged:(GULReachabilityStatus)status; +@end + +/// Google Analytics iOS Network Status Checker. +@interface GULReachabilityChecker : NSObject + +/// The last known reachability status, or GULReachabilityStatusUnknown if the +/// checker is not active. +@property(nonatomic, readonly) GULReachabilityStatus reachabilityStatus; +/// The host to which reachability status is to be checked. +@property(nonatomic, copy, readonly) NSString *host; +/// The delegate to be notified of reachability status changes. +@property(nonatomic, weak) id reachabilityDelegate; +/// `YES` if the reachability checker is active, `NO` otherwise. +@property(nonatomic, readonly) BOOL isActive; + +/// Initialize the reachability checker. Note that you must call start to begin checking for and +/// receiving notifications about network status changes. +/// +/// @param reachabilityDelegate The delegate to be notified when reachability status to host +/// changes. +/// +/// @param host The name of the host. +/// +- (instancetype)initWithReachabilityDelegate:(id)reachabilityDelegate + withHost:(NSString *)host; + +- (instancetype)init NS_UNAVAILABLE; + +/// Start checking for reachability to the specified host. This has no effect if the status +/// checker is already checking for connectivity. +/// +/// @return `YES` if initiating status checking was successful or the status checking has already +/// been initiated, `NO` otherwise. +- (BOOL)start; + +/// Stop checking for reachability to the specified host. This has no effect if the status +/// checker is not checking for connectivity. +- (void)stop; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h new file mode 100644 index 00000000000..d6d893779fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h @@ -0,0 +1,76 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#import + +#if __has_include() +#import +#endif + +#if TARGET_OS_IOS || TARGET_OS_TV +#define UISCENE_SUPPORTED 1 +#endif + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULSceneDelegateInterceptorID; + +/** This class contains methods that isa swizzle the scene delegate. */ +@interface GULSceneDelegateSwizzler : NSProxy + +#if UISCENE_SUPPORTED + +/** Registers a scene delegate interceptor whose methods will be invoked as they're invoked on the + * original scene delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULSceneDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULSceneDelegateInterceptorID)registerSceneDelegateInterceptor: + (id)interceptor API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterSceneDelegateInterceptorWithID:(GULSceneDelegateInterceptorID)interceptorID + API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +#endif // UISCENE_SUPPORTED + +/** This method ensures that the original scene delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the scene delegate once). + * + * The method has no effect for extensions. + */ ++ (void)proxyOriginalSceneDelegate; + +/** Indicates whether scene delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if SceneDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isSceneDelegateProxyEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSwizzler.h new file mode 100644 index 00000000000..26949c88678 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSwizzler.h @@ -0,0 +1,71 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** This class handles the runtime manipulation necessary to instrument selectors. It stores the + * classes and selectors that have been swizzled, and runs all operations on its own queue. + */ +@interface GULSwizzler : NSObject + +/** Manipulates the Objective-C runtime to replace the original IMP with the supplied block. + * + * @param aClass The class to swizzle. + * @param selector The selector of the class to swizzle. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @param block The block that replaces the original IMP. + */ ++ (void)swizzleClass:(Class)aClass + selector:(SEL)selector + isClassSelector:(BOOL)isClassSelector + withBlock:(nullable id)block; + +/** Returns the current IMP for the given class and selector. + * + * @param aClass The class to use. + * @param selector The selector to find the implementation of. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @return The implementation of the selector in the runtime. + */ ++ (nullable IMP)currentImplementationForClass:(Class)aClass + selector:(SEL)selector + isClassSelector:(BOOL)isClassSelector; + +/** Checks the runtime to see if a selector exists on a class. If a property is declared as + * @dynamic, we have a reverse swizzling situation, where the implementation of a method exists + * only in concrete subclasses, and NOT in the superclass. We can detect that situation using + * this helper method. Similarly, we can detect situations where a class doesn't implement a + * protocol method. + * + * @param selector The selector to check for. + * @param aClass The class to check. + * @param isClassSelector A BOOL specifying whether the selector is a class or instance selector. + * @return YES if the method was found in this selector/class combination, NO otherwise. + */ ++ (BOOL)selector:(SEL)selector existsInClass:(Class)aClass isClassSelector:(BOOL)isClassSelector; + +/** Returns a list of all Objective-C (and not primitive) ivars contained by the given object. + * + * @param object The object whose ivars will be iterated. + * @return The list of ivar objects. + */ ++ (NSArray *)ivarObjectsForObject:(id)object; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULUserDefaults.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULUserDefaults.h new file mode 100644 index 00000000000..83b23fa3cf2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULUserDefaults.h @@ -0,0 +1,105 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A thread-safe user defaults that uses C functions from CFPreferences.h instead of +/// `NSUserDefaults`. This is to avoid sending an `NSNotification` when it's changed from a +/// background thread to avoid crashing. // TODO: Insert radar number here. +@interface GULUserDefaults : NSObject + +/// A shared user defaults similar to +[NSUserDefaults standardUserDefaults] and accesses the same +/// data of the standardUserDefaults. ++ (GULUserDefaults *)standardUserDefaults; + +/// Initializes preferences with a suite name that is the same with the NSUserDefaults' suite name. +/// Both of CFPreferences and NSUserDefaults share the same plist file so their data will exactly +/// the same. +/// +/// @param suiteName The name of the suite of the user defaults. +- (instancetype)initWithSuiteName:(nullable NSString *)suiteName; + +#pragma mark - Getters + +/// Searches the receiver's search list for a default with the key 'defaultName' and return it. If +/// another process has changed defaults in the search list, NSUserDefaults will automatically +/// update to the latest values. If the key in question has been marked as ubiquitous via a Defaults +/// Configuration File, the latest value may not be immediately available, and the registered value +/// will be returned instead. +- (nullable id)objectForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value is not an NSArray. +- (nullable NSArray *)arrayForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value +/// is not an NSDictionary. +- (nullable NSDictionary *)dictionaryForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will convert NSNumber values to their NSString +/// representation. If a non-string non-number value is found, nil will be returned. +- (nullable NSString *)stringForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to an NSInteger. If the +/// value is an NSNumber, the result of -integerValue will be returned. If the value is an NSString, +/// it will be converted to NSInteger if possible. If the value is a boolean, it will be converted +/// to either 1 for YES or 0 for NO. If the value is absent or can't be converted to an integer, 0 +/// will be returned. +- (NSInteger)integerForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a float, and boolean values will not be +/// converted. +- (float)floatForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a double, and boolean values will not be +/// converted. +- (double)doubleForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to a BOOL. If the value +/// is an NSNumber, NO will be returned if the value is 0, YES otherwise. If the value is an +/// NSString, values of "YES" or "1" will return YES, and values of "NO", "0", or any other string +/// will return NO. If the value is absent or can't be converted to a BOOL, NO will be returned. +- (BOOL)boolForKey:(NSString *)defaultName; + +#pragma mark - Setters + +/// Immediately stores a value (or removes the value if `nil` is passed as the value) for the +/// provided key in the search list entry for the receiver's suite name in the current user and any +/// host, then asynchronously stores the value persistently, where it is made available to other +/// processes. +- (void)setObject:(nullable id)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a float to an NSNumber. +- (void)setFloat:(float)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a double to an +/// NSNumber. +- (void)setDouble:(double)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from an NSInteger to an +/// NSNumber. +- (void)setInteger:(NSInteger)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a BOOL to an NSNumber. +- (void)setBool:(BOOL)value forKey:(NSString *)defaultName; + +#pragma mark - Removing Defaults + +/// Equivalent to -[... setObject:nil forKey:defaultName] +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h new file mode 100644 index 00000000000..907b89e45fd --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h @@ -0,0 +1,36 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "GULAppDelegateSwizzler.h" +#import "GULApplication.h" +#import "GULSceneDelegateSwizzler.h" +#import "GULAppEnvironmentUtil.h" +#import "GULKeychainStorage.h" +#import "GULKeychainUtils.h" +#import "GULNetworkInfo.h" +#import "GULLogger.h" +#import "GULLoggerLevel.h" +#import "GULOriginalIMPConvenienceMacros.h" +#import "GULSwizzler.h" +#import "GULNSData+zlib.h" +#import "GULMutableDictionary.h" +#import "GULNetwork.h" +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkMessageCode.h" +#import "GULNetworkURLSession.h" +#import "GULReachabilityChecker.h" +#import "GULUserDefaults.h" + +FOUNDATION_EXPORT double GoogleUtilitiesVersionNumber; +FOUNDATION_EXPORT const unsigned char GoogleUtilitiesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Info.plist new file mode 100644 index 00000000000..1ffbc5e0f9b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleUtilities + CFBundleIdentifier + org.cocoapods.GoogleUtilities + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleUtilities + CFBundlePackageType + FMWK + CFBundleShortVersionString + 8.0.2 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Modules/module.modulemap new file mode 100644 index 00000000000..29a2d1d239b --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/tvos-arm64_x86_64-simulator/GoogleUtilities.framework/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module GoogleUtilities { +umbrella header "GoogleUtilities-umbrella.h" +export * +module * { export * } + link framework "Security" + link framework "SystemConfiguration" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/GoogleUtilities b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/GoogleUtilities new file mode 100644 index 00000000000..b18b2881043 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/GoogleUtilities differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..79d9e1042f4 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1c9e1a6644e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + C56D.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h new file mode 100644 index 00000000000..58dec4927ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h @@ -0,0 +1,107 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULApplication.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULAppDelegateInterceptorID; + +/** This class contains methods that isa swizzle the app delegate. */ +@interface GULAppDelegateSwizzler : NSProxy + +/** Registers an app delegate interceptor whose methods will be invoked as they're invoked on the + * original app delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULAppDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULAppDelegateInterceptorID)registerAppDelegateInterceptor: + (id)interceptor; + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterAppDelegateInterceptorWithID:(GULAppDelegateInterceptorID)interceptorID; + +/** This method ensures that the original app delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the app delegate once). + * + * This method doesn't proxy APNS related methods: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * To proxy these methods use +[GULAppDelegateSwizzler + * proxyOriginalDelegateIncludingAPNSMethods]. The methods have to be proxied separately to + * avoid potential warnings from Apple review about missing Push Notification Entitlement (e.g. + * https://github.com/firebase/firebase-ios-sdk/issues/2807) + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegateIncludingAPNSMethods + */ ++ (void)proxyOriginalDelegate; + +/** This method ensures that the original app delegate has been proxied including APNS related + * methods. Call this before registering your interceptor. This method is safe to call multiple + * times (but it only proxies the app delegate once) or + * after +[GULAppDelegateSwizzler proxyOriginalDelegate] + * + * This method calls +[GULAppDelegateSwizzler proxyOriginalDelegate] under the hood. + * After calling this method the following App Delegate methods will be proxied in addition to + * the methods proxied by proxyOriginalDelegate: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegate + */ ++ (void)proxyOriginalDelegateIncludingAPNSMethods; + +/** Indicates whether app delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if AppDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isAppDelegateProxyEnabled; + +/** Returns the current sharedApplication. + * + * @return the current application instance if in an app, or nil if in extension or if it doesn't + * exist. + */ ++ (nullable GULApplication *)sharedApplication; + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +NS_ASSUME_NONNULL_END + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h new file mode 100644 index 00000000000..dbce363113a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface GULAppEnvironmentUtil : NSObject + +/// Indicates whether the app is from Apple Store or not. Returns NO if the app is on simulator, +/// development environment or sideloaded. ++ (BOOL)isFromAppStore; + +/// Indicates whether the app is a Testflight app. Returns YES if the app has sandbox receipt. +/// Returns NO otherwise. ++ (BOOL)isAppStoreReceiptSandbox; + +/// Indicates whether the app is on simulator or not at runtime depending on the device +/// architecture. ++ (BOOL)isSimulator; + +/// The current device model. Returns an empty string if device model cannot be retrieved. ++ (nullable NSString *)deviceModel; + +/// The current device model, with simulator-specific values. Returns an empty string if device +/// model cannot be retrieved. ++ (nullable NSString *)deviceSimulatorModel; + +/// The current operating system version. Returns an empty string if the system version cannot be +/// retrieved. ++ (NSString *)systemVersion; + +/// Indicates whether it is running inside an extension or an app. ++ (BOOL)isAppExtension; + +/// @return An Apple platform. Possible values "ios", "tvos", "macos", "watchos", "maccatalyst", and +/// "visionos". ++ (NSString *)applePlatform; + +/// @return An Apple Device platform. Same possible values as `applePlatform`, with the addition of +/// "ipados". ++ (NSString *)appleDevicePlatform; + +/// @return The way the library was added to the app, e.g. "swiftpm", "cocoapods", etc. ++ (NSString *)deploymentType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULApplication.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULApplication.h new file mode 100644 index 00000000000..9311a175b99 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULApplication.h @@ -0,0 +1,50 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_VISION + +#import + +#define GULApplication UIApplication +#define GULApplicationDelegate UIApplicationDelegate +#define GULUserActivityRestoring UIUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"UIApplication"; + +#elif TARGET_OS_OSX + +#import + +#define GULApplication NSApplication +#define GULApplicationDelegate NSApplicationDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"NSApplication"; + +#elif TARGET_OS_WATCH + +#import + +// We match the according watchOS API but swizzling should not work in watch +#define GULApplication WKExtension +#define GULApplicationDelegate WKExtensionDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"WKExtension"; + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULKeychainStorage.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULKeychainStorage.h new file mode 100644 index 00000000000..eb90ea34dee --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULKeychainStorage.h @@ -0,0 +1,84 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The class provides a convenient, multiplatform abstraction of the Keychain. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainStorage : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** Initializes the keychain storage with Keychain Service name. + * @param service A Keychain Service name that will be used to store and retrieve objects. See also + * `kSecAttrService`. + */ +- (instancetype)initWithService:(NSString *)service; + +/// Get an object by key. +/// @param key The key. +/// @param objectClass The expected object class required by `NSSecureCoding`. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain read is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object stored in +/// the keychain, or `nil` if it does not exist, is passed to the completion +/// handler. +- (void)getObjectForKey:(NSString *)key + objectClass:(Class)objectClass + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Saves the given object by the given key. +/// @param object The object to store. +/// @param key The key to store the object. If there is an existing object by the key, it will be +/// overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain write is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object written to +/// the keychain is passed to the completion handler. +- (void)setObject:(id)object + forKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Removes the object by the given key. +/// @param key The key to store the object. If there is an existing object by +/// the key, it will be overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain removal is complete. An error is passed to the +/// completion handler if the keychain removal fails. +- (void)removeObjectForKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler:(void (^)(NSError *_Nullable error))completionHandler; + +#if TARGET_OS_OSX +/// If not `nil`, then only this keychain will be used to save and read data (see +/// `kSecMatchSearchList` and `kSecUseKeychain`. It is mostly intended to be used by unit tests. +@property(nonatomic, nullable) SecKeychainRef keychainRef; +#endif // TARGET_OS_OSX + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULKeychainUtils.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULKeychainUtils.h new file mode 100644 index 00000000000..9c17356c2cc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULKeychainUtils.h @@ -0,0 +1,64 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString *const kGULKeychainUtilsErrorDomain; + +/// A collection of helper functions that abstract away common Keychain operations. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainUtils : NSObject + +/** Fetches a keychain item data matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemCopyMatching` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns Data for the first Keychain Item matching the provided query or `nil` if there is not + * such an item (`outError` will be `nil` in this case) or an error occurred. + */ ++ (nullable NSData *)getItemWithQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Stores data to a Keychain Item matching to the provided query. An existing Keychain Item + * matching the query parameters will be updated or a new will be created. + * @param item A Keychain Item data to store. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemAdd` and + * `SecItemUpdate` for details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` when data was successfully stored, `NO` otherwise. + */ ++ (BOOL)setItem:(NSData *)item + withQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Removes a Keychain Item matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemDelete` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` if the item was removed successfully or doesn't exist, `NO` otherwise. + */ ++ (BOOL)removeItemWithQuery:(NSDictionary *)query error:(NSError *_Nullable *_Nullable)outError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULLogger.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULLogger.h new file mode 100644 index 00000000000..30cc80005ec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULLogger.h @@ -0,0 +1,165 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * The services used in the logger. + * + * DEPRECATED; use NSString instead. + */ +typedef NSString *const GULLoggerService; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/// Used for other GoogleUtilities logging. +extern NSString *const kGULLogSubsystem; + +/// Initialize GULLogger. +extern void GULLoggerInitialize(void); + +/// Override log level to Debug. +void GULLoggerForceDebug(void); + +/// Gets the current `GULLoggerLevel`. +extern GULLoggerLevel GULGetLoggerLevel(void); + +/** + * Changes the default logging level of GULLoggerLevelNotice to a user-specified level. + * The default level cannot be set above GULLoggerLevelNotice if the app is running from App Store. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern void GULSetLoggerLevel(GULLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern BOOL GULIsLoggableLevel(GULLoggerLevel loggerLevel); + +/** + * Register version to include in logs. + * (required) version + */ +extern void GULLoggerRegisterVersion(NSString *version); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than GULLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the GULLoggerLevel enum values). + * (required) service name of type GULLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void GULOSLogBasic(GULLoggerLevel level, + NSString *subsystem, + NSString *category, + BOOL forceLog, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type GULLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * GULLogError(kGULLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void GULOSLogError(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogWarning(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogNotice(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogInfo(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogDebug(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +@interface GULLoggerWrapper : NSObject + +/// Objective-C wrapper for `GULOSLogBasic` to allow weak linking to `GULLogger`. +/// +/// - Parameters: +/// - level: The log level (one of the `GULLoggerLevel` enum values). +/// - subsystem: An identifier for the subsystem performing logging, e.g., `com.example.logger`. +/// - category: The category name within the `subsystem` to group related messages, e.g., +/// `[GoogleUtilities/Example]`. +/// - messageCode: The message code starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: The message to log, which may be a format string. +/// - arguments: The variable arguments list obtained from calling va_start, used when message is +/// a format string; optional if `message` is not a format string. ++ (void)logWithLevel:(GULLoggerLevel)level + subsystem:(NSString *)subsystem + category:(NSString *)category + messageCode:(NSString *)messageCode + message:(NSString *)message + arguments:(va_list)args; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULLoggerLevel.h new file mode 100644 index 00000000000..6a68eb13093 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULLoggerLevel.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by internal logging. +typedef NS_ENUM(NSInteger, GULLoggerLevel) { + /// Error level, corresponding to `OS_LOG_TYPE_ERROR`. + GULLoggerLevelError = 3, // For backwards compatibility, the enum value matches `ASL_LEVEL_ERR`. + + /// Warning level, corresponding to `OS_LOG_TYPE_DEFAULT`. + /// + /// > Note: Since OSLog doesn't have a WARNING type, this is equivalent to `GULLoggerLevelNotice`. + GULLoggerLevelWarning = 4, // For backwards compatibility, the value matches `ASL_LEVEL_WARNING`. + + /// Notice level, corresponding to `OS_LOG_TYPE_DEFAULT`. + GULLoggerLevelNotice = 5, // For backwards compatibility, the value matches `ASL_LEVEL_NOTICE`. + + /// Info level, corresponding to `OS_LOG_TYPE_INFO`. + GULLoggerLevelInfo = 6, // For backwards compatibility, the enum value matches `ASL_LEVEL_INFO`. + + /// Debug level, corresponding to `OS_LOG_TYPE_DEBUG`. + GULLoggerLevelDebug = 7, // For backwards compatibility, the value matches `ASL_LEVEL_DEBUG`. + + /// The minimum (most severe) supported logging level. + GULLoggerLevelMin = GULLoggerLevelError, + + /// The maximum (least severe) supported logging level. + GULLoggerLevelMax = GULLoggerLevelDebug +} NS_SWIFT_NAME(GoogleLoggerLevel); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULMutableDictionary.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULMutableDictionary.h new file mode 100644 index 00000000000..02f25db89c8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULMutableDictionary.h @@ -0,0 +1,50 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A mutable dictionary that provides atomic accessor and mutators. +@interface GULMutableDictionary : NSObject + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKey:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)object forKey:(id)key; + +/// Removes the object given its session ID from the dictionary. +- (void)removeObjectForKey:(id)key; + +/// Removes all objects. +- (void)removeAllObjects; + +/// Returns the number of current objects in the dictionary. +- (NSUInteger)count; + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKeyedSubscript:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)obj forKeyedSubscript:(id)key; + +/// Returns the immutable dictionary. +- (NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNSData+zlib.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNSData+zlib.h new file mode 100644 index 00000000000..f195d572aeb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNSData+zlib.h @@ -0,0 +1,53 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// This is a copy of Google Toolbox for Mac library to avoid creating an extra framework. + +// NOTE: For 64bit, none of these apis handle input sizes >32bits, they will return nil when given +// such data. To handle data of that size you really should be streaming it rather then doing it all +// in memory. + +@interface NSData (GULGzip) + +/// Returns an data as the result of decompressing the payload of |data|.The data to decompress must +/// be a gzipped payloads. ++ (nullable NSData *)gul_dataByInflatingGzippedData:(NSData *)data error:(NSError **)error; + +/// Returns an compressed data with the result of gzipping the payload of |data|. Uses the default +/// compression level. ++ (nullable NSData *)gul_dataByGzippingData:(NSData *)data error:(NSError **)error; + +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorDomain; +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorKey; // NSNumber +FOUNDATION_EXPORT NSString *const GULNSDataZlibRemainingBytesKey; // NSNumber + +typedef NS_ENUM(NSInteger, GULNSDataZlibError) { + GULNSDataZlibErrorGreaterThan32BitsToCompress = 1024, + // An internal zlib error. + // GULNSDataZlibErrorKey will contain the error value. + // NSLocalizedDescriptionKey may contain an error string from zlib. + // Look in zlib.h for list of errors. + GULNSDataZlibErrorInternal, + // There was left over data in the buffer that was not used. + // GULNSDataZlibRemainingBytesKey will contain number of remaining bytes. + GULNSDataZlibErrorDataRemaining +}; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetwork.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetwork.h new file mode 100644 index 00000000000..4c5b5f56fba --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetwork.h @@ -0,0 +1,101 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkURLSession.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Delegate protocol for GULNetwork events. +@protocol GULNetworkReachabilityDelegate + +/// Tells the delegate to handle events when the network reachability changes to connected or not +/// connected. +- (void)reachabilityDidChange; + +@end + +/// The Network component that provides network status and handles network requests and responses. +/// This is not thread safe. +/// +/// NOTE: +/// User must add FIRAnalytics handleEventsForBackgroundURLSessionID:completionHandler to the +/// AppDelegate application:handleEventsForBackgroundURLSession:completionHandler: +@interface GULNetwork : NSObject + +/// Indicates if network connectivity is available. +@property(nonatomic, readonly, getter=isNetworkConnected) BOOL networkConnected; + +/// Indicates if there are any uploads in progress. +@property(nonatomic, readonly, getter=hasUploadInProgress) BOOL uploadInProgress; + +/// An optional delegate that can be used in the event when network reachability changes. +@property(nonatomic, weak) id reachabilityDelegate; + +/// An optional delegate that can be used to log messages, warnings or errors that occur in the +/// network operations. +@property(nonatomic, weak) id loggerDelegate; + +/// Indicates whether the logger should display debug messages. +@property(nonatomic, assign) BOOL isDebugModeEnabled; + +/// The time interval in seconds for the network request to timeout. +@property(nonatomic, assign) NSTimeInterval timeoutInterval; + +/// Initializes with the default reachability host. +- (instancetype)init; + +/// Initializes with a custom reachability host. +- (instancetype)initWithReachabilityHost:(NSString *)reachabilityHost; + +/// Handles events when background session with the given ID has finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Compresses and sends a POST request with the provided data to the URL. The session will be +/// background session if usingBackgroundSession is YES. Otherwise, the POST session is default +/// session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Compresses and sends a POST request with the provided headers and data to the URL. The session +/// will be background session if usingBackgroundSession is YES. Otherwise, the POST session is +/// default session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Sends a GET request with the provided data to the URL. The session will be background session +/// if usingBackgroundSession is YES. Otherwise, the GET session is default session. Returns a +/// session ID or nil if an error occurs. +- (nullable NSString *)getURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkConstants.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkConstants.h new file mode 100644 index 00000000000..341b9745222 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkConstants.h @@ -0,0 +1,75 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Error codes in Firebase Network error domain. +/// Note: these error codes should never change. It would make it harder to decode the errors if +/// we inadvertently altered any of these codes in a future SDK version. +typedef NS_ENUM(NSInteger, GULNetworkErrorCode) { + /// Unknown error. + GULNetworkErrorCodeUnknown = 0, + /// Error occurs when the request URL is invalid. + GULErrorCodeNetworkInvalidURL = 1, + /// Error occurs when request cannot be constructed. + GULErrorCodeNetworkRequestCreation = 2, + /// Error occurs when payload cannot be compressed. + GULErrorCodeNetworkPayloadCompression = 3, + /// Error occurs when session task cannot be created. + GULErrorCodeNetworkSessionTaskCreation = 4, + /// Error occurs when there is no response. + GULErrorCodeNetworkInvalidResponse = 5 +}; + +#pragma mark - Network constants + +/// The prefix of the ID of the background session. +extern NSString *const kGULNetworkBackgroundSessionConfigIDPrefix; + +/// The sub directory to store the files of data that is being uploaded in the background. +extern NSString *const kGULNetworkApplicationSupportSubdirectory; + +/// Name of the temporary directory that stores files for background uploading. +extern NSString *const kGULNetworkTempDirectoryName; + +/// The period when the temporary uploading file can stay. +extern const NSTimeInterval kGULNetworkTempFolderExpireTime; + +/// The default network request timeout interval. +extern const NSTimeInterval kGULNetworkTimeOutInterval; + +/// The host to check the reachability of the network. +extern NSString *const kGULNetworkReachabilityHost; + +/// The key to get the error context of the UserInfo. +extern NSString *const kGULNetworkErrorContext; + +#pragma mark - Network Status Code + +extern const int kGULNetworkHTTPStatusOK; +extern const int kGULNetworkHTTPStatusNoContent; +extern const int kGULNetworkHTTPStatusCodeMultipleChoices; +extern const int kGULNetworkHTTPStatusCodeMovedPermanently; +extern const int kGULNetworkHTTPStatusCodeFound; +extern const int kGULNetworkHTTPStatusCodeNotModified; +extern const int kGULNetworkHTTPStatusCodeMovedTemporarily; +extern const int kGULNetworkHTTPStatusCodeNotFound; +extern const int kGULNetworkHTTPStatusCodeCannotAcceptTraffic; +extern const int kGULNetworkHTTPStatusCodeUnavailable; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkInfo.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkInfo.h new file mode 100644 index 00000000000..06139413a71 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkInfo.h @@ -0,0 +1,43 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The type of network that the device is running with. Values should correspond to the NetworkType +/// values in android/play/playlog/proto/clientanalytics.proto +typedef NS_ENUM(NSInteger, GULNetworkType) { + GULNetworkTypeNone = -1, + GULNetworkTypeMobile = 0, + GULNetworkTypeWIFI = 1, +}; + +/// Collection of utilities to read network status information +@interface GULNetworkInfo : NSObject + +/// Returns an enum indicating the network type. The enum values should be easily transferrable to +/// the NetworkType value in android/play/playlog/proto/clientanalytics.proto. Right now this always +/// returns None on platforms other than iOS. This should be updated in the future to return Wi-Fi +/// values for the other platforms when applicable. ++ (GULNetworkType)getNetworkType; + +/// Returns a string indicating the radio access technology used by the app. The return value will +/// be one of CTRadioAccess constants defined in +/// https://developer.apple.com/documentation/coretelephony/cttelephonynetworkinfo/radio_access_technology_constants ++ (NSString *)getNetworkRadioType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h new file mode 100644 index 00000000000..b9e93ec68cb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h @@ -0,0 +1,53 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkMessageCode.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by GULNetworkLogger. +typedef NS_ENUM(NSInteger, GULNetworkLogLevel) { + kGULNetworkLogLevelError = 3, + kGULNetworkLogLevelWarning = 4, + kGULNetworkLogLevelInfo = 6, + kGULNetworkLogLevelDebug = 7, +}; + +@protocol GULNetworkLoggerDelegate + +@required +/// Tells the delegate to log a message with an array of contexts and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + contexts:(NSArray *)contexts; + +/// Tells the delegate to log a message with a context and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + context:(id)context; + +/// Tells the delegate to log a message with the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h new file mode 100644 index 00000000000..2d45ec6e381 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h @@ -0,0 +1,51 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +// Make sure these codes do not overlap with any contained in the FIRAMessageCode enum. +typedef NS_ENUM(NSInteger, GULNetworkMessageCode) { + // GULNetwork.m + kGULNetworkMessageCodeNetwork000 = 900000, // I-NET900000 + kGULNetworkMessageCodeNetwork001 = 900001, // I-NET900001 + kGULNetworkMessageCodeNetwork002 = 900002, // I-NET900002 + kGULNetworkMessageCodeNetwork003 = 900003, // I-NET900003 + // GULNetworkURLSession.m + kGULNetworkMessageCodeURLSession000 = 901000, // I-NET901000 + kGULNetworkMessageCodeURLSession001 = 901001, // I-NET901001 + kGULNetworkMessageCodeURLSession002 = 901002, // I-NET901002 + kGULNetworkMessageCodeURLSession003 = 901003, // I-NET901003 + kGULNetworkMessageCodeURLSession004 = 901004, // I-NET901004 + kGULNetworkMessageCodeURLSession005 = 901005, // I-NET901005 + kGULNetworkMessageCodeURLSession006 = 901006, // I-NET901006 + kGULNetworkMessageCodeURLSession007 = 901007, // I-NET901007 + kGULNetworkMessageCodeURLSession008 = 901008, // I-NET901008 + kGULNetworkMessageCodeURLSession009 = 901009, // I-NET901009 + kGULNetworkMessageCodeURLSession010 = 901010, // I-NET901010 + kGULNetworkMessageCodeURLSession011 = 901011, // I-NET901011 + kGULNetworkMessageCodeURLSession012 = 901012, // I-NET901012 + kGULNetworkMessageCodeURLSession013 = 901013, // I-NET901013 + kGULNetworkMessageCodeURLSession014 = 901014, // I-NET901014 + kGULNetworkMessageCodeURLSession015 = 901015, // I-NET901015 + kGULNetworkMessageCodeURLSession016 = 901016, // I-NET901016 + kGULNetworkMessageCodeURLSession017 = 901017, // I-NET901017 + kGULNetworkMessageCodeURLSession018 = 901018, // I-NET901018 + kGULNetworkMessageCodeURLSession019 = 901019, // I-NET901019 +}; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkURLSession.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkURLSession.h new file mode 100644 index 00000000000..3f9f7f9e14d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULNetworkURLSession.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkLoggerProtocol.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^GULNetworkCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSError *_Nullable error); +typedef void (^GULNetworkURLSessionCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSString *sessionID, + NSError *_Nullable error); +typedef void (^GULNetworkSystemCompletionHandler)(void); + +/// The protocol that uses NSURLSession for iOS >= 7.0 to handle requests and responses. +@interface GULNetworkURLSession : NSObject + +/// Indicates whether the background network is enabled. Default value is NO. +@property(nonatomic, getter=isBackgroundNetworkEnabled) BOOL backgroundNetworkEnabled; + +/// The logger delegate to log message, errors or warnings that occur during the network operations. +@property(nonatomic, weak, nullable) id loggerDelegate; + +/// Calls the system provided completion handler after the background session is finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Initializes with logger delegate. +- (instancetype)initWithNetworkLoggerDelegate: + (nullable id)networkLoggerDelegate NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +/// Sends an asynchronous POST request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session/connection. +- (nullable NSString *)sessionIDFromAsyncPOSTRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +/// Sends an asynchronous GET request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session. +- (nullable NSString *)sessionIDFromAsyncGETRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +NS_ASSUME_NONNULL_END +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULReachabilityChecker.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULReachabilityChecker.h new file mode 100644 index 00000000000..cac5ca3de0d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULReachabilityChecker.h @@ -0,0 +1,83 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#if !TARGET_OS_WATCH +#import +#endif + +NS_ASSUME_NONNULL_BEGIN + +/// Reachability Status +typedef enum { + kGULReachabilityUnknown, ///< Have not yet checked or been notified whether host is reachable. + kGULReachabilityNotReachable, ///< Host is not reachable. + kGULReachabilityViaWifi, ///< Host is reachable via Wifi. + kGULReachabilityViaCellular, ///< Host is reachable via cellular. +} GULReachabilityStatus; + +const NSString *GULReachabilityStatusString(GULReachabilityStatus status); + +@class GULReachabilityChecker; + +/// Google Analytics iOS Reachability Checker. +@protocol GULReachabilityDelegate +@required +/// Called when network status has changed. +- (void)reachability:(GULReachabilityChecker *)reachability + statusChanged:(GULReachabilityStatus)status; +@end + +/// Google Analytics iOS Network Status Checker. +@interface GULReachabilityChecker : NSObject + +/// The last known reachability status, or GULReachabilityStatusUnknown if the +/// checker is not active. +@property(nonatomic, readonly) GULReachabilityStatus reachabilityStatus; +/// The host to which reachability status is to be checked. +@property(nonatomic, copy, readonly) NSString *host; +/// The delegate to be notified of reachability status changes. +@property(nonatomic, weak) id reachabilityDelegate; +/// `YES` if the reachability checker is active, `NO` otherwise. +@property(nonatomic, readonly) BOOL isActive; + +/// Initialize the reachability checker. Note that you must call start to begin checking for and +/// receiving notifications about network status changes. +/// +/// @param reachabilityDelegate The delegate to be notified when reachability status to host +/// changes. +/// +/// @param host The name of the host. +/// +- (instancetype)initWithReachabilityDelegate:(id)reachabilityDelegate + withHost:(NSString *)host; + +- (instancetype)init NS_UNAVAILABLE; + +/// Start checking for reachability to the specified host. This has no effect if the status +/// checker is already checking for connectivity. +/// +/// @return `YES` if initiating status checking was successful or the status checking has already +/// been initiated, `NO` otherwise. +- (BOOL)start; + +/// Stop checking for reachability to the specified host. This has no effect if the status +/// checker is not checking for connectivity. +- (void)stop; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h new file mode 100644 index 00000000000..d6d893779fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h @@ -0,0 +1,76 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#import + +#if __has_include() +#import +#endif + +#if TARGET_OS_IOS || TARGET_OS_TV +#define UISCENE_SUPPORTED 1 +#endif + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULSceneDelegateInterceptorID; + +/** This class contains methods that isa swizzle the scene delegate. */ +@interface GULSceneDelegateSwizzler : NSProxy + +#if UISCENE_SUPPORTED + +/** Registers a scene delegate interceptor whose methods will be invoked as they're invoked on the + * original scene delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULSceneDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULSceneDelegateInterceptorID)registerSceneDelegateInterceptor: + (id)interceptor API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterSceneDelegateInterceptorWithID:(GULSceneDelegateInterceptorID)interceptorID + API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +#endif // UISCENE_SUPPORTED + +/** This method ensures that the original scene delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the scene delegate once). + * + * The method has no effect for extensions. + */ ++ (void)proxyOriginalSceneDelegate; + +/** Indicates whether scene delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if SceneDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isSceneDelegateProxyEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULUserDefaults.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULUserDefaults.h new file mode 100644 index 00000000000..83b23fa3cf2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GULUserDefaults.h @@ -0,0 +1,105 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A thread-safe user defaults that uses C functions from CFPreferences.h instead of +/// `NSUserDefaults`. This is to avoid sending an `NSNotification` when it's changed from a +/// background thread to avoid crashing. // TODO: Insert radar number here. +@interface GULUserDefaults : NSObject + +/// A shared user defaults similar to +[NSUserDefaults standardUserDefaults] and accesses the same +/// data of the standardUserDefaults. ++ (GULUserDefaults *)standardUserDefaults; + +/// Initializes preferences with a suite name that is the same with the NSUserDefaults' suite name. +/// Both of CFPreferences and NSUserDefaults share the same plist file so their data will exactly +/// the same. +/// +/// @param suiteName The name of the suite of the user defaults. +- (instancetype)initWithSuiteName:(nullable NSString *)suiteName; + +#pragma mark - Getters + +/// Searches the receiver's search list for a default with the key 'defaultName' and return it. If +/// another process has changed defaults in the search list, NSUserDefaults will automatically +/// update to the latest values. If the key in question has been marked as ubiquitous via a Defaults +/// Configuration File, the latest value may not be immediately available, and the registered value +/// will be returned instead. +- (nullable id)objectForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value is not an NSArray. +- (nullable NSArray *)arrayForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value +/// is not an NSDictionary. +- (nullable NSDictionary *)dictionaryForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will convert NSNumber values to their NSString +/// representation. If a non-string non-number value is found, nil will be returned. +- (nullable NSString *)stringForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to an NSInteger. If the +/// value is an NSNumber, the result of -integerValue will be returned. If the value is an NSString, +/// it will be converted to NSInteger if possible. If the value is a boolean, it will be converted +/// to either 1 for YES or 0 for NO. If the value is absent or can't be converted to an integer, 0 +/// will be returned. +- (NSInteger)integerForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a float, and boolean values will not be +/// converted. +- (float)floatForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a double, and boolean values will not be +/// converted. +- (double)doubleForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to a BOOL. If the value +/// is an NSNumber, NO will be returned if the value is 0, YES otherwise. If the value is an +/// NSString, values of "YES" or "1" will return YES, and values of "NO", "0", or any other string +/// will return NO. If the value is absent or can't be converted to a BOOL, NO will be returned. +- (BOOL)boolForKey:(NSString *)defaultName; + +#pragma mark - Setters + +/// Immediately stores a value (or removes the value if `nil` is passed as the value) for the +/// provided key in the search list entry for the receiver's suite name in the current user and any +/// host, then asynchronously stores the value persistently, where it is made available to other +/// processes. +- (void)setObject:(nullable id)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a float to an NSNumber. +- (void)setFloat:(float)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a double to an +/// NSNumber. +- (void)setDouble:(double)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from an NSInteger to an +/// NSNumber. +- (void)setInteger:(NSInteger)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a BOOL to an NSNumber. +- (void)setBool:(BOOL)value forKey:(NSString *)defaultName; + +#pragma mark - Removing Defaults + +/// Equivalent to -[... setObject:nil forKey:defaultName] +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h new file mode 100644 index 00000000000..92638e59c88 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h @@ -0,0 +1,34 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "GULAppDelegateSwizzler.h" +#import "GULApplication.h" +#import "GULSceneDelegateSwizzler.h" +#import "GULAppEnvironmentUtil.h" +#import "GULKeychainStorage.h" +#import "GULKeychainUtils.h" +#import "GULNetworkInfo.h" +#import "GULLogger.h" +#import "GULLoggerLevel.h" +#import "GULNSData+zlib.h" +#import "GULMutableDictionary.h" +#import "GULNetwork.h" +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkMessageCode.h" +#import "GULNetworkURLSession.h" +#import "GULReachabilityChecker.h" +#import "GULUserDefaults.h" + +FOUNDATION_EXPORT double GoogleUtilitiesVersionNumber; +FOUNDATION_EXPORT const unsigned char GoogleUtilitiesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Info.plist new file mode 100644 index 00000000000..a6851d5e3e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleUtilities + CFBundleIdentifier + org.cocoapods.GoogleUtilities + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleUtilities + CFBundlePackageType + FMWK + CFBundleShortVersionString + 8.0.2 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchos + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchos10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Modules/module.modulemap new file mode 100644 index 00000000000..c59631ab6f4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_arm64_32/GoogleUtilities.framework/Modules/module.modulemap @@ -0,0 +1,7 @@ +framework module GoogleUtilities { +umbrella header "GoogleUtilities-umbrella.h" +export * +module * { export * } + link framework "Security" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities new file mode 100644 index 00000000000..d3022b5d11a Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..1c87b1e77e1 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..1c9e1a6644e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + C56D.1 + + + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h new file mode 100644 index 00000000000..58dec4927ae --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppDelegateSwizzler.h @@ -0,0 +1,107 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULApplication.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULAppDelegateInterceptorID; + +/** This class contains methods that isa swizzle the app delegate. */ +@interface GULAppDelegateSwizzler : NSProxy + +/** Registers an app delegate interceptor whose methods will be invoked as they're invoked on the + * original app delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULAppDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULAppDelegateInterceptorID)registerAppDelegateInterceptor: + (id)interceptor; + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterAppDelegateInterceptorWithID:(GULAppDelegateInterceptorID)interceptorID; + +/** This method ensures that the original app delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the app delegate once). + * + * This method doesn't proxy APNS related methods: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * To proxy these methods use +[GULAppDelegateSwizzler + * proxyOriginalDelegateIncludingAPNSMethods]. The methods have to be proxied separately to + * avoid potential warnings from Apple review about missing Push Notification Entitlement (e.g. + * https://github.com/firebase/firebase-ios-sdk/issues/2807) + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegateIncludingAPNSMethods + */ ++ (void)proxyOriginalDelegate; + +/** This method ensures that the original app delegate has been proxied including APNS related + * methods. Call this before registering your interceptor. This method is safe to call multiple + * times (but it only proxies the app delegate once) or + * after +[GULAppDelegateSwizzler proxyOriginalDelegate] + * + * This method calls +[GULAppDelegateSwizzler proxyOriginalDelegate] under the hood. + * After calling this method the following App Delegate methods will be proxied in addition to + * the methods proxied by proxyOriginalDelegate: + * @code + * - application:didRegisterForRemoteNotificationsWithDeviceToken: + * - application:didFailToRegisterForRemoteNotificationsWithError: + * - application:didReceiveRemoteNotification:fetchCompletionHandler: + * - application:didReceiveRemoteNotification: + * @endcode + * + * The method has no effect for extensions. + * + * @see proxyOriginalDelegate + */ ++ (void)proxyOriginalDelegateIncludingAPNSMethods; + +/** Indicates whether app delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if AppDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isAppDelegateProxyEnabled; + +/** Returns the current sharedApplication. + * + * @return the current application instance if in an app, or nil if in extension or if it doesn't + * exist. + */ ++ (nullable GULApplication *)sharedApplication; + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +NS_ASSUME_NONNULL_END + +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h new file mode 100644 index 00000000000..dbce363113a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface GULAppEnvironmentUtil : NSObject + +/// Indicates whether the app is from Apple Store or not. Returns NO if the app is on simulator, +/// development environment or sideloaded. ++ (BOOL)isFromAppStore; + +/// Indicates whether the app is a Testflight app. Returns YES if the app has sandbox receipt. +/// Returns NO otherwise. ++ (BOOL)isAppStoreReceiptSandbox; + +/// Indicates whether the app is on simulator or not at runtime depending on the device +/// architecture. ++ (BOOL)isSimulator; + +/// The current device model. Returns an empty string if device model cannot be retrieved. ++ (nullable NSString *)deviceModel; + +/// The current device model, with simulator-specific values. Returns an empty string if device +/// model cannot be retrieved. ++ (nullable NSString *)deviceSimulatorModel; + +/// The current operating system version. Returns an empty string if the system version cannot be +/// retrieved. ++ (NSString *)systemVersion; + +/// Indicates whether it is running inside an extension or an app. ++ (BOOL)isAppExtension; + +/// @return An Apple platform. Possible values "ios", "tvos", "macos", "watchos", "maccatalyst", and +/// "visionos". ++ (NSString *)applePlatform; + +/// @return An Apple Device platform. Same possible values as `applePlatform`, with the addition of +/// "ipados". ++ (NSString *)appleDevicePlatform; + +/// @return The way the library was added to the app, e.g. "swiftpm", "cocoapods", etc. ++ (NSString *)deploymentType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULApplication.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULApplication.h new file mode 100644 index 00000000000..9311a175b99 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULApplication.h @@ -0,0 +1,50 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_VISION + +#import + +#define GULApplication UIApplication +#define GULApplicationDelegate UIApplicationDelegate +#define GULUserActivityRestoring UIUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"UIApplication"; + +#elif TARGET_OS_OSX + +#import + +#define GULApplication NSApplication +#define GULApplicationDelegate NSApplicationDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"NSApplication"; + +#elif TARGET_OS_WATCH + +#import + +// We match the according watchOS API but swizzling should not work in watch +#define GULApplication WKExtension +#define GULApplicationDelegate WKExtensionDelegate +#define GULUserActivityRestoring NSUserActivityRestoring + +static NSString *const kGULApplicationClassName = @"WKExtension"; + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainStorage.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainStorage.h new file mode 100644 index 00000000000..eb90ea34dee --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainStorage.h @@ -0,0 +1,84 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The class provides a convenient, multiplatform abstraction of the Keychain. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainStorage : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/** Initializes the keychain storage with Keychain Service name. + * @param service A Keychain Service name that will be used to store and retrieve objects. See also + * `kSecAttrService`. + */ +- (instancetype)initWithService:(NSString *)service; + +/// Get an object by key. +/// @param key The key. +/// @param objectClass The expected object class required by `NSSecureCoding`. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain read is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object stored in +/// the keychain, or `nil` if it does not exist, is passed to the completion +/// handler. +- (void)getObjectForKey:(NSString *)key + objectClass:(Class)objectClass + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Saves the given object by the given key. +/// @param object The object to store. +/// @param key The key to store the object. If there is an existing object by the key, it will be +/// overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain write is complete. An error is passed to the +/// completion handler if the keychain read fails. Else, the object written to +/// the keychain is passed to the completion handler. +- (void)setObject:(id)object + forKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler: + (void (^)(id _Nullable obj, NSError *_Nullable error))completionHandler; + +/// Removes the object by the given key. +/// @param key The key to store the object. If there is an existing object by +/// the key, it will be overridden. +/// @param accessGroup The Keychain Access Group. +/// @param completionHandler The completion handler to call when the +/// synchronized keychain removal is complete. An error is passed to the +/// completion handler if the keychain removal fails. +- (void)removeObjectForKey:(NSString *)key + accessGroup:(nullable NSString *)accessGroup + completionHandler:(void (^)(NSError *_Nullable error))completionHandler; + +#if TARGET_OS_OSX +/// If not `nil`, then only this keychain will be used to save and read data (see +/// `kSecMatchSearchList` and `kSecUseKeychain`. It is mostly intended to be used by unit tests. +@property(nonatomic, nullable) SecKeychainRef keychainRef; +#endif // TARGET_OS_OSX + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainUtils.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainUtils.h new file mode 100644 index 00000000000..9c17356c2cc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULKeychainUtils.h @@ -0,0 +1,64 @@ +/* + * Copyright 2019 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString *const kGULKeychainUtilsErrorDomain; + +/// A collection of helper functions that abstract away common Keychain operations. +/// +/// When using this API on macOS, the corresponding target must be signed with a provisioning +/// profile that has the Keychain Sharing capability enabled. +@interface GULKeychainUtils : NSObject + +/** Fetches a keychain item data matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemCopyMatching` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns Data for the first Keychain Item matching the provided query or `nil` if there is not + * such an item (`outError` will be `nil` in this case) or an error occurred. + */ ++ (nullable NSData *)getItemWithQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Stores data to a Keychain Item matching to the provided query. An existing Keychain Item + * matching the query parameters will be updated or a new will be created. + * @param item A Keychain Item data to store. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemAdd` and + * `SecItemUpdate` for details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` when data was successfully stored, `NO` otherwise. + */ ++ (BOOL)setItem:(NSData *)item + withQuery:(NSDictionary *)query + error:(NSError *_Nullable *_Nullable)outError; + +/** Removes a Keychain Item matching to the provided query. + * @param query A dictionary with Keychain query parameters. See docs for `SecItemDelete` for + * details. + * @param outError A pointer to `NSError` instance or `NULL`. The instance at `outError` will be + * assigned with an error if there is. + * @returns `YES` if the item was removed successfully or doesn't exist, `NO` otherwise. + */ ++ (BOOL)removeItemWithQuery:(NSDictionary *)query error:(NSError *_Nullable *_Nullable)outError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLogger.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLogger.h new file mode 100644 index 00000000000..30cc80005ec --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLogger.h @@ -0,0 +1,165 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULLoggerLevel.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * The services used in the logger. + * + * DEPRECATED; use NSString instead. + */ +typedef NSString *const GULLoggerService; + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +/// Used for other GoogleUtilities logging. +extern NSString *const kGULLogSubsystem; + +/// Initialize GULLogger. +extern void GULLoggerInitialize(void); + +/// Override log level to Debug. +void GULLoggerForceDebug(void); + +/// Gets the current `GULLoggerLevel`. +extern GULLoggerLevel GULGetLoggerLevel(void); + +/** + * Changes the default logging level of GULLoggerLevelNotice to a user-specified level. + * The default level cannot be set above GULLoggerLevelNotice if the app is running from App Store. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern void GULSetLoggerLevel(GULLoggerLevel loggerLevel); + +/** + * Checks if the specified logger level is loggable given the current settings. + * (required) log level (one of the GULLoggerLevel enum values). + */ +extern BOOL GULIsLoggableLevel(GULLoggerLevel loggerLevel); + +/** + * Register version to include in logs. + * (required) version + */ +extern void GULLoggerRegisterVersion(NSString *version); + +/** + * Logs a message to the Xcode console and the device log. If running from AppStore, will + * not log any messages with a level higher than GULLoggerLevelNotice to avoid log spamming. + * (required) log level (one of the GULLoggerLevel enum values). + * (required) service name of type GULLoggerService. + * (required) message code starting with "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * (required) message string which can be a format string. + * (optional) variable arguments list obtained from calling va_start, used when message is a format + * string. + */ +extern void GULOSLogBasic(GULLoggerLevel level, + NSString *subsystem, + NSString *category, + BOOL forceLog, + NSString *messageCode, + NSString *message, +// On 64-bit simulators, va_list is not a pointer, so cannot be marked nullable +// See: http://stackoverflow.com/q/29095469 +#if __LP64__ && TARGET_OS_SIMULATOR || TARGET_OS_OSX + va_list args_ptr +#else + va_list _Nullable args_ptr +#endif +); + +/** + * The following functions accept the following parameters in order: + * (required) service name of type GULLoggerService. + * (required) message code starting from "I-" which means iOS, followed by a capitalized + * three-character service identifier and a six digit integer message ID that is unique + * within the service. + * An example of the message code is @"I-COR000001". + * See go/firebase-log-proposal for details. + * (required) message string which can be a format string. + * (optional) the list of arguments to substitute into the format string. + * Example usage: + * GULLogError(kGULLoggerCore, @"I-COR000001", @"Configuration of %@ failed.", app.name); + */ +extern void GULOSLogError(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogWarning(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogNotice(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogInfo(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); +extern void GULOSLogDebug(NSString *subsystem, + GULLoggerService category, + BOOL force, + NSString *messageCode, + NSString *message, + ...) NS_FORMAT_FUNCTION(5, 6); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus + +@interface GULLoggerWrapper : NSObject + +/// Objective-C wrapper for `GULOSLogBasic` to allow weak linking to `GULLogger`. +/// +/// - Parameters: +/// - level: The log level (one of the `GULLoggerLevel` enum values). +/// - subsystem: An identifier for the subsystem performing logging, e.g., `com.example.logger`. +/// - category: The category name within the `subsystem` to group related messages, e.g., +/// `[GoogleUtilities/Example]`. +/// - messageCode: The message code starting with "I-" which means iOS, followed by a capitalized +/// three-character service identifier and a six digit integer message ID that is unique within +/// the service. An example of the message code is @"I-COR000001". +/// - message: The message to log, which may be a format string. +/// - arguments: The variable arguments list obtained from calling va_start, used when message is +/// a format string; optional if `message` is not a format string. ++ (void)logWithLevel:(GULLoggerLevel)level + subsystem:(NSString *)subsystem + category:(NSString *)category + messageCode:(NSString *)messageCode + message:(NSString *)message + arguments:(va_list)args; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLoggerLevel.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLoggerLevel.h new file mode 100644 index 00000000000..6a68eb13093 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULLoggerLevel.h @@ -0,0 +1,47 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by internal logging. +typedef NS_ENUM(NSInteger, GULLoggerLevel) { + /// Error level, corresponding to `OS_LOG_TYPE_ERROR`. + GULLoggerLevelError = 3, // For backwards compatibility, the enum value matches `ASL_LEVEL_ERR`. + + /// Warning level, corresponding to `OS_LOG_TYPE_DEFAULT`. + /// + /// > Note: Since OSLog doesn't have a WARNING type, this is equivalent to `GULLoggerLevelNotice`. + GULLoggerLevelWarning = 4, // For backwards compatibility, the value matches `ASL_LEVEL_WARNING`. + + /// Notice level, corresponding to `OS_LOG_TYPE_DEFAULT`. + GULLoggerLevelNotice = 5, // For backwards compatibility, the value matches `ASL_LEVEL_NOTICE`. + + /// Info level, corresponding to `OS_LOG_TYPE_INFO`. + GULLoggerLevelInfo = 6, // For backwards compatibility, the enum value matches `ASL_LEVEL_INFO`. + + /// Debug level, corresponding to `OS_LOG_TYPE_DEBUG`. + GULLoggerLevelDebug = 7, // For backwards compatibility, the value matches `ASL_LEVEL_DEBUG`. + + /// The minimum (most severe) supported logging level. + GULLoggerLevelMin = GULLoggerLevelError, + + /// The maximum (least severe) supported logging level. + GULLoggerLevelMax = GULLoggerLevelDebug +} NS_SWIFT_NAME(GoogleLoggerLevel); + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULMutableDictionary.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULMutableDictionary.h new file mode 100644 index 00000000000..02f25db89c8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULMutableDictionary.h @@ -0,0 +1,50 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A mutable dictionary that provides atomic accessor and mutators. +@interface GULMutableDictionary : NSObject + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKey:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)object forKey:(id)key; + +/// Removes the object given its session ID from the dictionary. +- (void)removeObjectForKey:(id)key; + +/// Removes all objects. +- (void)removeAllObjects; + +/// Returns the number of current objects in the dictionary. +- (NSUInteger)count; + +/// Returns an object given a key in the dictionary or nil if not found. +- (id)objectForKeyedSubscript:(id)key; + +/// Updates the object given its key or adds it to the dictionary if it is not in the dictionary. +- (void)setObject:(id)obj forKeyedSubscript:(id)key; + +/// Returns the immutable dictionary. +- (NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNSData+zlib.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNSData+zlib.h new file mode 100644 index 00000000000..f195d572aeb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNSData+zlib.h @@ -0,0 +1,53 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// This is a copy of Google Toolbox for Mac library to avoid creating an extra framework. + +// NOTE: For 64bit, none of these apis handle input sizes >32bits, they will return nil when given +// such data. To handle data of that size you really should be streaming it rather then doing it all +// in memory. + +@interface NSData (GULGzip) + +/// Returns an data as the result of decompressing the payload of |data|.The data to decompress must +/// be a gzipped payloads. ++ (nullable NSData *)gul_dataByInflatingGzippedData:(NSData *)data error:(NSError **)error; + +/// Returns an compressed data with the result of gzipping the payload of |data|. Uses the default +/// compression level. ++ (nullable NSData *)gul_dataByGzippingData:(NSData *)data error:(NSError **)error; + +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorDomain; +FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorKey; // NSNumber +FOUNDATION_EXPORT NSString *const GULNSDataZlibRemainingBytesKey; // NSNumber + +typedef NS_ENUM(NSInteger, GULNSDataZlibError) { + GULNSDataZlibErrorGreaterThan32BitsToCompress = 1024, + // An internal zlib error. + // GULNSDataZlibErrorKey will contain the error value. + // NSLocalizedDescriptionKey may contain an error string from zlib. + // Look in zlib.h for list of errors. + GULNSDataZlibErrorInternal, + // There was left over data in the buffer that was not used. + // GULNSDataZlibRemainingBytesKey will contain number of remaining bytes. + GULNSDataZlibErrorDataRemaining +}; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetwork.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetwork.h new file mode 100644 index 00000000000..4c5b5f56fba --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetwork.h @@ -0,0 +1,101 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkURLSession.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Delegate protocol for GULNetwork events. +@protocol GULNetworkReachabilityDelegate + +/// Tells the delegate to handle events when the network reachability changes to connected or not +/// connected. +- (void)reachabilityDidChange; + +@end + +/// The Network component that provides network status and handles network requests and responses. +/// This is not thread safe. +/// +/// NOTE: +/// User must add FIRAnalytics handleEventsForBackgroundURLSessionID:completionHandler to the +/// AppDelegate application:handleEventsForBackgroundURLSession:completionHandler: +@interface GULNetwork : NSObject + +/// Indicates if network connectivity is available. +@property(nonatomic, readonly, getter=isNetworkConnected) BOOL networkConnected; + +/// Indicates if there are any uploads in progress. +@property(nonatomic, readonly, getter=hasUploadInProgress) BOOL uploadInProgress; + +/// An optional delegate that can be used in the event when network reachability changes. +@property(nonatomic, weak) id reachabilityDelegate; + +/// An optional delegate that can be used to log messages, warnings or errors that occur in the +/// network operations. +@property(nonatomic, weak) id loggerDelegate; + +/// Indicates whether the logger should display debug messages. +@property(nonatomic, assign) BOOL isDebugModeEnabled; + +/// The time interval in seconds for the network request to timeout. +@property(nonatomic, assign) NSTimeInterval timeoutInterval; + +/// Initializes with the default reachability host. +- (instancetype)init; + +/// Initializes with a custom reachability host. +- (instancetype)initWithReachabilityHost:(NSString *)reachabilityHost; + +/// Handles events when background session with the given ID has finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Compresses and sends a POST request with the provided data to the URL. The session will be +/// background session if usingBackgroundSession is YES. Otherwise, the POST session is default +/// session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Compresses and sends a POST request with the provided headers and data to the URL. The session +/// will be background session if usingBackgroundSession is YES. Otherwise, the POST session is +/// default session. Returns a session ID or nil if an error occurs. +- (nullable NSString *)postURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + payload:(NSData *)payload + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +/// Sends a GET request with the provided data to the URL. The session will be background session +/// if usingBackgroundSession is YES. Otherwise, the GET session is default session. Returns a +/// session ID or nil if an error occurs. +- (nullable NSString *)getURL:(NSURL *)url + headers:(nullable NSDictionary *)headers + queue:(nullable dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkConstants.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkConstants.h new file mode 100644 index 00000000000..341b9745222 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkConstants.h @@ -0,0 +1,75 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Error codes in Firebase Network error domain. +/// Note: these error codes should never change. It would make it harder to decode the errors if +/// we inadvertently altered any of these codes in a future SDK version. +typedef NS_ENUM(NSInteger, GULNetworkErrorCode) { + /// Unknown error. + GULNetworkErrorCodeUnknown = 0, + /// Error occurs when the request URL is invalid. + GULErrorCodeNetworkInvalidURL = 1, + /// Error occurs when request cannot be constructed. + GULErrorCodeNetworkRequestCreation = 2, + /// Error occurs when payload cannot be compressed. + GULErrorCodeNetworkPayloadCompression = 3, + /// Error occurs when session task cannot be created. + GULErrorCodeNetworkSessionTaskCreation = 4, + /// Error occurs when there is no response. + GULErrorCodeNetworkInvalidResponse = 5 +}; + +#pragma mark - Network constants + +/// The prefix of the ID of the background session. +extern NSString *const kGULNetworkBackgroundSessionConfigIDPrefix; + +/// The sub directory to store the files of data that is being uploaded in the background. +extern NSString *const kGULNetworkApplicationSupportSubdirectory; + +/// Name of the temporary directory that stores files for background uploading. +extern NSString *const kGULNetworkTempDirectoryName; + +/// The period when the temporary uploading file can stay. +extern const NSTimeInterval kGULNetworkTempFolderExpireTime; + +/// The default network request timeout interval. +extern const NSTimeInterval kGULNetworkTimeOutInterval; + +/// The host to check the reachability of the network. +extern NSString *const kGULNetworkReachabilityHost; + +/// The key to get the error context of the UserInfo. +extern NSString *const kGULNetworkErrorContext; + +#pragma mark - Network Status Code + +extern const int kGULNetworkHTTPStatusOK; +extern const int kGULNetworkHTTPStatusNoContent; +extern const int kGULNetworkHTTPStatusCodeMultipleChoices; +extern const int kGULNetworkHTTPStatusCodeMovedPermanently; +extern const int kGULNetworkHTTPStatusCodeFound; +extern const int kGULNetworkHTTPStatusCodeNotModified; +extern const int kGULNetworkHTTPStatusCodeMovedTemporarily; +extern const int kGULNetworkHTTPStatusCodeNotFound; +extern const int kGULNetworkHTTPStatusCodeCannotAcceptTraffic; +extern const int kGULNetworkHTTPStatusCodeUnavailable; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkInfo.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkInfo.h new file mode 100644 index 00000000000..06139413a71 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkInfo.h @@ -0,0 +1,43 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The type of network that the device is running with. Values should correspond to the NetworkType +/// values in android/play/playlog/proto/clientanalytics.proto +typedef NS_ENUM(NSInteger, GULNetworkType) { + GULNetworkTypeNone = -1, + GULNetworkTypeMobile = 0, + GULNetworkTypeWIFI = 1, +}; + +/// Collection of utilities to read network status information +@interface GULNetworkInfo : NSObject + +/// Returns an enum indicating the network type. The enum values should be easily transferrable to +/// the NetworkType value in android/play/playlog/proto/clientanalytics.proto. Right now this always +/// returns None on platforms other than iOS. This should be updated in the future to return Wi-Fi +/// values for the other platforms when applicable. ++ (GULNetworkType)getNetworkType; + +/// Returns a string indicating the radio access technology used by the app. The return value will +/// be one of CTRadioAccess constants defined in +/// https://developer.apple.com/documentation/coretelephony/cttelephonynetworkinfo/radio_access_technology_constants ++ (NSString *)getNetworkRadioType; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h new file mode 100644 index 00000000000..b9e93ec68cb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkLoggerProtocol.h @@ -0,0 +1,53 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkMessageCode.h" + +NS_ASSUME_NONNULL_BEGIN + +/// The log levels used by GULNetworkLogger. +typedef NS_ENUM(NSInteger, GULNetworkLogLevel) { + kGULNetworkLogLevelError = 3, + kGULNetworkLogLevelWarning = 4, + kGULNetworkLogLevelInfo = 6, + kGULNetworkLogLevelDebug = 7, +}; + +@protocol GULNetworkLoggerDelegate + +@required +/// Tells the delegate to log a message with an array of contexts and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + contexts:(NSArray *)contexts; + +/// Tells the delegate to log a message with a context and the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message + context:(id)context; + +/// Tells the delegate to log a message with the log level. +- (void)GULNetwork_logWithLevel:(GULNetworkLogLevel)logLevel + messageCode:(GULNetworkMessageCode)messageCode + message:(NSString *)message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h new file mode 100644 index 00000000000..2d45ec6e381 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkMessageCode.h @@ -0,0 +1,51 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +// Make sure these codes do not overlap with any contained in the FIRAMessageCode enum. +typedef NS_ENUM(NSInteger, GULNetworkMessageCode) { + // GULNetwork.m + kGULNetworkMessageCodeNetwork000 = 900000, // I-NET900000 + kGULNetworkMessageCodeNetwork001 = 900001, // I-NET900001 + kGULNetworkMessageCodeNetwork002 = 900002, // I-NET900002 + kGULNetworkMessageCodeNetwork003 = 900003, // I-NET900003 + // GULNetworkURLSession.m + kGULNetworkMessageCodeURLSession000 = 901000, // I-NET901000 + kGULNetworkMessageCodeURLSession001 = 901001, // I-NET901001 + kGULNetworkMessageCodeURLSession002 = 901002, // I-NET901002 + kGULNetworkMessageCodeURLSession003 = 901003, // I-NET901003 + kGULNetworkMessageCodeURLSession004 = 901004, // I-NET901004 + kGULNetworkMessageCodeURLSession005 = 901005, // I-NET901005 + kGULNetworkMessageCodeURLSession006 = 901006, // I-NET901006 + kGULNetworkMessageCodeURLSession007 = 901007, // I-NET901007 + kGULNetworkMessageCodeURLSession008 = 901008, // I-NET901008 + kGULNetworkMessageCodeURLSession009 = 901009, // I-NET901009 + kGULNetworkMessageCodeURLSession010 = 901010, // I-NET901010 + kGULNetworkMessageCodeURLSession011 = 901011, // I-NET901011 + kGULNetworkMessageCodeURLSession012 = 901012, // I-NET901012 + kGULNetworkMessageCodeURLSession013 = 901013, // I-NET901013 + kGULNetworkMessageCodeURLSession014 = 901014, // I-NET901014 + kGULNetworkMessageCodeURLSession015 = 901015, // I-NET901015 + kGULNetworkMessageCodeURLSession016 = 901016, // I-NET901016 + kGULNetworkMessageCodeURLSession017 = 901017, // I-NET901017 + kGULNetworkMessageCodeURLSession018 = 901018, // I-NET901018 + kGULNetworkMessageCodeURLSession019 = 901019, // I-NET901019 +}; + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkURLSession.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkURLSession.h new file mode 100644 index 00000000000..3f9f7f9e14d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULNetworkURLSession.h @@ -0,0 +1,62 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +#import "GULNetworkLoggerProtocol.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^GULNetworkCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSError *_Nullable error); +typedef void (^GULNetworkURLSessionCompletionHandler)(NSHTTPURLResponse *_Nullable response, + NSData *_Nullable data, + NSString *sessionID, + NSError *_Nullable error); +typedef void (^GULNetworkSystemCompletionHandler)(void); + +/// The protocol that uses NSURLSession for iOS >= 7.0 to handle requests and responses. +@interface GULNetworkURLSession : NSObject + +/// Indicates whether the background network is enabled. Default value is NO. +@property(nonatomic, getter=isBackgroundNetworkEnabled) BOOL backgroundNetworkEnabled; + +/// The logger delegate to log message, errors or warnings that occur during the network operations. +@property(nonatomic, weak, nullable) id loggerDelegate; + +/// Calls the system provided completion handler after the background session is finished. ++ (void)handleEventsForBackgroundURLSessionID:(NSString *)sessionID + completionHandler:(GULNetworkSystemCompletionHandler)completionHandler; + +/// Initializes with logger delegate. +- (instancetype)initWithNetworkLoggerDelegate: + (nullable id)networkLoggerDelegate NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + +/// Sends an asynchronous POST request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session/connection. +- (nullable NSString *)sessionIDFromAsyncPOSTRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +/// Sends an asynchronous GET request and calls the provided completion handler when the request +/// completes or when errors occur, and returns an ID of the session. +- (nullable NSString *)sessionIDFromAsyncGETRequest:(NSURLRequest *)request + completionHandler:(GULNetworkURLSessionCompletionHandler)handler; + +NS_ASSUME_NONNULL_END +@end diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULReachabilityChecker.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULReachabilityChecker.h new file mode 100644 index 00000000000..cac5ca3de0d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULReachabilityChecker.h @@ -0,0 +1,83 @@ +/* + * Copyright 2017 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#if !TARGET_OS_WATCH +#import +#endif + +NS_ASSUME_NONNULL_BEGIN + +/// Reachability Status +typedef enum { + kGULReachabilityUnknown, ///< Have not yet checked or been notified whether host is reachable. + kGULReachabilityNotReachable, ///< Host is not reachable. + kGULReachabilityViaWifi, ///< Host is reachable via Wifi. + kGULReachabilityViaCellular, ///< Host is reachable via cellular. +} GULReachabilityStatus; + +const NSString *GULReachabilityStatusString(GULReachabilityStatus status); + +@class GULReachabilityChecker; + +/// Google Analytics iOS Reachability Checker. +@protocol GULReachabilityDelegate +@required +/// Called when network status has changed. +- (void)reachability:(GULReachabilityChecker *)reachability + statusChanged:(GULReachabilityStatus)status; +@end + +/// Google Analytics iOS Network Status Checker. +@interface GULReachabilityChecker : NSObject + +/// The last known reachability status, or GULReachabilityStatusUnknown if the +/// checker is not active. +@property(nonatomic, readonly) GULReachabilityStatus reachabilityStatus; +/// The host to which reachability status is to be checked. +@property(nonatomic, copy, readonly) NSString *host; +/// The delegate to be notified of reachability status changes. +@property(nonatomic, weak) id reachabilityDelegate; +/// `YES` if the reachability checker is active, `NO` otherwise. +@property(nonatomic, readonly) BOOL isActive; + +/// Initialize the reachability checker. Note that you must call start to begin checking for and +/// receiving notifications about network status changes. +/// +/// @param reachabilityDelegate The delegate to be notified when reachability status to host +/// changes. +/// +/// @param host The name of the host. +/// +- (instancetype)initWithReachabilityDelegate:(id)reachabilityDelegate + withHost:(NSString *)host; + +- (instancetype)init NS_UNAVAILABLE; + +/// Start checking for reachability to the specified host. This has no effect if the status +/// checker is already checking for connectivity. +/// +/// @return `YES` if initiating status checking was successful or the status checking has already +/// been initiated, `NO` otherwise. +- (BOOL)start; + +/// Stop checking for reachability to the specified host. This has no effect if the status +/// checker is not checking for connectivity. +- (void)stop; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h new file mode 100644 index 00000000000..d6d893779fc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULSceneDelegateSwizzler.h @@ -0,0 +1,76 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#import + +#if __has_include() +#import +#endif + +#if TARGET_OS_IOS || TARGET_OS_TV +#define UISCENE_SUPPORTED 1 +#endif + +NS_ASSUME_NONNULL_BEGIN + +typedef NSString *const GULSceneDelegateInterceptorID; + +/** This class contains methods that isa swizzle the scene delegate. */ +@interface GULSceneDelegateSwizzler : NSProxy + +#if UISCENE_SUPPORTED + +/** Registers a scene delegate interceptor whose methods will be invoked as they're invoked on the + * original scene delegate. + * + * @param interceptor An instance of a class that conforms to the application delegate protocol. + * The interceptor is NOT retained. + * @return A unique GULSceneDelegateInterceptorID if interceptor was successfully registered; nil + * if it fails. + */ ++ (nullable GULSceneDelegateInterceptorID)registerSceneDelegateInterceptor: + (id)interceptor API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Unregisters an interceptor with the given ID if it exists. + * + * @param interceptorID The object that was generated when the interceptor was registered. + */ ++ (void)unregisterSceneDelegateInterceptorWithID:(GULSceneDelegateInterceptorID)interceptorID + API_AVAILABLE(ios(13.0), tvos(13.0)); + +/** Do not initialize this class. */ +- (instancetype)init NS_UNAVAILABLE; + +#endif // UISCENE_SUPPORTED + +/** This method ensures that the original scene delegate has been proxied. Call this before + * registering your interceptor. This method is safe to call multiple times (but it only proxies + * the scene delegate once). + * + * The method has no effect for extensions. + */ ++ (void)proxyOriginalSceneDelegate; + +/** Indicates whether scene delegate proxy is explicitly disabled or enabled. Enabled by default. + * + * @return YES if SceneDelegateProxy is Enabled, NO otherwise. + */ ++ (BOOL)isSceneDelegateProxyEnabled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULUserDefaults.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULUserDefaults.h new file mode 100644 index 00000000000..83b23fa3cf2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GULUserDefaults.h @@ -0,0 +1,105 @@ +// Copyright 2018 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A thread-safe user defaults that uses C functions from CFPreferences.h instead of +/// `NSUserDefaults`. This is to avoid sending an `NSNotification` when it's changed from a +/// background thread to avoid crashing. // TODO: Insert radar number here. +@interface GULUserDefaults : NSObject + +/// A shared user defaults similar to +[NSUserDefaults standardUserDefaults] and accesses the same +/// data of the standardUserDefaults. ++ (GULUserDefaults *)standardUserDefaults; + +/// Initializes preferences with a suite name that is the same with the NSUserDefaults' suite name. +/// Both of CFPreferences and NSUserDefaults share the same plist file so their data will exactly +/// the same. +/// +/// @param suiteName The name of the suite of the user defaults. +- (instancetype)initWithSuiteName:(nullable NSString *)suiteName; + +#pragma mark - Getters + +/// Searches the receiver's search list for a default with the key 'defaultName' and return it. If +/// another process has changed defaults in the search list, NSUserDefaults will automatically +/// update to the latest values. If the key in question has been marked as ubiquitous via a Defaults +/// Configuration File, the latest value may not be immediately available, and the registered value +/// will be returned instead. +- (nullable id)objectForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value is not an NSArray. +- (nullable NSArray *)arrayForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will return nil if the value +/// is not an NSDictionary. +- (nullable NSDictionary *)dictionaryForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it will convert NSNumber values to their NSString +/// representation. If a non-string non-number value is found, nil will be returned. +- (nullable NSString *)stringForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to an NSInteger. If the +/// value is an NSNumber, the result of -integerValue will be returned. If the value is an NSString, +/// it will be converted to NSInteger if possible. If the value is a boolean, it will be converted +/// to either 1 for YES or 0 for NO. If the value is absent or can't be converted to an integer, 0 +/// will be returned. +- (NSInteger)integerForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a float, and boolean values will not be +/// converted. +- (float)floatForKey:(NSString *)defaultName; + +/// Similar to -integerForKey:, except that it returns a double, and boolean values will not be +/// converted. +- (double)doubleForKey:(NSString *)defaultName; + +/// Equivalent to -objectForKey:, except that it converts the returned value to a BOOL. If the value +/// is an NSNumber, NO will be returned if the value is 0, YES otherwise. If the value is an +/// NSString, values of "YES" or "1" will return YES, and values of "NO", "0", or any other string +/// will return NO. If the value is absent or can't be converted to a BOOL, NO will be returned. +- (BOOL)boolForKey:(NSString *)defaultName; + +#pragma mark - Setters + +/// Immediately stores a value (or removes the value if `nil` is passed as the value) for the +/// provided key in the search list entry for the receiver's suite name in the current user and any +/// host, then asynchronously stores the value persistently, where it is made available to other +/// processes. +- (void)setObject:(nullable id)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a float to an NSNumber. +- (void)setFloat:(float)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a double to an +/// NSNumber. +- (void)setDouble:(double)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from an NSInteger to an +/// NSNumber. +- (void)setInteger:(NSInteger)value forKey:(NSString *)defaultName; + +/// Equivalent to -setObject:forKey: except that the value is converted from a BOOL to an NSNumber. +- (void)setBool:(BOOL)value forKey:(NSString *)defaultName; + +#pragma mark - Removing Defaults + +/// Equivalent to -[... setObject:nil forKey:defaultName] +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h new file mode 100644 index 00000000000..92638e59c88 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h @@ -0,0 +1,34 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "GULAppDelegateSwizzler.h" +#import "GULApplication.h" +#import "GULSceneDelegateSwizzler.h" +#import "GULAppEnvironmentUtil.h" +#import "GULKeychainStorage.h" +#import "GULKeychainUtils.h" +#import "GULNetworkInfo.h" +#import "GULLogger.h" +#import "GULLoggerLevel.h" +#import "GULNSData+zlib.h" +#import "GULMutableDictionary.h" +#import "GULNetwork.h" +#import "GULNetworkConstants.h" +#import "GULNetworkLoggerProtocol.h" +#import "GULNetworkMessageCode.h" +#import "GULNetworkURLSession.h" +#import "GULReachabilityChecker.h" +#import "GULUserDefaults.h" + +FOUNDATION_EXPORT double GoogleUtilitiesVersionNumber; +FOUNDATION_EXPORT const unsigned char GoogleUtilitiesVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Info.plist new file mode 100644 index 00000000000..7f9ec656663 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + GoogleUtilities + CFBundleIdentifier + org.cocoapods.GoogleUtilities + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GoogleUtilities + CFBundlePackageType + FMWK + CFBundleShortVersionString + 8.0.2 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchsimulator + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchsimulator10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Modules/module.modulemap new file mode 100644 index 00000000000..c59631ab6f4 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/GoogleUtilities.xcframework/watchos-arm64_x86_64-simulator/GoogleUtilities.framework/Modules/module.modulemap @@ -0,0 +1,7 @@ +framework module GoogleUtilities { +umbrella header "GoogleUtilities-umbrella.h" +export * +module * { export * } + link framework "Security" + link "z" +} diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/Info.plist new file mode 100644 index 00000000000..d0b924affdc --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/Info.plist @@ -0,0 +1,139 @@ + + + + + AvailableLibraries + + + BinaryPath + nanopb.framework/Versions/A/nanopb + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + nanopb.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + BinaryPath + nanopb.framework/nanopb + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + nanopb.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + BinaryPath + nanopb.framework/nanopb + LibraryIdentifier + watchos-arm64_x86_64-simulator + LibraryPath + nanopb.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + watchos + SupportedPlatformVariant + simulator + + + BinaryPath + nanopb.framework/Versions/A/nanopb + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + nanopb.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + BinaryPath + nanopb.framework/nanopb + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + nanopb.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + nanopb.framework/nanopb + LibraryIdentifier + ios-arm64 + LibraryPath + nanopb.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + nanopb.framework/nanopb + LibraryIdentifier + tvos-arm64 + LibraryPath + nanopb.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + BinaryPath + nanopb.framework/nanopb + LibraryIdentifier + watchos-arm64_arm64_32 + LibraryPath + nanopb.framework + SupportedArchitectures + + arm64 + arm64_32 + + SupportedPlatform + watchos + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/nanopb-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/nanopb-umbrella.h new file mode 100644 index 00000000000..07e77b38a5f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/nanopb-umbrella.h @@ -0,0 +1,26 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "pb.h" +#import "pb_common.h" +#import "pb_decode.h" +#import "pb_encode.h" +#import "pb.h" +#import "pb_decode.h" +#import "pb_common.h" +#import "pb.h" +#import "pb_encode.h" +#import "pb_common.h" + +FOUNDATION_EXPORT double nanopbVersionNumber; +FOUNDATION_EXPORT const unsigned char nanopbVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/pb.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/pb.h new file mode 100644 index 00000000000..2bd45685029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/pb.h @@ -0,0 +1,599 @@ +/* Common parts of the nanopb library. Most of these are quite low-level + * stuff. For the high-level interface, see pb_encode.h and pb_decode.h. + */ + +#ifndef PB_H_INCLUDED +#define PB_H_INCLUDED + +/***************************************************************** + * Nanopb compilation time options. You can change these here by * + * uncommenting the lines, or on the compiler command line. * + *****************************************************************/ + +/* Enable support for dynamically allocated fields */ +/* #define PB_ENABLE_MALLOC 1 */ + +/* Define this if your CPU / compiler combination does not support + * unaligned memory access to packed structures. */ +/* #define PB_NO_PACKED_STRUCTS 1 */ + +/* Increase the number of required fields that are tracked. + * A compiler warning will tell if you need this. */ +/* #define PB_MAX_REQUIRED_FIELDS 256 */ + +/* Add support for tag numbers > 255 and fields larger than 255 bytes. */ +/* #define PB_FIELD_16BIT 1 */ + +/* Add support for tag numbers > 65536 and fields larger than 65536 bytes. */ +/* #define PB_FIELD_32BIT 1 */ + +/* Disable support for error messages in order to save some code space. */ +/* #define PB_NO_ERRMSG 1 */ + +/* Disable support for custom streams (support only memory buffers). */ +/* #define PB_BUFFER_ONLY 1 */ + +/* Switch back to the old-style callback function signature. + * This was the default until nanopb-0.2.1. */ +/* #define PB_OLD_CALLBACK_STYLE */ + + +/* Don't encode scalar arrays as packed. This is only to be used when + * the decoder on the receiving side cannot process packed scalar arrays. + * Such example is older protobuf.js. */ +/* #define PB_ENCODE_ARRAYS_UNPACKED 1 */ + +/****************************************************************** + * You usually don't need to change anything below this line. * + * Feel free to look around and use the defined macros, though. * + ******************************************************************/ + + +/* Version of the nanopb library. Just in case you want to check it in + * your own program. */ +#define NANOPB_VERSION nanopb-0.3.9.10 + +/* Include all the system headers needed by nanopb. You will need the + * definitions of the following: + * - strlen, memcpy, memset functions + * - [u]int_least8_t, uint_fast8_t, [u]int_least16_t, [u]int32_t, [u]int64_t + * - size_t + * - bool + * + * If you don't have the standard header files, you can instead provide + * a custom header that defines or includes all this. In that case, + * define PB_SYSTEM_HEADER to the path of this file. + */ +#ifdef PB_SYSTEM_HEADER +#include PB_SYSTEM_HEADER +#else +#include +#include +#include +#include + +#ifdef PB_ENABLE_MALLOC +#include +#endif +#endif + +/* Macro for defining packed structures (compiler dependent). + * This just reduces memory requirements, but is not required. + */ +#if defined(PB_NO_PACKED_STRUCTS) + /* Disable struct packing */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#elif defined(__GNUC__) || defined(__clang__) + /* For GCC and clang */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed __attribute__((packed)) +#elif defined(__ICCARM__) || defined(__CC_ARM) + /* For IAR ARM and Keil MDK-ARM compilers */ +# define PB_PACKED_STRUCT_START _Pragma("pack(push, 1)") +# define PB_PACKED_STRUCT_END _Pragma("pack(pop)") +# define pb_packed +#elif defined(_MSC_VER) && (_MSC_VER >= 1500) + /* For Microsoft Visual C++ */ +# define PB_PACKED_STRUCT_START __pragma(pack(push, 1)) +# define PB_PACKED_STRUCT_END __pragma(pack(pop)) +# define pb_packed +#else + /* Unknown compiler */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#endif + +/* Handly macro for suppressing unreferenced-parameter compiler warnings. */ +#ifndef PB_UNUSED +#define PB_UNUSED(x) (void)(x) +#endif + +/* Compile-time assertion, used for checking compatible compilation options. + * If this does not work properly on your compiler, use + * #define PB_NO_STATIC_ASSERT to disable it. + * + * But before doing that, check carefully the error message / place where it + * comes from to see if the error has a real cause. Unfortunately the error + * message is not always very clear to read, but you can see the reason better + * in the place where the PB_STATIC_ASSERT macro was called. + */ +#ifndef PB_NO_STATIC_ASSERT +#ifndef PB_STATIC_ASSERT +#define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1]; +#define PB_STATIC_ASSERT_MSG(MSG, LINE, COUNTER) PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) +#define PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) pb_static_assertion_##MSG##LINE##COUNTER +#endif +#else +#define PB_STATIC_ASSERT(COND,MSG) +#endif + +/* Number of required fields to keep track of. */ +#ifndef PB_MAX_REQUIRED_FIELDS +#define PB_MAX_REQUIRED_FIELDS 64 +#endif + +#if PB_MAX_REQUIRED_FIELDS < 64 +#error You should not lower PB_MAX_REQUIRED_FIELDS from the default value (64). +#endif + +/* List of possible field types. These are used in the autogenerated code. + * Least-significant 4 bits tell the scalar type + * Most-significant 4 bits specify repeated/required/packed etc. + */ + +typedef uint_least8_t pb_type_t; + +/**** Field data types ****/ + +/* Numeric types */ +#define PB_LTYPE_BOOL 0x00 /* bool */ +#define PB_LTYPE_VARINT 0x01 /* int32, int64, enum, bool */ +#define PB_LTYPE_UVARINT 0x02 /* uint32, uint64 */ +#define PB_LTYPE_SVARINT 0x03 /* sint32, sint64 */ +#define PB_LTYPE_FIXED32 0x04 /* fixed32, sfixed32, float */ +#define PB_LTYPE_FIXED64 0x05 /* fixed64, sfixed64, double */ + +/* Marker for last packable field type. */ +#define PB_LTYPE_LAST_PACKABLE 0x05 + +/* Byte array with pre-allocated buffer. + * data_size is the length of the allocated PB_BYTES_ARRAY structure. */ +#define PB_LTYPE_BYTES 0x06 + +/* String with pre-allocated buffer. + * data_size is the maximum length. */ +#define PB_LTYPE_STRING 0x07 + +/* Submessage + * submsg_fields is pointer to field descriptions */ +#define PB_LTYPE_SUBMESSAGE 0x08 + +/* Extension pseudo-field + * The field contains a pointer to pb_extension_t */ +#define PB_LTYPE_EXTENSION 0x09 + +/* Byte array with inline, pre-allocated byffer. + * data_size is the length of the inline, allocated buffer. + * This differs from PB_LTYPE_BYTES by defining the element as + * pb_byte_t[data_size] rather than pb_bytes_array_t. */ +#define PB_LTYPE_FIXED_LENGTH_BYTES 0x0A + +/* Number of declared LTYPES */ +#define PB_LTYPES_COUNT 0x0B +#define PB_LTYPE_MASK 0x0F + +/**** Field repetition rules ****/ + +#define PB_HTYPE_REQUIRED 0x00 +#define PB_HTYPE_OPTIONAL 0x10 +#define PB_HTYPE_REPEATED 0x20 +#define PB_HTYPE_ONEOF 0x30 +#define PB_HTYPE_MASK 0x30 + +/**** Field allocation types ****/ + +#define PB_ATYPE_STATIC 0x00 +#define PB_ATYPE_POINTER 0x80 +#define PB_ATYPE_CALLBACK 0x40 +#define PB_ATYPE_MASK 0xC0 + +#define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) +#define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) +#define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) + +/* Data type used for storing sizes of struct fields + * and array counts. + */ +#if defined(PB_FIELD_32BIT) + typedef uint32_t pb_size_t; + typedef int32_t pb_ssize_t; +#elif defined(PB_FIELD_16BIT) + typedef uint_least16_t pb_size_t; + typedef int_least16_t pb_ssize_t; +#else + typedef uint_least8_t pb_size_t; + typedef int_least8_t pb_ssize_t; +#endif +#define PB_SIZE_MAX ((pb_size_t)-1) + +/* Data type for storing encoded data and other byte streams. + * This typedef exists to support platforms where uint8_t does not exist. + * You can regard it as equivalent on uint8_t on other platforms. + */ +typedef uint_least8_t pb_byte_t; + +/* This structure is used in auto-generated constants + * to specify struct fields. + * You can change field sizes if you need structures + * larger than 256 bytes or field tags larger than 256. + * The compiler should complain if your .proto has such + * structures. Fix that by defining PB_FIELD_16BIT or + * PB_FIELD_32BIT. + */ +PB_PACKED_STRUCT_START +typedef struct pb_field_s pb_field_t; +struct pb_field_s { + pb_size_t tag; + pb_type_t type; + pb_size_t data_offset; /* Offset of field data, relative to previous field. */ + pb_ssize_t size_offset; /* Offset of array size or has-boolean, relative to data */ + pb_size_t data_size; /* Data size in bytes for a single item */ + pb_size_t array_size; /* Maximum number of entries in array */ + + /* Field definitions for submessage + * OR default value for all other non-array, non-callback types + * If null, then field will zeroed. */ + const void *ptr; +} pb_packed; +PB_PACKED_STRUCT_END + +/* Make sure that the standard integer types are of the expected sizes. + * Otherwise fixed32/fixed64 fields can break. + * + * If you get errors here, it probably means that your stdint.h is not + * correct for your platform. + */ +#ifndef PB_WITHOUT_64BIT +PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE) +PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE) +#endif + +/* This structure is used for 'bytes' arrays. + * It has the number of bytes in the beginning, and after that an array. + * Note that actual structs used will have a different length of bytes array. + */ +#define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } +#define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) + +struct pb_bytes_array_s { + pb_size_t size; + pb_byte_t bytes[1]; +}; +typedef struct pb_bytes_array_s pb_bytes_array_t; + +/* This structure is used for giving the callback function. + * It is stored in the message structure and filled in by the method that + * calls pb_decode. + * + * The decoding callback will be given a limited-length stream + * If the wire type was string, the length is the length of the string. + * If the wire type was a varint/fixed32/fixed64, the length is the length + * of the actual value. + * The function may be called multiple times (especially for repeated types, + * but also otherwise if the message happens to contain the field multiple + * times.) + * + * The encoding callback will receive the actual output stream. + * It should write all the data in one call, including the field tag and + * wire type. It can write multiple fields. + * + * The callback can be null if you want to skip a field. + */ +typedef struct pb_istream_s pb_istream_t; +typedef struct pb_ostream_s pb_ostream_t; +typedef struct pb_callback_s pb_callback_t; +struct pb_callback_s { +#ifdef PB_OLD_CALLBACK_STYLE + /* Deprecated since nanopb-0.2.1 */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void *arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, const void *arg); + } funcs; +#else + /* New function signature, which allows modifying arg contents in callback. */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void **arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, void * const *arg); + } funcs; +#endif + + /* Free arg for use by callback */ + void *arg; +}; + +/* Wire types. Library user needs these only in encoder callbacks. */ +typedef enum { + PB_WT_VARINT = 0, + PB_WT_64BIT = 1, + PB_WT_STRING = 2, + PB_WT_32BIT = 5 +} pb_wire_type_t; + +/* Structure for defining the handling of unknown/extension fields. + * Usually the pb_extension_type_t structure is automatically generated, + * while the pb_extension_t structure is created by the user. However, + * if you want to catch all unknown fields, you can also create a custom + * pb_extension_type_t with your own callback. + */ +typedef struct pb_extension_type_s pb_extension_type_t; +typedef struct pb_extension_s pb_extension_t; +struct pb_extension_type_s { + /* Called for each unknown field in the message. + * If you handle the field, read off all of its data and return true. + * If you do not handle the field, do not read anything and return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*decode)(pb_istream_t *stream, pb_extension_t *extension, + uint32_t tag, pb_wire_type_t wire_type); + + /* Called once after all regular fields have been encoded. + * If you have something to write, do so and return true. + * If you do not have anything to write, just return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*encode)(pb_ostream_t *stream, const pb_extension_t *extension); + + /* Free field for use by the callback. */ + const void *arg; +}; + +struct pb_extension_s { + /* Type describing the extension field. Usually you'll initialize + * this to a pointer to the automatically generated structure. */ + const pb_extension_type_t *type; + + /* Destination for the decoded data. This must match the datatype + * of the extension field. */ + void *dest; + + /* Pointer to the next extension handler, or NULL. + * If this extension does not match a field, the next handler is + * automatically called. */ + pb_extension_t *next; + + /* The decoder sets this to true if the extension was found. + * Ignored for encoding. */ + bool found; +}; + +/* Memory allocation functions to use. You can define pb_realloc and + * pb_free to custom functions if you want. */ +#ifdef PB_ENABLE_MALLOC +# ifndef pb_realloc +# define pb_realloc(ptr, size) realloc(ptr, size) +# endif +# ifndef pb_free +# define pb_free(ptr) free(ptr) +# endif +#endif + +/* This is used to inform about need to regenerate .pb.h/.pb.c files. */ +#define PB_PROTO_HEADER_VERSION 30 + +/* These macros are used to declare pb_field_t's in the constant array. */ +/* Size of a structure member, in bytes. */ +#define pb_membersize(st, m) (sizeof ((st*)0)->m) +/* Number of entries in an array. */ +#define pb_arraysize(st, m) (pb_membersize(st, m) / pb_membersize(st, m[0])) +/* Delta from start of one member to the start of another member. */ +#define pb_delta(st, m1, m2) ((int)offsetof(st, m1) - (int)offsetof(st, m2)) +/* Marks the end of the field list */ +#define PB_LAST_FIELD {0,(pb_type_t) 0,0,0,0,0,0} + +/* Macros for filling in the data_offset field */ +/* data_offset for first field in a message */ +#define PB_DATAOFFSET_FIRST(st, m1, m2) (offsetof(st, m1)) +/* data_offset for subsequent fields */ +#define PB_DATAOFFSET_OTHER(st, m1, m2) (offsetof(st, m1) - offsetof(st, m2) - pb_membersize(st, m2)) +/* data offset for subsequent fields inside an union (oneof) */ +#define PB_DATAOFFSET_UNION(st, m1, m2) (PB_SIZE_MAX) +/* Choose first/other based on m1 == m2 (deprecated, remains for backwards compatibility) */ +#define PB_DATAOFFSET_CHOOSE(st, m1, m2) (int)(offsetof(st, m1) == offsetof(st, m2) \ + ? PB_DATAOFFSET_FIRST(st, m1, m2) \ + : PB_DATAOFFSET_OTHER(st, m1, m2)) + +/* Required fields are the simplest. They just have delta (padding) from + * previous field end, and the size of the field. Pointer is used for + * submessages and default values. + */ +#define PB_REQUIRED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional fields add the delta to the has_ variable. */ +#define PB_OPTIONAL_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, \ + pb_delta(st, has_ ## m, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Repeated fields have a _count field and also the maximum number of entries. */ +#define PB_REPEATED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | ltype, \ + fd, \ + pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), \ + pb_arraysize(st, m), ptr} + +/* Allocated fields carry the size of the actual data, not the pointer */ +#define PB_REQUIRED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Optional fields don't need a has_ variable, as information would be redundant */ +#define PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Same as optional fields*/ +#define PB_SINGULAR_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Repeated fields have a _count field and a pointer to array of pointers */ +#define PB_REPEATED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REPEATED | ltype, \ + fd, pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), 0, ptr} + +/* Callbacks are much like required fields except with special datatype. */ +#define PB_REQUIRED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_REPEATED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REPEATED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional extensions don't have the has_ field, as that would be redundant. + * Furthermore, the combination of OPTIONAL without has_ field is used + * for indicating proto3 style fields. Extensions exist in proto2 mode only, + * so they should be encoded according to proto2 rules. To avoid the conflict, + * extensions are marked as REQUIRED instead. + */ +#define PB_OPTEXT_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + 0, \ + 0, \ + pb_membersize(st, m), 0, ptr} + +#define PB_OPTEXT_POINTER(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) + +#define PB_OPTEXT_CALLBACK(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) + +/* The mapping from protobuf types to LTYPEs is done using these macros. */ +#define PB_LTYPE_MAP_BOOL PB_LTYPE_BOOL +#define PB_LTYPE_MAP_BYTES PB_LTYPE_BYTES +#define PB_LTYPE_MAP_DOUBLE PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_ENUM PB_LTYPE_VARINT +#define PB_LTYPE_MAP_UENUM PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_FIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_FIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_FLOAT PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_INT32 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_INT64 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_MESSAGE PB_LTYPE_SUBMESSAGE +#define PB_LTYPE_MAP_SFIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_SFIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_SINT32 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_SINT64 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_STRING PB_LTYPE_STRING +#define PB_LTYPE_MAP_UINT32 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_UINT64 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_EXTENSION PB_LTYPE_EXTENSION +#define PB_LTYPE_MAP_FIXED_LENGTH_BYTES PB_LTYPE_FIXED_LENGTH_BYTES + +/* This is the actual macro used in field descriptions. + * It takes these arguments: + * - Field tag number + * - Field type: BOOL, BYTES, DOUBLE, ENUM, UENUM, FIXED32, FIXED64, + * FLOAT, INT32, INT64, MESSAGE, SFIXED32, SFIXED64 + * SINT32, SINT64, STRING, UINT32, UINT64 or EXTENSION + * - Field rules: REQUIRED, OPTIONAL or REPEATED + * - Allocation: STATIC, CALLBACK or POINTER + * - Placement: FIRST or OTHER, depending on if this is the first field in structure. + * - Message name + * - Field name + * - Previous field name (or field name again for first field) + * - Pointer to default value or submsg fields. + */ + +#define PB_FIELD(tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ ## rules ## _ ## allocation(tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* Field description for repeated static fixed count fields.*/ +#define PB_REPEATED_FIXED_COUNT(tag, type, placement, message, field, prevfield, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | PB_LTYPE_MAP_ ## type, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + 0, \ + pb_membersize(message, field[0]), \ + pb_arraysize(message, field), ptr} + +/* Field description for oneof fields. This requires taking into account the + * union name also, that's why a separate set of macros is needed. + */ +#define PB_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m), 0, ptr} + +#define PB_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m[0]), 0, ptr} + +#define PB_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, union_name.field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +#define PB_ANONYMOUS_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m[0]), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ANONYMOUS_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* These macros are used for giving out error messages. + * They are mostly a debugging aid; the main error information + * is the true/false return value from functions. + * Some code space can be saved by disabling the error + * messages if not used. + * + * PB_SET_ERROR() sets the error message if none has been set yet. + * msg must be a constant string literal. + * PB_GET_ERROR() always returns a pointer to a string. + * PB_RETURN_ERROR() sets the error and returns false from current + * function. + */ +#ifdef PB_NO_ERRMSG +#define PB_SET_ERROR(stream, msg) PB_UNUSED(stream) +#define PB_GET_ERROR(stream) "(errmsg disabled)" +#else +#define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg)) +#define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)") +#endif + +#define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/pb_common.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/pb_common.h new file mode 100644 index 00000000000..60b3d374914 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/pb_common.h @@ -0,0 +1,42 @@ +/* pb_common.h: Common support functions for pb_encode.c and pb_decode.c. + * These functions are rarely needed by applications directly. + */ + +#ifndef PB_COMMON_H_INCLUDED +#define PB_COMMON_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Iterator for pb_field_t list */ +struct pb_field_iter_s { + const pb_field_t *start; /* Start of the pb_field_t array */ + const pb_field_t *pos; /* Current position of the iterator */ + unsigned required_field_index; /* Zero-based index that counts only the required fields */ + void *dest_struct; /* Pointer to start of the structure */ + void *pData; /* Pointer to current field value */ + void *pSize; /* Pointer to count/has field */ +}; +typedef struct pb_field_iter_s pb_field_iter_t; + +/* Initialize the field iterator structure to beginning. + * Returns false if the message type is empty. */ +bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct); + +/* Advance the iterator to the next field. + * Returns false when the iterator wraps back to the first field. */ +bool pb_field_iter_next(pb_field_iter_t *iter); + +/* Advance the iterator until it points at a field with the given tag. + * Returns false if no such field exists. */ +bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/pb_decode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/pb_decode.h new file mode 100644 index 00000000000..3577c201661 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/pb_decode.h @@ -0,0 +1,178 @@ +/* pb_decode.h: Functions to decode protocol buffers. Depends on pb_decode.c. + * The main function is pb_decode. You also need an input stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_DECODE_H_INCLUDED +#define PB_DECODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom input streams. You will need to provide + * a callback function to read the bytes from your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause decoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer), + * and rely on pb_read to verify that no-body reads past bytes_left. + * 3) Your callback may be used with substreams, in which case bytes_left + * is different than from the main stream. Don't use bytes_left to compute + * any pointers. + */ +struct pb_istream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + */ + int *callback; +#else + bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count); +#endif + + void *state; /* Free field for use by callback implementation */ + size_t bytes_left; + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main decoding functions * + ***************************/ + +/* Decode a single protocol buffers message from input stream into a C structure. + * Returns true on success, false on any failure. + * The actual struct pointed to by dest must match the description in fields. + * Callback fields of the destination structure must be initialized by caller. + * All other fields will be initialized by this function. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_istream_t stream; + * + * // ... read some data into buffer ... + * + * stream = pb_istream_from_buffer(buffer, count); + * pb_decode(&stream, MyMessage_fields, &msg); + */ +bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except does not initialize the destination structure + * to default values. This is slightly faster if you need no default values + * and just do memset(struct, 0, sizeof(struct)) yourself. + * + * This can also be used for 'merging' two messages, i.e. update only the + * fields that exist in the new message. + * + * Note: If this function returns with an error, it will not release any + * dynamically allocated fields. You will need to call pb_release() yourself. + */ +bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except expects the stream to start with the message size + * encoded as varint. Corresponds to parseDelimitedFrom() in Google's + * protobuf API. + */ +bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode_delimited, except that it does not initialize the destination structure. + * See pb_decode_noinit + */ +bool pb_decode_delimited_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except allows the message to be terminated with a null byte. + * NOTE: Until nanopb-0.4.0, pb_decode() also allows null-termination. This behaviour + * is not supported in most other protobuf implementations, so pb_decode_delimited() + * is a better option for compatibility. + */ +bool pb_decode_nullterminated(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +#ifdef PB_ENABLE_MALLOC +/* Release any allocated pointer fields. If you use dynamic allocation, you should + * call this for any successfully decoded message when you are done with it. If + * pb_decode() returns with an error, the message is already released. + */ +void pb_release(const pb_field_t fields[], void *dest_struct); +#endif + + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an input stream for reading from a memory buffer. + * + * Alternatively, you can use a custom stream that reads directly from e.g. + * a file or a network socket. + */ +pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); + +/* Function to read from a pb_istream_t. You can use this if you need to + * read some custom header data, or to read data in field callbacks. + */ +bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Decode the tag for the next field in the stream. Gives the wire type and + * field tag. At end of the message, returns false and sets eof to true. */ +bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof); + +/* Skip the field payload data, given the wire type. */ +bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type); + +/* Decode an integer in the varint format. This works for enum, int32, + * int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); +#else +#define pb_decode_varint pb_decode_varint32 +#endif + +/* Decode an integer in the varint format. This works for enum, int32, + * and uint32 field types. */ +bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest); + +/* Decode a bool value in varint format. */ +bool pb_decode_bool(pb_istream_t *stream, bool *dest); + +/* Decode an integer in the zig-zagged svarint format. This works for sint32 + * and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_svarint(pb_istream_t *stream, int64_t *dest); +#else +bool pb_decode_svarint(pb_istream_t *stream, int32_t *dest); +#endif + +/* Decode a fixed32, sfixed32 or float value. You need to pass a pointer to + * a 4-byte wide C variable. */ +bool pb_decode_fixed32(pb_istream_t *stream, void *dest); + +#ifndef PB_WITHOUT_64BIT +/* Decode a fixed64, sfixed64 or double value. You need to pass a pointer to + * a 8-byte wide C variable. */ +bool pb_decode_fixed64(pb_istream_t *stream, void *dest); +#endif + +/* Make a limited-length substream for reading a PB_WT_STRING field. */ +bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream); +bool pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/pb_encode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/pb_encode.h new file mode 100644 index 00000000000..b1d822f3029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Headers/pb_encode.h @@ -0,0 +1,170 @@ +/* pb_encode.h: Functions to encode protocol buffers. Depends on pb_encode.c. + * The main function is pb_encode. You also need an output stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_ENCODE_H_INCLUDED +#define PB_ENCODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom output streams. You will need to provide + * a callback function to write the bytes to your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause encoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer). + * 3) pb_write will update bytes_written after your callback runs. + * 4) Substreams will modify max_size and bytes_written. Don't use them + * to calculate any pointers. + */ +struct pb_ostream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + * Also, NULL pointer marks a 'sizing stream' that does not + * write anything. + */ + int *callback; +#else + bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); +#endif + void *state; /* Free field for use by callback implementation. */ + size_t max_size; /* Limit number of output bytes written (or use SIZE_MAX). */ + size_t bytes_written; /* Number of bytes written so far. */ + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main encoding functions * + ***************************/ + +/* Encode a single protocol buffers message from C structure into a stream. + * Returns true on success, false on any failure. + * The actual struct pointed to by src_struct must match the description in fields. + * All required fields in the struct are assumed to have been filled in. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_ostream_t stream; + * + * msg.field1 = 42; + * stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); + * pb_encode(&stream, MyMessage_fields, &msg); + */ +bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but prepends the length of the message as a varint. + * Corresponds to writeDelimitedTo() in Google's protobuf API. + */ +bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but appends a null byte to the message for termination. + * NOTE: This behaviour is not supported in most other protobuf implementations, so pb_encode_delimited() + * is a better option for compatibility. + */ +bool pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Encode the message to get the size of the encoded data, but do not store + * the data. */ +bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct); + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an output stream for writing into a memory buffer. + * The number of bytes written can be found in stream.bytes_written after + * encoding the message. + * + * Alternatively, you can use a custom stream that writes directly to e.g. + * a file or a network socket. + */ +pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); + +/* Pseudo-stream for measuring the size of a message without actually storing + * the encoded data. + * + * Example usage: + * MyMessage msg = {}; + * pb_ostream_t stream = PB_OSTREAM_SIZING; + * pb_encode(&stream, MyMessage_fields, &msg); + * printf("Message size is %d\n", stream.bytes_written); + */ +#ifndef PB_NO_ERRMSG +#define PB_OSTREAM_SIZING {0,0,0,0,0} +#else +#define PB_OSTREAM_SIZING {0,0,0,0} +#endif + +/* Function to write into a pb_ostream_t stream. You can use this if you need + * to append or prepend some custom headers to the message. + */ +bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Encode field header based on type and field number defined in the field + * structure. Call this from the callback before writing out field contents. */ +bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field); + +/* Encode field header by manually specifying wire type. You need to use this + * if you want to write out packed arrays from a callback field. */ +bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number); + +/* Encode an integer in the varint format. + * This works for bool, enum, int32, int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_varint(pb_ostream_t *stream, uint64_t value); +#else +bool pb_encode_varint(pb_ostream_t *stream, uint32_t value); +#endif + +/* Encode an integer in the zig-zagged svarint format. + * This works for sint32 and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_svarint(pb_ostream_t *stream, int64_t value); +#else +bool pb_encode_svarint(pb_ostream_t *stream, int32_t value); +#endif + +/* Encode a string or bytes type field. For strings, pass strlen(s) as size. */ +bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size); + +/* Encode a fixed32, sfixed32 or float value. + * You need to pass a pointer to a 4-byte wide C variable. */ +bool pb_encode_fixed32(pb_ostream_t *stream, const void *value); + +#ifndef PB_WITHOUT_64BIT +/* Encode a fixed64, sfixed64 or double value. + * You need to pass a pointer to a 8-byte wide C variable. */ +bool pb_encode_fixed64(pb_ostream_t *stream, const void *value); +#endif + +/* Encode a submessage field. + * You need to pass the pb_field_t array and pointer to struct, just like + * with pb_encode(). This internally encodes the submessage twice, first to + * calculate message size and then to actually write it out. + */ +bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Info.plist new file mode 100644 index 00000000000..c36a0d691e8 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Info.plist @@ -0,0 +1,57 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + nanopb + CFBundleIdentifier + org.cocoapods.nanopb + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + nanopb + CFBundlePackageType + FMWK + CFBundleShortVersionString + 3.30910.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphoneos + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphoneos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Modules/module.modulemap new file mode 100644 index 00000000000..611ce4ca6bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module nanopb { +umbrella header "nanopb-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/nanopb b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/nanopb new file mode 100644 index 00000000000..0979f933379 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/nanopb differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/nanopb_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/nanopb_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..e4b3ff9b835 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/nanopb_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..72e00ac349a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,15 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/nanopb-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/nanopb-umbrella.h new file mode 100644 index 00000000000..07e77b38a5f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/nanopb-umbrella.h @@ -0,0 +1,26 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "pb.h" +#import "pb_common.h" +#import "pb_decode.h" +#import "pb_encode.h" +#import "pb.h" +#import "pb_decode.h" +#import "pb_common.h" +#import "pb.h" +#import "pb_encode.h" +#import "pb_common.h" + +FOUNDATION_EXPORT double nanopbVersionNumber; +FOUNDATION_EXPORT const unsigned char nanopbVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/pb.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/pb.h new file mode 100644 index 00000000000..2bd45685029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/pb.h @@ -0,0 +1,599 @@ +/* Common parts of the nanopb library. Most of these are quite low-level + * stuff. For the high-level interface, see pb_encode.h and pb_decode.h. + */ + +#ifndef PB_H_INCLUDED +#define PB_H_INCLUDED + +/***************************************************************** + * Nanopb compilation time options. You can change these here by * + * uncommenting the lines, or on the compiler command line. * + *****************************************************************/ + +/* Enable support for dynamically allocated fields */ +/* #define PB_ENABLE_MALLOC 1 */ + +/* Define this if your CPU / compiler combination does not support + * unaligned memory access to packed structures. */ +/* #define PB_NO_PACKED_STRUCTS 1 */ + +/* Increase the number of required fields that are tracked. + * A compiler warning will tell if you need this. */ +/* #define PB_MAX_REQUIRED_FIELDS 256 */ + +/* Add support for tag numbers > 255 and fields larger than 255 bytes. */ +/* #define PB_FIELD_16BIT 1 */ + +/* Add support for tag numbers > 65536 and fields larger than 65536 bytes. */ +/* #define PB_FIELD_32BIT 1 */ + +/* Disable support for error messages in order to save some code space. */ +/* #define PB_NO_ERRMSG 1 */ + +/* Disable support for custom streams (support only memory buffers). */ +/* #define PB_BUFFER_ONLY 1 */ + +/* Switch back to the old-style callback function signature. + * This was the default until nanopb-0.2.1. */ +/* #define PB_OLD_CALLBACK_STYLE */ + + +/* Don't encode scalar arrays as packed. This is only to be used when + * the decoder on the receiving side cannot process packed scalar arrays. + * Such example is older protobuf.js. */ +/* #define PB_ENCODE_ARRAYS_UNPACKED 1 */ + +/****************************************************************** + * You usually don't need to change anything below this line. * + * Feel free to look around and use the defined macros, though. * + ******************************************************************/ + + +/* Version of the nanopb library. Just in case you want to check it in + * your own program. */ +#define NANOPB_VERSION nanopb-0.3.9.10 + +/* Include all the system headers needed by nanopb. You will need the + * definitions of the following: + * - strlen, memcpy, memset functions + * - [u]int_least8_t, uint_fast8_t, [u]int_least16_t, [u]int32_t, [u]int64_t + * - size_t + * - bool + * + * If you don't have the standard header files, you can instead provide + * a custom header that defines or includes all this. In that case, + * define PB_SYSTEM_HEADER to the path of this file. + */ +#ifdef PB_SYSTEM_HEADER +#include PB_SYSTEM_HEADER +#else +#include +#include +#include +#include + +#ifdef PB_ENABLE_MALLOC +#include +#endif +#endif + +/* Macro for defining packed structures (compiler dependent). + * This just reduces memory requirements, but is not required. + */ +#if defined(PB_NO_PACKED_STRUCTS) + /* Disable struct packing */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#elif defined(__GNUC__) || defined(__clang__) + /* For GCC and clang */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed __attribute__((packed)) +#elif defined(__ICCARM__) || defined(__CC_ARM) + /* For IAR ARM and Keil MDK-ARM compilers */ +# define PB_PACKED_STRUCT_START _Pragma("pack(push, 1)") +# define PB_PACKED_STRUCT_END _Pragma("pack(pop)") +# define pb_packed +#elif defined(_MSC_VER) && (_MSC_VER >= 1500) + /* For Microsoft Visual C++ */ +# define PB_PACKED_STRUCT_START __pragma(pack(push, 1)) +# define PB_PACKED_STRUCT_END __pragma(pack(pop)) +# define pb_packed +#else + /* Unknown compiler */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#endif + +/* Handly macro for suppressing unreferenced-parameter compiler warnings. */ +#ifndef PB_UNUSED +#define PB_UNUSED(x) (void)(x) +#endif + +/* Compile-time assertion, used for checking compatible compilation options. + * If this does not work properly on your compiler, use + * #define PB_NO_STATIC_ASSERT to disable it. + * + * But before doing that, check carefully the error message / place where it + * comes from to see if the error has a real cause. Unfortunately the error + * message is not always very clear to read, but you can see the reason better + * in the place where the PB_STATIC_ASSERT macro was called. + */ +#ifndef PB_NO_STATIC_ASSERT +#ifndef PB_STATIC_ASSERT +#define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1]; +#define PB_STATIC_ASSERT_MSG(MSG, LINE, COUNTER) PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) +#define PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) pb_static_assertion_##MSG##LINE##COUNTER +#endif +#else +#define PB_STATIC_ASSERT(COND,MSG) +#endif + +/* Number of required fields to keep track of. */ +#ifndef PB_MAX_REQUIRED_FIELDS +#define PB_MAX_REQUIRED_FIELDS 64 +#endif + +#if PB_MAX_REQUIRED_FIELDS < 64 +#error You should not lower PB_MAX_REQUIRED_FIELDS from the default value (64). +#endif + +/* List of possible field types. These are used in the autogenerated code. + * Least-significant 4 bits tell the scalar type + * Most-significant 4 bits specify repeated/required/packed etc. + */ + +typedef uint_least8_t pb_type_t; + +/**** Field data types ****/ + +/* Numeric types */ +#define PB_LTYPE_BOOL 0x00 /* bool */ +#define PB_LTYPE_VARINT 0x01 /* int32, int64, enum, bool */ +#define PB_LTYPE_UVARINT 0x02 /* uint32, uint64 */ +#define PB_LTYPE_SVARINT 0x03 /* sint32, sint64 */ +#define PB_LTYPE_FIXED32 0x04 /* fixed32, sfixed32, float */ +#define PB_LTYPE_FIXED64 0x05 /* fixed64, sfixed64, double */ + +/* Marker for last packable field type. */ +#define PB_LTYPE_LAST_PACKABLE 0x05 + +/* Byte array with pre-allocated buffer. + * data_size is the length of the allocated PB_BYTES_ARRAY structure. */ +#define PB_LTYPE_BYTES 0x06 + +/* String with pre-allocated buffer. + * data_size is the maximum length. */ +#define PB_LTYPE_STRING 0x07 + +/* Submessage + * submsg_fields is pointer to field descriptions */ +#define PB_LTYPE_SUBMESSAGE 0x08 + +/* Extension pseudo-field + * The field contains a pointer to pb_extension_t */ +#define PB_LTYPE_EXTENSION 0x09 + +/* Byte array with inline, pre-allocated byffer. + * data_size is the length of the inline, allocated buffer. + * This differs from PB_LTYPE_BYTES by defining the element as + * pb_byte_t[data_size] rather than pb_bytes_array_t. */ +#define PB_LTYPE_FIXED_LENGTH_BYTES 0x0A + +/* Number of declared LTYPES */ +#define PB_LTYPES_COUNT 0x0B +#define PB_LTYPE_MASK 0x0F + +/**** Field repetition rules ****/ + +#define PB_HTYPE_REQUIRED 0x00 +#define PB_HTYPE_OPTIONAL 0x10 +#define PB_HTYPE_REPEATED 0x20 +#define PB_HTYPE_ONEOF 0x30 +#define PB_HTYPE_MASK 0x30 + +/**** Field allocation types ****/ + +#define PB_ATYPE_STATIC 0x00 +#define PB_ATYPE_POINTER 0x80 +#define PB_ATYPE_CALLBACK 0x40 +#define PB_ATYPE_MASK 0xC0 + +#define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) +#define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) +#define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) + +/* Data type used for storing sizes of struct fields + * and array counts. + */ +#if defined(PB_FIELD_32BIT) + typedef uint32_t pb_size_t; + typedef int32_t pb_ssize_t; +#elif defined(PB_FIELD_16BIT) + typedef uint_least16_t pb_size_t; + typedef int_least16_t pb_ssize_t; +#else + typedef uint_least8_t pb_size_t; + typedef int_least8_t pb_ssize_t; +#endif +#define PB_SIZE_MAX ((pb_size_t)-1) + +/* Data type for storing encoded data and other byte streams. + * This typedef exists to support platforms where uint8_t does not exist. + * You can regard it as equivalent on uint8_t on other platforms. + */ +typedef uint_least8_t pb_byte_t; + +/* This structure is used in auto-generated constants + * to specify struct fields. + * You can change field sizes if you need structures + * larger than 256 bytes or field tags larger than 256. + * The compiler should complain if your .proto has such + * structures. Fix that by defining PB_FIELD_16BIT or + * PB_FIELD_32BIT. + */ +PB_PACKED_STRUCT_START +typedef struct pb_field_s pb_field_t; +struct pb_field_s { + pb_size_t tag; + pb_type_t type; + pb_size_t data_offset; /* Offset of field data, relative to previous field. */ + pb_ssize_t size_offset; /* Offset of array size or has-boolean, relative to data */ + pb_size_t data_size; /* Data size in bytes for a single item */ + pb_size_t array_size; /* Maximum number of entries in array */ + + /* Field definitions for submessage + * OR default value for all other non-array, non-callback types + * If null, then field will zeroed. */ + const void *ptr; +} pb_packed; +PB_PACKED_STRUCT_END + +/* Make sure that the standard integer types are of the expected sizes. + * Otherwise fixed32/fixed64 fields can break. + * + * If you get errors here, it probably means that your stdint.h is not + * correct for your platform. + */ +#ifndef PB_WITHOUT_64BIT +PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE) +PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE) +#endif + +/* This structure is used for 'bytes' arrays. + * It has the number of bytes in the beginning, and after that an array. + * Note that actual structs used will have a different length of bytes array. + */ +#define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } +#define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) + +struct pb_bytes_array_s { + pb_size_t size; + pb_byte_t bytes[1]; +}; +typedef struct pb_bytes_array_s pb_bytes_array_t; + +/* This structure is used for giving the callback function. + * It is stored in the message structure and filled in by the method that + * calls pb_decode. + * + * The decoding callback will be given a limited-length stream + * If the wire type was string, the length is the length of the string. + * If the wire type was a varint/fixed32/fixed64, the length is the length + * of the actual value. + * The function may be called multiple times (especially for repeated types, + * but also otherwise if the message happens to contain the field multiple + * times.) + * + * The encoding callback will receive the actual output stream. + * It should write all the data in one call, including the field tag and + * wire type. It can write multiple fields. + * + * The callback can be null if you want to skip a field. + */ +typedef struct pb_istream_s pb_istream_t; +typedef struct pb_ostream_s pb_ostream_t; +typedef struct pb_callback_s pb_callback_t; +struct pb_callback_s { +#ifdef PB_OLD_CALLBACK_STYLE + /* Deprecated since nanopb-0.2.1 */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void *arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, const void *arg); + } funcs; +#else + /* New function signature, which allows modifying arg contents in callback. */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void **arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, void * const *arg); + } funcs; +#endif + + /* Free arg for use by callback */ + void *arg; +}; + +/* Wire types. Library user needs these only in encoder callbacks. */ +typedef enum { + PB_WT_VARINT = 0, + PB_WT_64BIT = 1, + PB_WT_STRING = 2, + PB_WT_32BIT = 5 +} pb_wire_type_t; + +/* Structure for defining the handling of unknown/extension fields. + * Usually the pb_extension_type_t structure is automatically generated, + * while the pb_extension_t structure is created by the user. However, + * if you want to catch all unknown fields, you can also create a custom + * pb_extension_type_t with your own callback. + */ +typedef struct pb_extension_type_s pb_extension_type_t; +typedef struct pb_extension_s pb_extension_t; +struct pb_extension_type_s { + /* Called for each unknown field in the message. + * If you handle the field, read off all of its data and return true. + * If you do not handle the field, do not read anything and return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*decode)(pb_istream_t *stream, pb_extension_t *extension, + uint32_t tag, pb_wire_type_t wire_type); + + /* Called once after all regular fields have been encoded. + * If you have something to write, do so and return true. + * If you do not have anything to write, just return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*encode)(pb_ostream_t *stream, const pb_extension_t *extension); + + /* Free field for use by the callback. */ + const void *arg; +}; + +struct pb_extension_s { + /* Type describing the extension field. Usually you'll initialize + * this to a pointer to the automatically generated structure. */ + const pb_extension_type_t *type; + + /* Destination for the decoded data. This must match the datatype + * of the extension field. */ + void *dest; + + /* Pointer to the next extension handler, or NULL. + * If this extension does not match a field, the next handler is + * automatically called. */ + pb_extension_t *next; + + /* The decoder sets this to true if the extension was found. + * Ignored for encoding. */ + bool found; +}; + +/* Memory allocation functions to use. You can define pb_realloc and + * pb_free to custom functions if you want. */ +#ifdef PB_ENABLE_MALLOC +# ifndef pb_realloc +# define pb_realloc(ptr, size) realloc(ptr, size) +# endif +# ifndef pb_free +# define pb_free(ptr) free(ptr) +# endif +#endif + +/* This is used to inform about need to regenerate .pb.h/.pb.c files. */ +#define PB_PROTO_HEADER_VERSION 30 + +/* These macros are used to declare pb_field_t's in the constant array. */ +/* Size of a structure member, in bytes. */ +#define pb_membersize(st, m) (sizeof ((st*)0)->m) +/* Number of entries in an array. */ +#define pb_arraysize(st, m) (pb_membersize(st, m) / pb_membersize(st, m[0])) +/* Delta from start of one member to the start of another member. */ +#define pb_delta(st, m1, m2) ((int)offsetof(st, m1) - (int)offsetof(st, m2)) +/* Marks the end of the field list */ +#define PB_LAST_FIELD {0,(pb_type_t) 0,0,0,0,0,0} + +/* Macros for filling in the data_offset field */ +/* data_offset for first field in a message */ +#define PB_DATAOFFSET_FIRST(st, m1, m2) (offsetof(st, m1)) +/* data_offset for subsequent fields */ +#define PB_DATAOFFSET_OTHER(st, m1, m2) (offsetof(st, m1) - offsetof(st, m2) - pb_membersize(st, m2)) +/* data offset for subsequent fields inside an union (oneof) */ +#define PB_DATAOFFSET_UNION(st, m1, m2) (PB_SIZE_MAX) +/* Choose first/other based on m1 == m2 (deprecated, remains for backwards compatibility) */ +#define PB_DATAOFFSET_CHOOSE(st, m1, m2) (int)(offsetof(st, m1) == offsetof(st, m2) \ + ? PB_DATAOFFSET_FIRST(st, m1, m2) \ + : PB_DATAOFFSET_OTHER(st, m1, m2)) + +/* Required fields are the simplest. They just have delta (padding) from + * previous field end, and the size of the field. Pointer is used for + * submessages and default values. + */ +#define PB_REQUIRED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional fields add the delta to the has_ variable. */ +#define PB_OPTIONAL_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, \ + pb_delta(st, has_ ## m, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Repeated fields have a _count field and also the maximum number of entries. */ +#define PB_REPEATED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | ltype, \ + fd, \ + pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), \ + pb_arraysize(st, m), ptr} + +/* Allocated fields carry the size of the actual data, not the pointer */ +#define PB_REQUIRED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Optional fields don't need a has_ variable, as information would be redundant */ +#define PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Same as optional fields*/ +#define PB_SINGULAR_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Repeated fields have a _count field and a pointer to array of pointers */ +#define PB_REPEATED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REPEATED | ltype, \ + fd, pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), 0, ptr} + +/* Callbacks are much like required fields except with special datatype. */ +#define PB_REQUIRED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_REPEATED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REPEATED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional extensions don't have the has_ field, as that would be redundant. + * Furthermore, the combination of OPTIONAL without has_ field is used + * for indicating proto3 style fields. Extensions exist in proto2 mode only, + * so they should be encoded according to proto2 rules. To avoid the conflict, + * extensions are marked as REQUIRED instead. + */ +#define PB_OPTEXT_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + 0, \ + 0, \ + pb_membersize(st, m), 0, ptr} + +#define PB_OPTEXT_POINTER(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) + +#define PB_OPTEXT_CALLBACK(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) + +/* The mapping from protobuf types to LTYPEs is done using these macros. */ +#define PB_LTYPE_MAP_BOOL PB_LTYPE_BOOL +#define PB_LTYPE_MAP_BYTES PB_LTYPE_BYTES +#define PB_LTYPE_MAP_DOUBLE PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_ENUM PB_LTYPE_VARINT +#define PB_LTYPE_MAP_UENUM PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_FIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_FIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_FLOAT PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_INT32 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_INT64 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_MESSAGE PB_LTYPE_SUBMESSAGE +#define PB_LTYPE_MAP_SFIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_SFIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_SINT32 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_SINT64 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_STRING PB_LTYPE_STRING +#define PB_LTYPE_MAP_UINT32 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_UINT64 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_EXTENSION PB_LTYPE_EXTENSION +#define PB_LTYPE_MAP_FIXED_LENGTH_BYTES PB_LTYPE_FIXED_LENGTH_BYTES + +/* This is the actual macro used in field descriptions. + * It takes these arguments: + * - Field tag number + * - Field type: BOOL, BYTES, DOUBLE, ENUM, UENUM, FIXED32, FIXED64, + * FLOAT, INT32, INT64, MESSAGE, SFIXED32, SFIXED64 + * SINT32, SINT64, STRING, UINT32, UINT64 or EXTENSION + * - Field rules: REQUIRED, OPTIONAL or REPEATED + * - Allocation: STATIC, CALLBACK or POINTER + * - Placement: FIRST or OTHER, depending on if this is the first field in structure. + * - Message name + * - Field name + * - Previous field name (or field name again for first field) + * - Pointer to default value or submsg fields. + */ + +#define PB_FIELD(tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ ## rules ## _ ## allocation(tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* Field description for repeated static fixed count fields.*/ +#define PB_REPEATED_FIXED_COUNT(tag, type, placement, message, field, prevfield, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | PB_LTYPE_MAP_ ## type, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + 0, \ + pb_membersize(message, field[0]), \ + pb_arraysize(message, field), ptr} + +/* Field description for oneof fields. This requires taking into account the + * union name also, that's why a separate set of macros is needed. + */ +#define PB_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m), 0, ptr} + +#define PB_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m[0]), 0, ptr} + +#define PB_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, union_name.field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +#define PB_ANONYMOUS_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m[0]), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ANONYMOUS_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* These macros are used for giving out error messages. + * They are mostly a debugging aid; the main error information + * is the true/false return value from functions. + * Some code space can be saved by disabling the error + * messages if not used. + * + * PB_SET_ERROR() sets the error message if none has been set yet. + * msg must be a constant string literal. + * PB_GET_ERROR() always returns a pointer to a string. + * PB_RETURN_ERROR() sets the error and returns false from current + * function. + */ +#ifdef PB_NO_ERRMSG +#define PB_SET_ERROR(stream, msg) PB_UNUSED(stream) +#define PB_GET_ERROR(stream) "(errmsg disabled)" +#else +#define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg)) +#define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)") +#endif + +#define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/pb_common.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/pb_common.h new file mode 100644 index 00000000000..60b3d374914 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/pb_common.h @@ -0,0 +1,42 @@ +/* pb_common.h: Common support functions for pb_encode.c and pb_decode.c. + * These functions are rarely needed by applications directly. + */ + +#ifndef PB_COMMON_H_INCLUDED +#define PB_COMMON_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Iterator for pb_field_t list */ +struct pb_field_iter_s { + const pb_field_t *start; /* Start of the pb_field_t array */ + const pb_field_t *pos; /* Current position of the iterator */ + unsigned required_field_index; /* Zero-based index that counts only the required fields */ + void *dest_struct; /* Pointer to start of the structure */ + void *pData; /* Pointer to current field value */ + void *pSize; /* Pointer to count/has field */ +}; +typedef struct pb_field_iter_s pb_field_iter_t; + +/* Initialize the field iterator structure to beginning. + * Returns false if the message type is empty. */ +bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct); + +/* Advance the iterator to the next field. + * Returns false when the iterator wraps back to the first field. */ +bool pb_field_iter_next(pb_field_iter_t *iter); + +/* Advance the iterator until it points at a field with the given tag. + * Returns false if no such field exists. */ +bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/pb_decode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/pb_decode.h new file mode 100644 index 00000000000..3577c201661 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/pb_decode.h @@ -0,0 +1,178 @@ +/* pb_decode.h: Functions to decode protocol buffers. Depends on pb_decode.c. + * The main function is pb_decode. You also need an input stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_DECODE_H_INCLUDED +#define PB_DECODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom input streams. You will need to provide + * a callback function to read the bytes from your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause decoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer), + * and rely on pb_read to verify that no-body reads past bytes_left. + * 3) Your callback may be used with substreams, in which case bytes_left + * is different than from the main stream. Don't use bytes_left to compute + * any pointers. + */ +struct pb_istream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + */ + int *callback; +#else + bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count); +#endif + + void *state; /* Free field for use by callback implementation */ + size_t bytes_left; + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main decoding functions * + ***************************/ + +/* Decode a single protocol buffers message from input stream into a C structure. + * Returns true on success, false on any failure. + * The actual struct pointed to by dest must match the description in fields. + * Callback fields of the destination structure must be initialized by caller. + * All other fields will be initialized by this function. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_istream_t stream; + * + * // ... read some data into buffer ... + * + * stream = pb_istream_from_buffer(buffer, count); + * pb_decode(&stream, MyMessage_fields, &msg); + */ +bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except does not initialize the destination structure + * to default values. This is slightly faster if you need no default values + * and just do memset(struct, 0, sizeof(struct)) yourself. + * + * This can also be used for 'merging' two messages, i.e. update only the + * fields that exist in the new message. + * + * Note: If this function returns with an error, it will not release any + * dynamically allocated fields. You will need to call pb_release() yourself. + */ +bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except expects the stream to start with the message size + * encoded as varint. Corresponds to parseDelimitedFrom() in Google's + * protobuf API. + */ +bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode_delimited, except that it does not initialize the destination structure. + * See pb_decode_noinit + */ +bool pb_decode_delimited_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except allows the message to be terminated with a null byte. + * NOTE: Until nanopb-0.4.0, pb_decode() also allows null-termination. This behaviour + * is not supported in most other protobuf implementations, so pb_decode_delimited() + * is a better option for compatibility. + */ +bool pb_decode_nullterminated(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +#ifdef PB_ENABLE_MALLOC +/* Release any allocated pointer fields. If you use dynamic allocation, you should + * call this for any successfully decoded message when you are done with it. If + * pb_decode() returns with an error, the message is already released. + */ +void pb_release(const pb_field_t fields[], void *dest_struct); +#endif + + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an input stream for reading from a memory buffer. + * + * Alternatively, you can use a custom stream that reads directly from e.g. + * a file or a network socket. + */ +pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); + +/* Function to read from a pb_istream_t. You can use this if you need to + * read some custom header data, or to read data in field callbacks. + */ +bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Decode the tag for the next field in the stream. Gives the wire type and + * field tag. At end of the message, returns false and sets eof to true. */ +bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof); + +/* Skip the field payload data, given the wire type. */ +bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type); + +/* Decode an integer in the varint format. This works for enum, int32, + * int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); +#else +#define pb_decode_varint pb_decode_varint32 +#endif + +/* Decode an integer in the varint format. This works for enum, int32, + * and uint32 field types. */ +bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest); + +/* Decode a bool value in varint format. */ +bool pb_decode_bool(pb_istream_t *stream, bool *dest); + +/* Decode an integer in the zig-zagged svarint format. This works for sint32 + * and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_svarint(pb_istream_t *stream, int64_t *dest); +#else +bool pb_decode_svarint(pb_istream_t *stream, int32_t *dest); +#endif + +/* Decode a fixed32, sfixed32 or float value. You need to pass a pointer to + * a 4-byte wide C variable. */ +bool pb_decode_fixed32(pb_istream_t *stream, void *dest); + +#ifndef PB_WITHOUT_64BIT +/* Decode a fixed64, sfixed64 or double value. You need to pass a pointer to + * a 8-byte wide C variable. */ +bool pb_decode_fixed64(pb_istream_t *stream, void *dest); +#endif + +/* Make a limited-length substream for reading a PB_WT_STRING field. */ +bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream); +bool pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/pb_encode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/pb_encode.h new file mode 100644 index 00000000000..b1d822f3029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Headers/pb_encode.h @@ -0,0 +1,170 @@ +/* pb_encode.h: Functions to encode protocol buffers. Depends on pb_encode.c. + * The main function is pb_encode. You also need an output stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_ENCODE_H_INCLUDED +#define PB_ENCODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom output streams. You will need to provide + * a callback function to write the bytes to your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause encoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer). + * 3) pb_write will update bytes_written after your callback runs. + * 4) Substreams will modify max_size and bytes_written. Don't use them + * to calculate any pointers. + */ +struct pb_ostream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + * Also, NULL pointer marks a 'sizing stream' that does not + * write anything. + */ + int *callback; +#else + bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); +#endif + void *state; /* Free field for use by callback implementation. */ + size_t max_size; /* Limit number of output bytes written (or use SIZE_MAX). */ + size_t bytes_written; /* Number of bytes written so far. */ + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main encoding functions * + ***************************/ + +/* Encode a single protocol buffers message from C structure into a stream. + * Returns true on success, false on any failure. + * The actual struct pointed to by src_struct must match the description in fields. + * All required fields in the struct are assumed to have been filled in. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_ostream_t stream; + * + * msg.field1 = 42; + * stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); + * pb_encode(&stream, MyMessage_fields, &msg); + */ +bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but prepends the length of the message as a varint. + * Corresponds to writeDelimitedTo() in Google's protobuf API. + */ +bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but appends a null byte to the message for termination. + * NOTE: This behaviour is not supported in most other protobuf implementations, so pb_encode_delimited() + * is a better option for compatibility. + */ +bool pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Encode the message to get the size of the encoded data, but do not store + * the data. */ +bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct); + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an output stream for writing into a memory buffer. + * The number of bytes written can be found in stream.bytes_written after + * encoding the message. + * + * Alternatively, you can use a custom stream that writes directly to e.g. + * a file or a network socket. + */ +pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); + +/* Pseudo-stream for measuring the size of a message without actually storing + * the encoded data. + * + * Example usage: + * MyMessage msg = {}; + * pb_ostream_t stream = PB_OSTREAM_SIZING; + * pb_encode(&stream, MyMessage_fields, &msg); + * printf("Message size is %d\n", stream.bytes_written); + */ +#ifndef PB_NO_ERRMSG +#define PB_OSTREAM_SIZING {0,0,0,0,0} +#else +#define PB_OSTREAM_SIZING {0,0,0,0} +#endif + +/* Function to write into a pb_ostream_t stream. You can use this if you need + * to append or prepend some custom headers to the message. + */ +bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Encode field header based on type and field number defined in the field + * structure. Call this from the callback before writing out field contents. */ +bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field); + +/* Encode field header by manually specifying wire type. You need to use this + * if you want to write out packed arrays from a callback field. */ +bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number); + +/* Encode an integer in the varint format. + * This works for bool, enum, int32, int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_varint(pb_ostream_t *stream, uint64_t value); +#else +bool pb_encode_varint(pb_ostream_t *stream, uint32_t value); +#endif + +/* Encode an integer in the zig-zagged svarint format. + * This works for sint32 and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_svarint(pb_ostream_t *stream, int64_t value); +#else +bool pb_encode_svarint(pb_ostream_t *stream, int32_t value); +#endif + +/* Encode a string or bytes type field. For strings, pass strlen(s) as size. */ +bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size); + +/* Encode a fixed32, sfixed32 or float value. + * You need to pass a pointer to a 4-byte wide C variable. */ +bool pb_encode_fixed32(pb_ostream_t *stream, const void *value); + +#ifndef PB_WITHOUT_64BIT +/* Encode a fixed64, sfixed64 or double value. + * You need to pass a pointer to a 8-byte wide C variable. */ +bool pb_encode_fixed64(pb_ostream_t *stream, const void *value); +#endif + +/* Encode a submessage field. + * You need to pass the pb_field_t array and pointer to struct, just like + * with pb_encode(). This internally encodes the submessage twice, first to + * calculate message size and then to actually write it out. + */ +bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..611ce4ca6bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module nanopb { +umbrella header "nanopb-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..cbc655c885d --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,54 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + nanopb + CFBundleIdentifier + org.cocoapods.nanopb + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + nanopb + CFBundlePackageType + FMWK + CFBundleShortVersionString + 3.30910.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Resources/nanopb_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Resources/nanopb_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..ecd7332bd8a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Resources/nanopb_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.nanopb-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + nanopb_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 3.30910.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Resources/nanopb_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Resources/nanopb_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..72e00ac349a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/Resources/nanopb_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,15 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/nanopb b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/nanopb new file mode 100644 index 00000000000..cf556ef7748 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/A/nanopb differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/nanopb b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/nanopb new file mode 120000 index 00000000000..cb46d12b453 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-maccatalyst/nanopb.framework/nanopb @@ -0,0 +1 @@ +Versions/Current/nanopb \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/nanopb-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/nanopb-umbrella.h new file mode 100644 index 00000000000..07e77b38a5f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/nanopb-umbrella.h @@ -0,0 +1,26 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "pb.h" +#import "pb_common.h" +#import "pb_decode.h" +#import "pb_encode.h" +#import "pb.h" +#import "pb_decode.h" +#import "pb_common.h" +#import "pb.h" +#import "pb_encode.h" +#import "pb_common.h" + +FOUNDATION_EXPORT double nanopbVersionNumber; +FOUNDATION_EXPORT const unsigned char nanopbVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/pb.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/pb.h new file mode 100644 index 00000000000..2bd45685029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/pb.h @@ -0,0 +1,599 @@ +/* Common parts of the nanopb library. Most of these are quite low-level + * stuff. For the high-level interface, see pb_encode.h and pb_decode.h. + */ + +#ifndef PB_H_INCLUDED +#define PB_H_INCLUDED + +/***************************************************************** + * Nanopb compilation time options. You can change these here by * + * uncommenting the lines, or on the compiler command line. * + *****************************************************************/ + +/* Enable support for dynamically allocated fields */ +/* #define PB_ENABLE_MALLOC 1 */ + +/* Define this if your CPU / compiler combination does not support + * unaligned memory access to packed structures. */ +/* #define PB_NO_PACKED_STRUCTS 1 */ + +/* Increase the number of required fields that are tracked. + * A compiler warning will tell if you need this. */ +/* #define PB_MAX_REQUIRED_FIELDS 256 */ + +/* Add support for tag numbers > 255 and fields larger than 255 bytes. */ +/* #define PB_FIELD_16BIT 1 */ + +/* Add support for tag numbers > 65536 and fields larger than 65536 bytes. */ +/* #define PB_FIELD_32BIT 1 */ + +/* Disable support for error messages in order to save some code space. */ +/* #define PB_NO_ERRMSG 1 */ + +/* Disable support for custom streams (support only memory buffers). */ +/* #define PB_BUFFER_ONLY 1 */ + +/* Switch back to the old-style callback function signature. + * This was the default until nanopb-0.2.1. */ +/* #define PB_OLD_CALLBACK_STYLE */ + + +/* Don't encode scalar arrays as packed. This is only to be used when + * the decoder on the receiving side cannot process packed scalar arrays. + * Such example is older protobuf.js. */ +/* #define PB_ENCODE_ARRAYS_UNPACKED 1 */ + +/****************************************************************** + * You usually don't need to change anything below this line. * + * Feel free to look around and use the defined macros, though. * + ******************************************************************/ + + +/* Version of the nanopb library. Just in case you want to check it in + * your own program. */ +#define NANOPB_VERSION nanopb-0.3.9.10 + +/* Include all the system headers needed by nanopb. You will need the + * definitions of the following: + * - strlen, memcpy, memset functions + * - [u]int_least8_t, uint_fast8_t, [u]int_least16_t, [u]int32_t, [u]int64_t + * - size_t + * - bool + * + * If you don't have the standard header files, you can instead provide + * a custom header that defines or includes all this. In that case, + * define PB_SYSTEM_HEADER to the path of this file. + */ +#ifdef PB_SYSTEM_HEADER +#include PB_SYSTEM_HEADER +#else +#include +#include +#include +#include + +#ifdef PB_ENABLE_MALLOC +#include +#endif +#endif + +/* Macro for defining packed structures (compiler dependent). + * This just reduces memory requirements, but is not required. + */ +#if defined(PB_NO_PACKED_STRUCTS) + /* Disable struct packing */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#elif defined(__GNUC__) || defined(__clang__) + /* For GCC and clang */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed __attribute__((packed)) +#elif defined(__ICCARM__) || defined(__CC_ARM) + /* For IAR ARM and Keil MDK-ARM compilers */ +# define PB_PACKED_STRUCT_START _Pragma("pack(push, 1)") +# define PB_PACKED_STRUCT_END _Pragma("pack(pop)") +# define pb_packed +#elif defined(_MSC_VER) && (_MSC_VER >= 1500) + /* For Microsoft Visual C++ */ +# define PB_PACKED_STRUCT_START __pragma(pack(push, 1)) +# define PB_PACKED_STRUCT_END __pragma(pack(pop)) +# define pb_packed +#else + /* Unknown compiler */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#endif + +/* Handly macro for suppressing unreferenced-parameter compiler warnings. */ +#ifndef PB_UNUSED +#define PB_UNUSED(x) (void)(x) +#endif + +/* Compile-time assertion, used for checking compatible compilation options. + * If this does not work properly on your compiler, use + * #define PB_NO_STATIC_ASSERT to disable it. + * + * But before doing that, check carefully the error message / place where it + * comes from to see if the error has a real cause. Unfortunately the error + * message is not always very clear to read, but you can see the reason better + * in the place where the PB_STATIC_ASSERT macro was called. + */ +#ifndef PB_NO_STATIC_ASSERT +#ifndef PB_STATIC_ASSERT +#define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1]; +#define PB_STATIC_ASSERT_MSG(MSG, LINE, COUNTER) PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) +#define PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) pb_static_assertion_##MSG##LINE##COUNTER +#endif +#else +#define PB_STATIC_ASSERT(COND,MSG) +#endif + +/* Number of required fields to keep track of. */ +#ifndef PB_MAX_REQUIRED_FIELDS +#define PB_MAX_REQUIRED_FIELDS 64 +#endif + +#if PB_MAX_REQUIRED_FIELDS < 64 +#error You should not lower PB_MAX_REQUIRED_FIELDS from the default value (64). +#endif + +/* List of possible field types. These are used in the autogenerated code. + * Least-significant 4 bits tell the scalar type + * Most-significant 4 bits specify repeated/required/packed etc. + */ + +typedef uint_least8_t pb_type_t; + +/**** Field data types ****/ + +/* Numeric types */ +#define PB_LTYPE_BOOL 0x00 /* bool */ +#define PB_LTYPE_VARINT 0x01 /* int32, int64, enum, bool */ +#define PB_LTYPE_UVARINT 0x02 /* uint32, uint64 */ +#define PB_LTYPE_SVARINT 0x03 /* sint32, sint64 */ +#define PB_LTYPE_FIXED32 0x04 /* fixed32, sfixed32, float */ +#define PB_LTYPE_FIXED64 0x05 /* fixed64, sfixed64, double */ + +/* Marker for last packable field type. */ +#define PB_LTYPE_LAST_PACKABLE 0x05 + +/* Byte array with pre-allocated buffer. + * data_size is the length of the allocated PB_BYTES_ARRAY structure. */ +#define PB_LTYPE_BYTES 0x06 + +/* String with pre-allocated buffer. + * data_size is the maximum length. */ +#define PB_LTYPE_STRING 0x07 + +/* Submessage + * submsg_fields is pointer to field descriptions */ +#define PB_LTYPE_SUBMESSAGE 0x08 + +/* Extension pseudo-field + * The field contains a pointer to pb_extension_t */ +#define PB_LTYPE_EXTENSION 0x09 + +/* Byte array with inline, pre-allocated byffer. + * data_size is the length of the inline, allocated buffer. + * This differs from PB_LTYPE_BYTES by defining the element as + * pb_byte_t[data_size] rather than pb_bytes_array_t. */ +#define PB_LTYPE_FIXED_LENGTH_BYTES 0x0A + +/* Number of declared LTYPES */ +#define PB_LTYPES_COUNT 0x0B +#define PB_LTYPE_MASK 0x0F + +/**** Field repetition rules ****/ + +#define PB_HTYPE_REQUIRED 0x00 +#define PB_HTYPE_OPTIONAL 0x10 +#define PB_HTYPE_REPEATED 0x20 +#define PB_HTYPE_ONEOF 0x30 +#define PB_HTYPE_MASK 0x30 + +/**** Field allocation types ****/ + +#define PB_ATYPE_STATIC 0x00 +#define PB_ATYPE_POINTER 0x80 +#define PB_ATYPE_CALLBACK 0x40 +#define PB_ATYPE_MASK 0xC0 + +#define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) +#define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) +#define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) + +/* Data type used for storing sizes of struct fields + * and array counts. + */ +#if defined(PB_FIELD_32BIT) + typedef uint32_t pb_size_t; + typedef int32_t pb_ssize_t; +#elif defined(PB_FIELD_16BIT) + typedef uint_least16_t pb_size_t; + typedef int_least16_t pb_ssize_t; +#else + typedef uint_least8_t pb_size_t; + typedef int_least8_t pb_ssize_t; +#endif +#define PB_SIZE_MAX ((pb_size_t)-1) + +/* Data type for storing encoded data and other byte streams. + * This typedef exists to support platforms where uint8_t does not exist. + * You can regard it as equivalent on uint8_t on other platforms. + */ +typedef uint_least8_t pb_byte_t; + +/* This structure is used in auto-generated constants + * to specify struct fields. + * You can change field sizes if you need structures + * larger than 256 bytes or field tags larger than 256. + * The compiler should complain if your .proto has such + * structures. Fix that by defining PB_FIELD_16BIT or + * PB_FIELD_32BIT. + */ +PB_PACKED_STRUCT_START +typedef struct pb_field_s pb_field_t; +struct pb_field_s { + pb_size_t tag; + pb_type_t type; + pb_size_t data_offset; /* Offset of field data, relative to previous field. */ + pb_ssize_t size_offset; /* Offset of array size or has-boolean, relative to data */ + pb_size_t data_size; /* Data size in bytes for a single item */ + pb_size_t array_size; /* Maximum number of entries in array */ + + /* Field definitions for submessage + * OR default value for all other non-array, non-callback types + * If null, then field will zeroed. */ + const void *ptr; +} pb_packed; +PB_PACKED_STRUCT_END + +/* Make sure that the standard integer types are of the expected sizes. + * Otherwise fixed32/fixed64 fields can break. + * + * If you get errors here, it probably means that your stdint.h is not + * correct for your platform. + */ +#ifndef PB_WITHOUT_64BIT +PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE) +PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE) +#endif + +/* This structure is used for 'bytes' arrays. + * It has the number of bytes in the beginning, and after that an array. + * Note that actual structs used will have a different length of bytes array. + */ +#define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } +#define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) + +struct pb_bytes_array_s { + pb_size_t size; + pb_byte_t bytes[1]; +}; +typedef struct pb_bytes_array_s pb_bytes_array_t; + +/* This structure is used for giving the callback function. + * It is stored in the message structure and filled in by the method that + * calls pb_decode. + * + * The decoding callback will be given a limited-length stream + * If the wire type was string, the length is the length of the string. + * If the wire type was a varint/fixed32/fixed64, the length is the length + * of the actual value. + * The function may be called multiple times (especially for repeated types, + * but also otherwise if the message happens to contain the field multiple + * times.) + * + * The encoding callback will receive the actual output stream. + * It should write all the data in one call, including the field tag and + * wire type. It can write multiple fields. + * + * The callback can be null if you want to skip a field. + */ +typedef struct pb_istream_s pb_istream_t; +typedef struct pb_ostream_s pb_ostream_t; +typedef struct pb_callback_s pb_callback_t; +struct pb_callback_s { +#ifdef PB_OLD_CALLBACK_STYLE + /* Deprecated since nanopb-0.2.1 */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void *arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, const void *arg); + } funcs; +#else + /* New function signature, which allows modifying arg contents in callback. */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void **arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, void * const *arg); + } funcs; +#endif + + /* Free arg for use by callback */ + void *arg; +}; + +/* Wire types. Library user needs these only in encoder callbacks. */ +typedef enum { + PB_WT_VARINT = 0, + PB_WT_64BIT = 1, + PB_WT_STRING = 2, + PB_WT_32BIT = 5 +} pb_wire_type_t; + +/* Structure for defining the handling of unknown/extension fields. + * Usually the pb_extension_type_t structure is automatically generated, + * while the pb_extension_t structure is created by the user. However, + * if you want to catch all unknown fields, you can also create a custom + * pb_extension_type_t with your own callback. + */ +typedef struct pb_extension_type_s pb_extension_type_t; +typedef struct pb_extension_s pb_extension_t; +struct pb_extension_type_s { + /* Called for each unknown field in the message. + * If you handle the field, read off all of its data and return true. + * If you do not handle the field, do not read anything and return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*decode)(pb_istream_t *stream, pb_extension_t *extension, + uint32_t tag, pb_wire_type_t wire_type); + + /* Called once after all regular fields have been encoded. + * If you have something to write, do so and return true. + * If you do not have anything to write, just return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*encode)(pb_ostream_t *stream, const pb_extension_t *extension); + + /* Free field for use by the callback. */ + const void *arg; +}; + +struct pb_extension_s { + /* Type describing the extension field. Usually you'll initialize + * this to a pointer to the automatically generated structure. */ + const pb_extension_type_t *type; + + /* Destination for the decoded data. This must match the datatype + * of the extension field. */ + void *dest; + + /* Pointer to the next extension handler, or NULL. + * If this extension does not match a field, the next handler is + * automatically called. */ + pb_extension_t *next; + + /* The decoder sets this to true if the extension was found. + * Ignored for encoding. */ + bool found; +}; + +/* Memory allocation functions to use. You can define pb_realloc and + * pb_free to custom functions if you want. */ +#ifdef PB_ENABLE_MALLOC +# ifndef pb_realloc +# define pb_realloc(ptr, size) realloc(ptr, size) +# endif +# ifndef pb_free +# define pb_free(ptr) free(ptr) +# endif +#endif + +/* This is used to inform about need to regenerate .pb.h/.pb.c files. */ +#define PB_PROTO_HEADER_VERSION 30 + +/* These macros are used to declare pb_field_t's in the constant array. */ +/* Size of a structure member, in bytes. */ +#define pb_membersize(st, m) (sizeof ((st*)0)->m) +/* Number of entries in an array. */ +#define pb_arraysize(st, m) (pb_membersize(st, m) / pb_membersize(st, m[0])) +/* Delta from start of one member to the start of another member. */ +#define pb_delta(st, m1, m2) ((int)offsetof(st, m1) - (int)offsetof(st, m2)) +/* Marks the end of the field list */ +#define PB_LAST_FIELD {0,(pb_type_t) 0,0,0,0,0,0} + +/* Macros for filling in the data_offset field */ +/* data_offset for first field in a message */ +#define PB_DATAOFFSET_FIRST(st, m1, m2) (offsetof(st, m1)) +/* data_offset for subsequent fields */ +#define PB_DATAOFFSET_OTHER(st, m1, m2) (offsetof(st, m1) - offsetof(st, m2) - pb_membersize(st, m2)) +/* data offset for subsequent fields inside an union (oneof) */ +#define PB_DATAOFFSET_UNION(st, m1, m2) (PB_SIZE_MAX) +/* Choose first/other based on m1 == m2 (deprecated, remains for backwards compatibility) */ +#define PB_DATAOFFSET_CHOOSE(st, m1, m2) (int)(offsetof(st, m1) == offsetof(st, m2) \ + ? PB_DATAOFFSET_FIRST(st, m1, m2) \ + : PB_DATAOFFSET_OTHER(st, m1, m2)) + +/* Required fields are the simplest. They just have delta (padding) from + * previous field end, and the size of the field. Pointer is used for + * submessages and default values. + */ +#define PB_REQUIRED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional fields add the delta to the has_ variable. */ +#define PB_OPTIONAL_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, \ + pb_delta(st, has_ ## m, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Repeated fields have a _count field and also the maximum number of entries. */ +#define PB_REPEATED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | ltype, \ + fd, \ + pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), \ + pb_arraysize(st, m), ptr} + +/* Allocated fields carry the size of the actual data, not the pointer */ +#define PB_REQUIRED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Optional fields don't need a has_ variable, as information would be redundant */ +#define PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Same as optional fields*/ +#define PB_SINGULAR_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Repeated fields have a _count field and a pointer to array of pointers */ +#define PB_REPEATED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REPEATED | ltype, \ + fd, pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), 0, ptr} + +/* Callbacks are much like required fields except with special datatype. */ +#define PB_REQUIRED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_REPEATED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REPEATED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional extensions don't have the has_ field, as that would be redundant. + * Furthermore, the combination of OPTIONAL without has_ field is used + * for indicating proto3 style fields. Extensions exist in proto2 mode only, + * so they should be encoded according to proto2 rules. To avoid the conflict, + * extensions are marked as REQUIRED instead. + */ +#define PB_OPTEXT_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + 0, \ + 0, \ + pb_membersize(st, m), 0, ptr} + +#define PB_OPTEXT_POINTER(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) + +#define PB_OPTEXT_CALLBACK(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) + +/* The mapping from protobuf types to LTYPEs is done using these macros. */ +#define PB_LTYPE_MAP_BOOL PB_LTYPE_BOOL +#define PB_LTYPE_MAP_BYTES PB_LTYPE_BYTES +#define PB_LTYPE_MAP_DOUBLE PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_ENUM PB_LTYPE_VARINT +#define PB_LTYPE_MAP_UENUM PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_FIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_FIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_FLOAT PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_INT32 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_INT64 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_MESSAGE PB_LTYPE_SUBMESSAGE +#define PB_LTYPE_MAP_SFIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_SFIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_SINT32 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_SINT64 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_STRING PB_LTYPE_STRING +#define PB_LTYPE_MAP_UINT32 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_UINT64 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_EXTENSION PB_LTYPE_EXTENSION +#define PB_LTYPE_MAP_FIXED_LENGTH_BYTES PB_LTYPE_FIXED_LENGTH_BYTES + +/* This is the actual macro used in field descriptions. + * It takes these arguments: + * - Field tag number + * - Field type: BOOL, BYTES, DOUBLE, ENUM, UENUM, FIXED32, FIXED64, + * FLOAT, INT32, INT64, MESSAGE, SFIXED32, SFIXED64 + * SINT32, SINT64, STRING, UINT32, UINT64 or EXTENSION + * - Field rules: REQUIRED, OPTIONAL or REPEATED + * - Allocation: STATIC, CALLBACK or POINTER + * - Placement: FIRST or OTHER, depending on if this is the first field in structure. + * - Message name + * - Field name + * - Previous field name (or field name again for first field) + * - Pointer to default value or submsg fields. + */ + +#define PB_FIELD(tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ ## rules ## _ ## allocation(tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* Field description for repeated static fixed count fields.*/ +#define PB_REPEATED_FIXED_COUNT(tag, type, placement, message, field, prevfield, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | PB_LTYPE_MAP_ ## type, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + 0, \ + pb_membersize(message, field[0]), \ + pb_arraysize(message, field), ptr} + +/* Field description for oneof fields. This requires taking into account the + * union name also, that's why a separate set of macros is needed. + */ +#define PB_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m), 0, ptr} + +#define PB_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m[0]), 0, ptr} + +#define PB_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, union_name.field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +#define PB_ANONYMOUS_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m[0]), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ANONYMOUS_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* These macros are used for giving out error messages. + * They are mostly a debugging aid; the main error information + * is the true/false return value from functions. + * Some code space can be saved by disabling the error + * messages if not used. + * + * PB_SET_ERROR() sets the error message if none has been set yet. + * msg must be a constant string literal. + * PB_GET_ERROR() always returns a pointer to a string. + * PB_RETURN_ERROR() sets the error and returns false from current + * function. + */ +#ifdef PB_NO_ERRMSG +#define PB_SET_ERROR(stream, msg) PB_UNUSED(stream) +#define PB_GET_ERROR(stream) "(errmsg disabled)" +#else +#define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg)) +#define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)") +#endif + +#define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/pb_common.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/pb_common.h new file mode 100644 index 00000000000..60b3d374914 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/pb_common.h @@ -0,0 +1,42 @@ +/* pb_common.h: Common support functions for pb_encode.c and pb_decode.c. + * These functions are rarely needed by applications directly. + */ + +#ifndef PB_COMMON_H_INCLUDED +#define PB_COMMON_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Iterator for pb_field_t list */ +struct pb_field_iter_s { + const pb_field_t *start; /* Start of the pb_field_t array */ + const pb_field_t *pos; /* Current position of the iterator */ + unsigned required_field_index; /* Zero-based index that counts only the required fields */ + void *dest_struct; /* Pointer to start of the structure */ + void *pData; /* Pointer to current field value */ + void *pSize; /* Pointer to count/has field */ +}; +typedef struct pb_field_iter_s pb_field_iter_t; + +/* Initialize the field iterator structure to beginning. + * Returns false if the message type is empty. */ +bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct); + +/* Advance the iterator to the next field. + * Returns false when the iterator wraps back to the first field. */ +bool pb_field_iter_next(pb_field_iter_t *iter); + +/* Advance the iterator until it points at a field with the given tag. + * Returns false if no such field exists. */ +bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/pb_decode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/pb_decode.h new file mode 100644 index 00000000000..3577c201661 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/pb_decode.h @@ -0,0 +1,178 @@ +/* pb_decode.h: Functions to decode protocol buffers. Depends on pb_decode.c. + * The main function is pb_decode. You also need an input stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_DECODE_H_INCLUDED +#define PB_DECODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom input streams. You will need to provide + * a callback function to read the bytes from your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause decoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer), + * and rely on pb_read to verify that no-body reads past bytes_left. + * 3) Your callback may be used with substreams, in which case bytes_left + * is different than from the main stream. Don't use bytes_left to compute + * any pointers. + */ +struct pb_istream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + */ + int *callback; +#else + bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count); +#endif + + void *state; /* Free field for use by callback implementation */ + size_t bytes_left; + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main decoding functions * + ***************************/ + +/* Decode a single protocol buffers message from input stream into a C structure. + * Returns true on success, false on any failure. + * The actual struct pointed to by dest must match the description in fields. + * Callback fields of the destination structure must be initialized by caller. + * All other fields will be initialized by this function. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_istream_t stream; + * + * // ... read some data into buffer ... + * + * stream = pb_istream_from_buffer(buffer, count); + * pb_decode(&stream, MyMessage_fields, &msg); + */ +bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except does not initialize the destination structure + * to default values. This is slightly faster if you need no default values + * and just do memset(struct, 0, sizeof(struct)) yourself. + * + * This can also be used for 'merging' two messages, i.e. update only the + * fields that exist in the new message. + * + * Note: If this function returns with an error, it will not release any + * dynamically allocated fields. You will need to call pb_release() yourself. + */ +bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except expects the stream to start with the message size + * encoded as varint. Corresponds to parseDelimitedFrom() in Google's + * protobuf API. + */ +bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode_delimited, except that it does not initialize the destination structure. + * See pb_decode_noinit + */ +bool pb_decode_delimited_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except allows the message to be terminated with a null byte. + * NOTE: Until nanopb-0.4.0, pb_decode() also allows null-termination. This behaviour + * is not supported in most other protobuf implementations, so pb_decode_delimited() + * is a better option for compatibility. + */ +bool pb_decode_nullterminated(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +#ifdef PB_ENABLE_MALLOC +/* Release any allocated pointer fields. If you use dynamic allocation, you should + * call this for any successfully decoded message when you are done with it. If + * pb_decode() returns with an error, the message is already released. + */ +void pb_release(const pb_field_t fields[], void *dest_struct); +#endif + + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an input stream for reading from a memory buffer. + * + * Alternatively, you can use a custom stream that reads directly from e.g. + * a file or a network socket. + */ +pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); + +/* Function to read from a pb_istream_t. You can use this if you need to + * read some custom header data, or to read data in field callbacks. + */ +bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Decode the tag for the next field in the stream. Gives the wire type and + * field tag. At end of the message, returns false and sets eof to true. */ +bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof); + +/* Skip the field payload data, given the wire type. */ +bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type); + +/* Decode an integer in the varint format. This works for enum, int32, + * int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); +#else +#define pb_decode_varint pb_decode_varint32 +#endif + +/* Decode an integer in the varint format. This works for enum, int32, + * and uint32 field types. */ +bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest); + +/* Decode a bool value in varint format. */ +bool pb_decode_bool(pb_istream_t *stream, bool *dest); + +/* Decode an integer in the zig-zagged svarint format. This works for sint32 + * and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_svarint(pb_istream_t *stream, int64_t *dest); +#else +bool pb_decode_svarint(pb_istream_t *stream, int32_t *dest); +#endif + +/* Decode a fixed32, sfixed32 or float value. You need to pass a pointer to + * a 4-byte wide C variable. */ +bool pb_decode_fixed32(pb_istream_t *stream, void *dest); + +#ifndef PB_WITHOUT_64BIT +/* Decode a fixed64, sfixed64 or double value. You need to pass a pointer to + * a 8-byte wide C variable. */ +bool pb_decode_fixed64(pb_istream_t *stream, void *dest); +#endif + +/* Make a limited-length substream for reading a PB_WT_STRING field. */ +bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream); +bool pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/pb_encode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/pb_encode.h new file mode 100644 index 00000000000..b1d822f3029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Headers/pb_encode.h @@ -0,0 +1,170 @@ +/* pb_encode.h: Functions to encode protocol buffers. Depends on pb_encode.c. + * The main function is pb_encode. You also need an output stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_ENCODE_H_INCLUDED +#define PB_ENCODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom output streams. You will need to provide + * a callback function to write the bytes to your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause encoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer). + * 3) pb_write will update bytes_written after your callback runs. + * 4) Substreams will modify max_size and bytes_written. Don't use them + * to calculate any pointers. + */ +struct pb_ostream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + * Also, NULL pointer marks a 'sizing stream' that does not + * write anything. + */ + int *callback; +#else + bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); +#endif + void *state; /* Free field for use by callback implementation. */ + size_t max_size; /* Limit number of output bytes written (or use SIZE_MAX). */ + size_t bytes_written; /* Number of bytes written so far. */ + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main encoding functions * + ***************************/ + +/* Encode a single protocol buffers message from C structure into a stream. + * Returns true on success, false on any failure. + * The actual struct pointed to by src_struct must match the description in fields. + * All required fields in the struct are assumed to have been filled in. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_ostream_t stream; + * + * msg.field1 = 42; + * stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); + * pb_encode(&stream, MyMessage_fields, &msg); + */ +bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but prepends the length of the message as a varint. + * Corresponds to writeDelimitedTo() in Google's protobuf API. + */ +bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but appends a null byte to the message for termination. + * NOTE: This behaviour is not supported in most other protobuf implementations, so pb_encode_delimited() + * is a better option for compatibility. + */ +bool pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Encode the message to get the size of the encoded data, but do not store + * the data. */ +bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct); + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an output stream for writing into a memory buffer. + * The number of bytes written can be found in stream.bytes_written after + * encoding the message. + * + * Alternatively, you can use a custom stream that writes directly to e.g. + * a file or a network socket. + */ +pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); + +/* Pseudo-stream for measuring the size of a message without actually storing + * the encoded data. + * + * Example usage: + * MyMessage msg = {}; + * pb_ostream_t stream = PB_OSTREAM_SIZING; + * pb_encode(&stream, MyMessage_fields, &msg); + * printf("Message size is %d\n", stream.bytes_written); + */ +#ifndef PB_NO_ERRMSG +#define PB_OSTREAM_SIZING {0,0,0,0,0} +#else +#define PB_OSTREAM_SIZING {0,0,0,0} +#endif + +/* Function to write into a pb_ostream_t stream. You can use this if you need + * to append or prepend some custom headers to the message. + */ +bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Encode field header based on type and field number defined in the field + * structure. Call this from the callback before writing out field contents. */ +bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field); + +/* Encode field header by manually specifying wire type. You need to use this + * if you want to write out packed arrays from a callback field. */ +bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number); + +/* Encode an integer in the varint format. + * This works for bool, enum, int32, int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_varint(pb_ostream_t *stream, uint64_t value); +#else +bool pb_encode_varint(pb_ostream_t *stream, uint32_t value); +#endif + +/* Encode an integer in the zig-zagged svarint format. + * This works for sint32 and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_svarint(pb_ostream_t *stream, int64_t value); +#else +bool pb_encode_svarint(pb_ostream_t *stream, int32_t value); +#endif + +/* Encode a string or bytes type field. For strings, pass strlen(s) as size. */ +bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size); + +/* Encode a fixed32, sfixed32 or float value. + * You need to pass a pointer to a 4-byte wide C variable. */ +bool pb_encode_fixed32(pb_ostream_t *stream, const void *value); + +#ifndef PB_WITHOUT_64BIT +/* Encode a fixed64, sfixed64 or double value. + * You need to pass a pointer to a 8-byte wide C variable. */ +bool pb_encode_fixed64(pb_ostream_t *stream, const void *value); +#endif + +/* Encode a submessage field. + * You need to pass the pb_field_t array and pointer to struct, just like + * with pb_encode(). This internally encodes the submessage twice, first to + * calculate message size and then to actually write it out. + */ +bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Info.plist new file mode 100644 index 00000000000..db206c7fe37 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Info.plist @@ -0,0 +1,53 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + nanopb + CFBundleIdentifier + org.cocoapods.nanopb + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + nanopb + CFBundlePackageType + FMWK + CFBundleShortVersionString + 3.30910.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21C52 + DTPlatformName + iphonesimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21C52 + DTSDKName + iphonesimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 1 + 2 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Modules/module.modulemap new file mode 100644 index 00000000000..611ce4ca6bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module nanopb { +umbrella header "nanopb-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/nanopb b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/nanopb new file mode 100644 index 00000000000..e295002d8d7 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/nanopb differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..24cf22d4777 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..72e00ac349a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/ios-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,15 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Headers b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Headers new file mode 120000 index 00000000000..a177d2a6b92 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Modules b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Modules new file mode 120000 index 00000000000..5736f3186e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Resources b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Resources new file mode 120000 index 00000000000..953ee36f3bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/nanopb-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/nanopb-umbrella.h new file mode 100644 index 00000000000..6d7e31e1b89 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/nanopb-umbrella.h @@ -0,0 +1,26 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "pb.h" +#import "pb_common.h" +#import "pb_decode.h" +#import "pb_encode.h" +#import "pb.h" +#import "pb_decode.h" +#import "pb_common.h" +#import "pb.h" +#import "pb_encode.h" +#import "pb_common.h" + +FOUNDATION_EXPORT double nanopbVersionNumber; +FOUNDATION_EXPORT const unsigned char nanopbVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/pb.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/pb.h new file mode 100644 index 00000000000..2bd45685029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/pb.h @@ -0,0 +1,599 @@ +/* Common parts of the nanopb library. Most of these are quite low-level + * stuff. For the high-level interface, see pb_encode.h and pb_decode.h. + */ + +#ifndef PB_H_INCLUDED +#define PB_H_INCLUDED + +/***************************************************************** + * Nanopb compilation time options. You can change these here by * + * uncommenting the lines, or on the compiler command line. * + *****************************************************************/ + +/* Enable support for dynamically allocated fields */ +/* #define PB_ENABLE_MALLOC 1 */ + +/* Define this if your CPU / compiler combination does not support + * unaligned memory access to packed structures. */ +/* #define PB_NO_PACKED_STRUCTS 1 */ + +/* Increase the number of required fields that are tracked. + * A compiler warning will tell if you need this. */ +/* #define PB_MAX_REQUIRED_FIELDS 256 */ + +/* Add support for tag numbers > 255 and fields larger than 255 bytes. */ +/* #define PB_FIELD_16BIT 1 */ + +/* Add support for tag numbers > 65536 and fields larger than 65536 bytes. */ +/* #define PB_FIELD_32BIT 1 */ + +/* Disable support for error messages in order to save some code space. */ +/* #define PB_NO_ERRMSG 1 */ + +/* Disable support for custom streams (support only memory buffers). */ +/* #define PB_BUFFER_ONLY 1 */ + +/* Switch back to the old-style callback function signature. + * This was the default until nanopb-0.2.1. */ +/* #define PB_OLD_CALLBACK_STYLE */ + + +/* Don't encode scalar arrays as packed. This is only to be used when + * the decoder on the receiving side cannot process packed scalar arrays. + * Such example is older protobuf.js. */ +/* #define PB_ENCODE_ARRAYS_UNPACKED 1 */ + +/****************************************************************** + * You usually don't need to change anything below this line. * + * Feel free to look around and use the defined macros, though. * + ******************************************************************/ + + +/* Version of the nanopb library. Just in case you want to check it in + * your own program. */ +#define NANOPB_VERSION nanopb-0.3.9.10 + +/* Include all the system headers needed by nanopb. You will need the + * definitions of the following: + * - strlen, memcpy, memset functions + * - [u]int_least8_t, uint_fast8_t, [u]int_least16_t, [u]int32_t, [u]int64_t + * - size_t + * - bool + * + * If you don't have the standard header files, you can instead provide + * a custom header that defines or includes all this. In that case, + * define PB_SYSTEM_HEADER to the path of this file. + */ +#ifdef PB_SYSTEM_HEADER +#include PB_SYSTEM_HEADER +#else +#include +#include +#include +#include + +#ifdef PB_ENABLE_MALLOC +#include +#endif +#endif + +/* Macro for defining packed structures (compiler dependent). + * This just reduces memory requirements, but is not required. + */ +#if defined(PB_NO_PACKED_STRUCTS) + /* Disable struct packing */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#elif defined(__GNUC__) || defined(__clang__) + /* For GCC and clang */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed __attribute__((packed)) +#elif defined(__ICCARM__) || defined(__CC_ARM) + /* For IAR ARM and Keil MDK-ARM compilers */ +# define PB_PACKED_STRUCT_START _Pragma("pack(push, 1)") +# define PB_PACKED_STRUCT_END _Pragma("pack(pop)") +# define pb_packed +#elif defined(_MSC_VER) && (_MSC_VER >= 1500) + /* For Microsoft Visual C++ */ +# define PB_PACKED_STRUCT_START __pragma(pack(push, 1)) +# define PB_PACKED_STRUCT_END __pragma(pack(pop)) +# define pb_packed +#else + /* Unknown compiler */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#endif + +/* Handly macro for suppressing unreferenced-parameter compiler warnings. */ +#ifndef PB_UNUSED +#define PB_UNUSED(x) (void)(x) +#endif + +/* Compile-time assertion, used for checking compatible compilation options. + * If this does not work properly on your compiler, use + * #define PB_NO_STATIC_ASSERT to disable it. + * + * But before doing that, check carefully the error message / place where it + * comes from to see if the error has a real cause. Unfortunately the error + * message is not always very clear to read, but you can see the reason better + * in the place where the PB_STATIC_ASSERT macro was called. + */ +#ifndef PB_NO_STATIC_ASSERT +#ifndef PB_STATIC_ASSERT +#define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1]; +#define PB_STATIC_ASSERT_MSG(MSG, LINE, COUNTER) PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) +#define PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) pb_static_assertion_##MSG##LINE##COUNTER +#endif +#else +#define PB_STATIC_ASSERT(COND,MSG) +#endif + +/* Number of required fields to keep track of. */ +#ifndef PB_MAX_REQUIRED_FIELDS +#define PB_MAX_REQUIRED_FIELDS 64 +#endif + +#if PB_MAX_REQUIRED_FIELDS < 64 +#error You should not lower PB_MAX_REQUIRED_FIELDS from the default value (64). +#endif + +/* List of possible field types. These are used in the autogenerated code. + * Least-significant 4 bits tell the scalar type + * Most-significant 4 bits specify repeated/required/packed etc. + */ + +typedef uint_least8_t pb_type_t; + +/**** Field data types ****/ + +/* Numeric types */ +#define PB_LTYPE_BOOL 0x00 /* bool */ +#define PB_LTYPE_VARINT 0x01 /* int32, int64, enum, bool */ +#define PB_LTYPE_UVARINT 0x02 /* uint32, uint64 */ +#define PB_LTYPE_SVARINT 0x03 /* sint32, sint64 */ +#define PB_LTYPE_FIXED32 0x04 /* fixed32, sfixed32, float */ +#define PB_LTYPE_FIXED64 0x05 /* fixed64, sfixed64, double */ + +/* Marker for last packable field type. */ +#define PB_LTYPE_LAST_PACKABLE 0x05 + +/* Byte array with pre-allocated buffer. + * data_size is the length of the allocated PB_BYTES_ARRAY structure. */ +#define PB_LTYPE_BYTES 0x06 + +/* String with pre-allocated buffer. + * data_size is the maximum length. */ +#define PB_LTYPE_STRING 0x07 + +/* Submessage + * submsg_fields is pointer to field descriptions */ +#define PB_LTYPE_SUBMESSAGE 0x08 + +/* Extension pseudo-field + * The field contains a pointer to pb_extension_t */ +#define PB_LTYPE_EXTENSION 0x09 + +/* Byte array with inline, pre-allocated byffer. + * data_size is the length of the inline, allocated buffer. + * This differs from PB_LTYPE_BYTES by defining the element as + * pb_byte_t[data_size] rather than pb_bytes_array_t. */ +#define PB_LTYPE_FIXED_LENGTH_BYTES 0x0A + +/* Number of declared LTYPES */ +#define PB_LTYPES_COUNT 0x0B +#define PB_LTYPE_MASK 0x0F + +/**** Field repetition rules ****/ + +#define PB_HTYPE_REQUIRED 0x00 +#define PB_HTYPE_OPTIONAL 0x10 +#define PB_HTYPE_REPEATED 0x20 +#define PB_HTYPE_ONEOF 0x30 +#define PB_HTYPE_MASK 0x30 + +/**** Field allocation types ****/ + +#define PB_ATYPE_STATIC 0x00 +#define PB_ATYPE_POINTER 0x80 +#define PB_ATYPE_CALLBACK 0x40 +#define PB_ATYPE_MASK 0xC0 + +#define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) +#define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) +#define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) + +/* Data type used for storing sizes of struct fields + * and array counts. + */ +#if defined(PB_FIELD_32BIT) + typedef uint32_t pb_size_t; + typedef int32_t pb_ssize_t; +#elif defined(PB_FIELD_16BIT) + typedef uint_least16_t pb_size_t; + typedef int_least16_t pb_ssize_t; +#else + typedef uint_least8_t pb_size_t; + typedef int_least8_t pb_ssize_t; +#endif +#define PB_SIZE_MAX ((pb_size_t)-1) + +/* Data type for storing encoded data and other byte streams. + * This typedef exists to support platforms where uint8_t does not exist. + * You can regard it as equivalent on uint8_t on other platforms. + */ +typedef uint_least8_t pb_byte_t; + +/* This structure is used in auto-generated constants + * to specify struct fields. + * You can change field sizes if you need structures + * larger than 256 bytes or field tags larger than 256. + * The compiler should complain if your .proto has such + * structures. Fix that by defining PB_FIELD_16BIT or + * PB_FIELD_32BIT. + */ +PB_PACKED_STRUCT_START +typedef struct pb_field_s pb_field_t; +struct pb_field_s { + pb_size_t tag; + pb_type_t type; + pb_size_t data_offset; /* Offset of field data, relative to previous field. */ + pb_ssize_t size_offset; /* Offset of array size or has-boolean, relative to data */ + pb_size_t data_size; /* Data size in bytes for a single item */ + pb_size_t array_size; /* Maximum number of entries in array */ + + /* Field definitions for submessage + * OR default value for all other non-array, non-callback types + * If null, then field will zeroed. */ + const void *ptr; +} pb_packed; +PB_PACKED_STRUCT_END + +/* Make sure that the standard integer types are of the expected sizes. + * Otherwise fixed32/fixed64 fields can break. + * + * If you get errors here, it probably means that your stdint.h is not + * correct for your platform. + */ +#ifndef PB_WITHOUT_64BIT +PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE) +PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE) +#endif + +/* This structure is used for 'bytes' arrays. + * It has the number of bytes in the beginning, and after that an array. + * Note that actual structs used will have a different length of bytes array. + */ +#define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } +#define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) + +struct pb_bytes_array_s { + pb_size_t size; + pb_byte_t bytes[1]; +}; +typedef struct pb_bytes_array_s pb_bytes_array_t; + +/* This structure is used for giving the callback function. + * It is stored in the message structure and filled in by the method that + * calls pb_decode. + * + * The decoding callback will be given a limited-length stream + * If the wire type was string, the length is the length of the string. + * If the wire type was a varint/fixed32/fixed64, the length is the length + * of the actual value. + * The function may be called multiple times (especially for repeated types, + * but also otherwise if the message happens to contain the field multiple + * times.) + * + * The encoding callback will receive the actual output stream. + * It should write all the data in one call, including the field tag and + * wire type. It can write multiple fields. + * + * The callback can be null if you want to skip a field. + */ +typedef struct pb_istream_s pb_istream_t; +typedef struct pb_ostream_s pb_ostream_t; +typedef struct pb_callback_s pb_callback_t; +struct pb_callback_s { +#ifdef PB_OLD_CALLBACK_STYLE + /* Deprecated since nanopb-0.2.1 */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void *arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, const void *arg); + } funcs; +#else + /* New function signature, which allows modifying arg contents in callback. */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void **arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, void * const *arg); + } funcs; +#endif + + /* Free arg for use by callback */ + void *arg; +}; + +/* Wire types. Library user needs these only in encoder callbacks. */ +typedef enum { + PB_WT_VARINT = 0, + PB_WT_64BIT = 1, + PB_WT_STRING = 2, + PB_WT_32BIT = 5 +} pb_wire_type_t; + +/* Structure for defining the handling of unknown/extension fields. + * Usually the pb_extension_type_t structure is automatically generated, + * while the pb_extension_t structure is created by the user. However, + * if you want to catch all unknown fields, you can also create a custom + * pb_extension_type_t with your own callback. + */ +typedef struct pb_extension_type_s pb_extension_type_t; +typedef struct pb_extension_s pb_extension_t; +struct pb_extension_type_s { + /* Called for each unknown field in the message. + * If you handle the field, read off all of its data and return true. + * If you do not handle the field, do not read anything and return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*decode)(pb_istream_t *stream, pb_extension_t *extension, + uint32_t tag, pb_wire_type_t wire_type); + + /* Called once after all regular fields have been encoded. + * If you have something to write, do so and return true. + * If you do not have anything to write, just return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*encode)(pb_ostream_t *stream, const pb_extension_t *extension); + + /* Free field for use by the callback. */ + const void *arg; +}; + +struct pb_extension_s { + /* Type describing the extension field. Usually you'll initialize + * this to a pointer to the automatically generated structure. */ + const pb_extension_type_t *type; + + /* Destination for the decoded data. This must match the datatype + * of the extension field. */ + void *dest; + + /* Pointer to the next extension handler, or NULL. + * If this extension does not match a field, the next handler is + * automatically called. */ + pb_extension_t *next; + + /* The decoder sets this to true if the extension was found. + * Ignored for encoding. */ + bool found; +}; + +/* Memory allocation functions to use. You can define pb_realloc and + * pb_free to custom functions if you want. */ +#ifdef PB_ENABLE_MALLOC +# ifndef pb_realloc +# define pb_realloc(ptr, size) realloc(ptr, size) +# endif +# ifndef pb_free +# define pb_free(ptr) free(ptr) +# endif +#endif + +/* This is used to inform about need to regenerate .pb.h/.pb.c files. */ +#define PB_PROTO_HEADER_VERSION 30 + +/* These macros are used to declare pb_field_t's in the constant array. */ +/* Size of a structure member, in bytes. */ +#define pb_membersize(st, m) (sizeof ((st*)0)->m) +/* Number of entries in an array. */ +#define pb_arraysize(st, m) (pb_membersize(st, m) / pb_membersize(st, m[0])) +/* Delta from start of one member to the start of another member. */ +#define pb_delta(st, m1, m2) ((int)offsetof(st, m1) - (int)offsetof(st, m2)) +/* Marks the end of the field list */ +#define PB_LAST_FIELD {0,(pb_type_t) 0,0,0,0,0,0} + +/* Macros for filling in the data_offset field */ +/* data_offset for first field in a message */ +#define PB_DATAOFFSET_FIRST(st, m1, m2) (offsetof(st, m1)) +/* data_offset for subsequent fields */ +#define PB_DATAOFFSET_OTHER(st, m1, m2) (offsetof(st, m1) - offsetof(st, m2) - pb_membersize(st, m2)) +/* data offset for subsequent fields inside an union (oneof) */ +#define PB_DATAOFFSET_UNION(st, m1, m2) (PB_SIZE_MAX) +/* Choose first/other based on m1 == m2 (deprecated, remains for backwards compatibility) */ +#define PB_DATAOFFSET_CHOOSE(st, m1, m2) (int)(offsetof(st, m1) == offsetof(st, m2) \ + ? PB_DATAOFFSET_FIRST(st, m1, m2) \ + : PB_DATAOFFSET_OTHER(st, m1, m2)) + +/* Required fields are the simplest. They just have delta (padding) from + * previous field end, and the size of the field. Pointer is used for + * submessages and default values. + */ +#define PB_REQUIRED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional fields add the delta to the has_ variable. */ +#define PB_OPTIONAL_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, \ + pb_delta(st, has_ ## m, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Repeated fields have a _count field and also the maximum number of entries. */ +#define PB_REPEATED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | ltype, \ + fd, \ + pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), \ + pb_arraysize(st, m), ptr} + +/* Allocated fields carry the size of the actual data, not the pointer */ +#define PB_REQUIRED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Optional fields don't need a has_ variable, as information would be redundant */ +#define PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Same as optional fields*/ +#define PB_SINGULAR_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Repeated fields have a _count field and a pointer to array of pointers */ +#define PB_REPEATED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REPEATED | ltype, \ + fd, pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), 0, ptr} + +/* Callbacks are much like required fields except with special datatype. */ +#define PB_REQUIRED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_REPEATED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REPEATED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional extensions don't have the has_ field, as that would be redundant. + * Furthermore, the combination of OPTIONAL without has_ field is used + * for indicating proto3 style fields. Extensions exist in proto2 mode only, + * so they should be encoded according to proto2 rules. To avoid the conflict, + * extensions are marked as REQUIRED instead. + */ +#define PB_OPTEXT_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + 0, \ + 0, \ + pb_membersize(st, m), 0, ptr} + +#define PB_OPTEXT_POINTER(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) + +#define PB_OPTEXT_CALLBACK(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) + +/* The mapping from protobuf types to LTYPEs is done using these macros. */ +#define PB_LTYPE_MAP_BOOL PB_LTYPE_BOOL +#define PB_LTYPE_MAP_BYTES PB_LTYPE_BYTES +#define PB_LTYPE_MAP_DOUBLE PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_ENUM PB_LTYPE_VARINT +#define PB_LTYPE_MAP_UENUM PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_FIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_FIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_FLOAT PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_INT32 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_INT64 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_MESSAGE PB_LTYPE_SUBMESSAGE +#define PB_LTYPE_MAP_SFIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_SFIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_SINT32 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_SINT64 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_STRING PB_LTYPE_STRING +#define PB_LTYPE_MAP_UINT32 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_UINT64 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_EXTENSION PB_LTYPE_EXTENSION +#define PB_LTYPE_MAP_FIXED_LENGTH_BYTES PB_LTYPE_FIXED_LENGTH_BYTES + +/* This is the actual macro used in field descriptions. + * It takes these arguments: + * - Field tag number + * - Field type: BOOL, BYTES, DOUBLE, ENUM, UENUM, FIXED32, FIXED64, + * FLOAT, INT32, INT64, MESSAGE, SFIXED32, SFIXED64 + * SINT32, SINT64, STRING, UINT32, UINT64 or EXTENSION + * - Field rules: REQUIRED, OPTIONAL or REPEATED + * - Allocation: STATIC, CALLBACK or POINTER + * - Placement: FIRST or OTHER, depending on if this is the first field in structure. + * - Message name + * - Field name + * - Previous field name (or field name again for first field) + * - Pointer to default value or submsg fields. + */ + +#define PB_FIELD(tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ ## rules ## _ ## allocation(tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* Field description for repeated static fixed count fields.*/ +#define PB_REPEATED_FIXED_COUNT(tag, type, placement, message, field, prevfield, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | PB_LTYPE_MAP_ ## type, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + 0, \ + pb_membersize(message, field[0]), \ + pb_arraysize(message, field), ptr} + +/* Field description for oneof fields. This requires taking into account the + * union name also, that's why a separate set of macros is needed. + */ +#define PB_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m), 0, ptr} + +#define PB_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m[0]), 0, ptr} + +#define PB_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, union_name.field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +#define PB_ANONYMOUS_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m[0]), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ANONYMOUS_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* These macros are used for giving out error messages. + * They are mostly a debugging aid; the main error information + * is the true/false return value from functions. + * Some code space can be saved by disabling the error + * messages if not used. + * + * PB_SET_ERROR() sets the error message if none has been set yet. + * msg must be a constant string literal. + * PB_GET_ERROR() always returns a pointer to a string. + * PB_RETURN_ERROR() sets the error and returns false from current + * function. + */ +#ifdef PB_NO_ERRMSG +#define PB_SET_ERROR(stream, msg) PB_UNUSED(stream) +#define PB_GET_ERROR(stream) "(errmsg disabled)" +#else +#define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg)) +#define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)") +#endif + +#define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/pb_common.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/pb_common.h new file mode 100644 index 00000000000..60b3d374914 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/pb_common.h @@ -0,0 +1,42 @@ +/* pb_common.h: Common support functions for pb_encode.c and pb_decode.c. + * These functions are rarely needed by applications directly. + */ + +#ifndef PB_COMMON_H_INCLUDED +#define PB_COMMON_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Iterator for pb_field_t list */ +struct pb_field_iter_s { + const pb_field_t *start; /* Start of the pb_field_t array */ + const pb_field_t *pos; /* Current position of the iterator */ + unsigned required_field_index; /* Zero-based index that counts only the required fields */ + void *dest_struct; /* Pointer to start of the structure */ + void *pData; /* Pointer to current field value */ + void *pSize; /* Pointer to count/has field */ +}; +typedef struct pb_field_iter_s pb_field_iter_t; + +/* Initialize the field iterator structure to beginning. + * Returns false if the message type is empty. */ +bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct); + +/* Advance the iterator to the next field. + * Returns false when the iterator wraps back to the first field. */ +bool pb_field_iter_next(pb_field_iter_t *iter); + +/* Advance the iterator until it points at a field with the given tag. + * Returns false if no such field exists. */ +bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/pb_decode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/pb_decode.h new file mode 100644 index 00000000000..3577c201661 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/pb_decode.h @@ -0,0 +1,178 @@ +/* pb_decode.h: Functions to decode protocol buffers. Depends on pb_decode.c. + * The main function is pb_decode. You also need an input stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_DECODE_H_INCLUDED +#define PB_DECODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom input streams. You will need to provide + * a callback function to read the bytes from your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause decoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer), + * and rely on pb_read to verify that no-body reads past bytes_left. + * 3) Your callback may be used with substreams, in which case bytes_left + * is different than from the main stream. Don't use bytes_left to compute + * any pointers. + */ +struct pb_istream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + */ + int *callback; +#else + bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count); +#endif + + void *state; /* Free field for use by callback implementation */ + size_t bytes_left; + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main decoding functions * + ***************************/ + +/* Decode a single protocol buffers message from input stream into a C structure. + * Returns true on success, false on any failure. + * The actual struct pointed to by dest must match the description in fields. + * Callback fields of the destination structure must be initialized by caller. + * All other fields will be initialized by this function. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_istream_t stream; + * + * // ... read some data into buffer ... + * + * stream = pb_istream_from_buffer(buffer, count); + * pb_decode(&stream, MyMessage_fields, &msg); + */ +bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except does not initialize the destination structure + * to default values. This is slightly faster if you need no default values + * and just do memset(struct, 0, sizeof(struct)) yourself. + * + * This can also be used for 'merging' two messages, i.e. update only the + * fields that exist in the new message. + * + * Note: If this function returns with an error, it will not release any + * dynamically allocated fields. You will need to call pb_release() yourself. + */ +bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except expects the stream to start with the message size + * encoded as varint. Corresponds to parseDelimitedFrom() in Google's + * protobuf API. + */ +bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode_delimited, except that it does not initialize the destination structure. + * See pb_decode_noinit + */ +bool pb_decode_delimited_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except allows the message to be terminated with a null byte. + * NOTE: Until nanopb-0.4.0, pb_decode() also allows null-termination. This behaviour + * is not supported in most other protobuf implementations, so pb_decode_delimited() + * is a better option for compatibility. + */ +bool pb_decode_nullterminated(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +#ifdef PB_ENABLE_MALLOC +/* Release any allocated pointer fields. If you use dynamic allocation, you should + * call this for any successfully decoded message when you are done with it. If + * pb_decode() returns with an error, the message is already released. + */ +void pb_release(const pb_field_t fields[], void *dest_struct); +#endif + + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an input stream for reading from a memory buffer. + * + * Alternatively, you can use a custom stream that reads directly from e.g. + * a file or a network socket. + */ +pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); + +/* Function to read from a pb_istream_t. You can use this if you need to + * read some custom header data, or to read data in field callbacks. + */ +bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Decode the tag for the next field in the stream. Gives the wire type and + * field tag. At end of the message, returns false and sets eof to true. */ +bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof); + +/* Skip the field payload data, given the wire type. */ +bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type); + +/* Decode an integer in the varint format. This works for enum, int32, + * int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); +#else +#define pb_decode_varint pb_decode_varint32 +#endif + +/* Decode an integer in the varint format. This works for enum, int32, + * and uint32 field types. */ +bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest); + +/* Decode a bool value in varint format. */ +bool pb_decode_bool(pb_istream_t *stream, bool *dest); + +/* Decode an integer in the zig-zagged svarint format. This works for sint32 + * and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_svarint(pb_istream_t *stream, int64_t *dest); +#else +bool pb_decode_svarint(pb_istream_t *stream, int32_t *dest); +#endif + +/* Decode a fixed32, sfixed32 or float value. You need to pass a pointer to + * a 4-byte wide C variable. */ +bool pb_decode_fixed32(pb_istream_t *stream, void *dest); + +#ifndef PB_WITHOUT_64BIT +/* Decode a fixed64, sfixed64 or double value. You need to pass a pointer to + * a 8-byte wide C variable. */ +bool pb_decode_fixed64(pb_istream_t *stream, void *dest); +#endif + +/* Make a limited-length substream for reading a PB_WT_STRING field. */ +bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream); +bool pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/pb_encode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/pb_encode.h new file mode 100644 index 00000000000..b1d822f3029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Headers/pb_encode.h @@ -0,0 +1,170 @@ +/* pb_encode.h: Functions to encode protocol buffers. Depends on pb_encode.c. + * The main function is pb_encode. You also need an output stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_ENCODE_H_INCLUDED +#define PB_ENCODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom output streams. You will need to provide + * a callback function to write the bytes to your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause encoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer). + * 3) pb_write will update bytes_written after your callback runs. + * 4) Substreams will modify max_size and bytes_written. Don't use them + * to calculate any pointers. + */ +struct pb_ostream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + * Also, NULL pointer marks a 'sizing stream' that does not + * write anything. + */ + int *callback; +#else + bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); +#endif + void *state; /* Free field for use by callback implementation. */ + size_t max_size; /* Limit number of output bytes written (or use SIZE_MAX). */ + size_t bytes_written; /* Number of bytes written so far. */ + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main encoding functions * + ***************************/ + +/* Encode a single protocol buffers message from C structure into a stream. + * Returns true on success, false on any failure. + * The actual struct pointed to by src_struct must match the description in fields. + * All required fields in the struct are assumed to have been filled in. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_ostream_t stream; + * + * msg.field1 = 42; + * stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); + * pb_encode(&stream, MyMessage_fields, &msg); + */ +bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but prepends the length of the message as a varint. + * Corresponds to writeDelimitedTo() in Google's protobuf API. + */ +bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but appends a null byte to the message for termination. + * NOTE: This behaviour is not supported in most other protobuf implementations, so pb_encode_delimited() + * is a better option for compatibility. + */ +bool pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Encode the message to get the size of the encoded data, but do not store + * the data. */ +bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct); + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an output stream for writing into a memory buffer. + * The number of bytes written can be found in stream.bytes_written after + * encoding the message. + * + * Alternatively, you can use a custom stream that writes directly to e.g. + * a file or a network socket. + */ +pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); + +/* Pseudo-stream for measuring the size of a message without actually storing + * the encoded data. + * + * Example usage: + * MyMessage msg = {}; + * pb_ostream_t stream = PB_OSTREAM_SIZING; + * pb_encode(&stream, MyMessage_fields, &msg); + * printf("Message size is %d\n", stream.bytes_written); + */ +#ifndef PB_NO_ERRMSG +#define PB_OSTREAM_SIZING {0,0,0,0,0} +#else +#define PB_OSTREAM_SIZING {0,0,0,0} +#endif + +/* Function to write into a pb_ostream_t stream. You can use this if you need + * to append or prepend some custom headers to the message. + */ +bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Encode field header based on type and field number defined in the field + * structure. Call this from the callback before writing out field contents. */ +bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field); + +/* Encode field header by manually specifying wire type. You need to use this + * if you want to write out packed arrays from a callback field. */ +bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number); + +/* Encode an integer in the varint format. + * This works for bool, enum, int32, int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_varint(pb_ostream_t *stream, uint64_t value); +#else +bool pb_encode_varint(pb_ostream_t *stream, uint32_t value); +#endif + +/* Encode an integer in the zig-zagged svarint format. + * This works for sint32 and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_svarint(pb_ostream_t *stream, int64_t value); +#else +bool pb_encode_svarint(pb_ostream_t *stream, int32_t value); +#endif + +/* Encode a string or bytes type field. For strings, pass strlen(s) as size. */ +bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size); + +/* Encode a fixed32, sfixed32 or float value. + * You need to pass a pointer to a 4-byte wide C variable. */ +bool pb_encode_fixed32(pb_ostream_t *stream, const void *value); + +#ifndef PB_WITHOUT_64BIT +/* Encode a fixed64, sfixed64 or double value. + * You need to pass a pointer to a 8-byte wide C variable. */ +bool pb_encode_fixed64(pb_ostream_t *stream, const void *value); +#endif + +/* Encode a submessage field. + * You need to pass the pb_field_t array and pointer to struct, just like + * with pb_encode(). This internally encodes the submessage twice, first to + * calculate message size and then to actually write it out. + */ +bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000000..611ce4ca6bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module nanopb { +umbrella header "nanopb-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Resources/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000000..49393d84db2 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + nanopb + CFBundleIdentifier + org.cocoapods.nanopb + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + nanopb + CFBundlePackageType + FMWK + CFBundleShortVersionString + 3.30910.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + MinimumOSVersion + 100.0 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Resources/nanopb_Privacy.bundle/Contents/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Resources/nanopb_Privacy.bundle/Contents/Info.plist new file mode 100644 index 00000000000..501726d0188 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Resources/nanopb_Privacy.bundle/Contents/Info.plist @@ -0,0 +1,46 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleIdentifier + org.cocoapods.nanopb-Privacy + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + nanopb_Privacy + CFBundlePackageType + BNDL + CFBundleShortVersionString + 3.30910.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + + DTPlatformName + macosx + DTPlatformVersion + 14.2 + DTSDKBuild + 23C53 + DTSDKName + macosx14.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + LSMinimumSystemVersion + 10.15 + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Resources/nanopb_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Resources/nanopb_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..72e00ac349a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/Resources/nanopb_Privacy.bundle/Contents/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,15 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/nanopb b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/nanopb new file mode 100644 index 00000000000..a69de859e38 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/A/nanopb differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/Current b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/Current new file mode 120000 index 00000000000..8c7e5a667f1 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/nanopb b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/nanopb new file mode 120000 index 00000000000..cb46d12b453 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/macos-arm64_x86_64/nanopb.framework/nanopb @@ -0,0 +1 @@ +Versions/Current/nanopb \ No newline at end of file diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/nanopb-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/nanopb-umbrella.h new file mode 100644 index 00000000000..07e77b38a5f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/nanopb-umbrella.h @@ -0,0 +1,26 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "pb.h" +#import "pb_common.h" +#import "pb_decode.h" +#import "pb_encode.h" +#import "pb.h" +#import "pb_decode.h" +#import "pb_common.h" +#import "pb.h" +#import "pb_encode.h" +#import "pb_common.h" + +FOUNDATION_EXPORT double nanopbVersionNumber; +FOUNDATION_EXPORT const unsigned char nanopbVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/pb.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/pb.h new file mode 100644 index 00000000000..2bd45685029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/pb.h @@ -0,0 +1,599 @@ +/* Common parts of the nanopb library. Most of these are quite low-level + * stuff. For the high-level interface, see pb_encode.h and pb_decode.h. + */ + +#ifndef PB_H_INCLUDED +#define PB_H_INCLUDED + +/***************************************************************** + * Nanopb compilation time options. You can change these here by * + * uncommenting the lines, or on the compiler command line. * + *****************************************************************/ + +/* Enable support for dynamically allocated fields */ +/* #define PB_ENABLE_MALLOC 1 */ + +/* Define this if your CPU / compiler combination does not support + * unaligned memory access to packed structures. */ +/* #define PB_NO_PACKED_STRUCTS 1 */ + +/* Increase the number of required fields that are tracked. + * A compiler warning will tell if you need this. */ +/* #define PB_MAX_REQUIRED_FIELDS 256 */ + +/* Add support for tag numbers > 255 and fields larger than 255 bytes. */ +/* #define PB_FIELD_16BIT 1 */ + +/* Add support for tag numbers > 65536 and fields larger than 65536 bytes. */ +/* #define PB_FIELD_32BIT 1 */ + +/* Disable support for error messages in order to save some code space. */ +/* #define PB_NO_ERRMSG 1 */ + +/* Disable support for custom streams (support only memory buffers). */ +/* #define PB_BUFFER_ONLY 1 */ + +/* Switch back to the old-style callback function signature. + * This was the default until nanopb-0.2.1. */ +/* #define PB_OLD_CALLBACK_STYLE */ + + +/* Don't encode scalar arrays as packed. This is only to be used when + * the decoder on the receiving side cannot process packed scalar arrays. + * Such example is older protobuf.js. */ +/* #define PB_ENCODE_ARRAYS_UNPACKED 1 */ + +/****************************************************************** + * You usually don't need to change anything below this line. * + * Feel free to look around and use the defined macros, though. * + ******************************************************************/ + + +/* Version of the nanopb library. Just in case you want to check it in + * your own program. */ +#define NANOPB_VERSION nanopb-0.3.9.10 + +/* Include all the system headers needed by nanopb. You will need the + * definitions of the following: + * - strlen, memcpy, memset functions + * - [u]int_least8_t, uint_fast8_t, [u]int_least16_t, [u]int32_t, [u]int64_t + * - size_t + * - bool + * + * If you don't have the standard header files, you can instead provide + * a custom header that defines or includes all this. In that case, + * define PB_SYSTEM_HEADER to the path of this file. + */ +#ifdef PB_SYSTEM_HEADER +#include PB_SYSTEM_HEADER +#else +#include +#include +#include +#include + +#ifdef PB_ENABLE_MALLOC +#include +#endif +#endif + +/* Macro for defining packed structures (compiler dependent). + * This just reduces memory requirements, but is not required. + */ +#if defined(PB_NO_PACKED_STRUCTS) + /* Disable struct packing */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#elif defined(__GNUC__) || defined(__clang__) + /* For GCC and clang */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed __attribute__((packed)) +#elif defined(__ICCARM__) || defined(__CC_ARM) + /* For IAR ARM and Keil MDK-ARM compilers */ +# define PB_PACKED_STRUCT_START _Pragma("pack(push, 1)") +# define PB_PACKED_STRUCT_END _Pragma("pack(pop)") +# define pb_packed +#elif defined(_MSC_VER) && (_MSC_VER >= 1500) + /* For Microsoft Visual C++ */ +# define PB_PACKED_STRUCT_START __pragma(pack(push, 1)) +# define PB_PACKED_STRUCT_END __pragma(pack(pop)) +# define pb_packed +#else + /* Unknown compiler */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#endif + +/* Handly macro for suppressing unreferenced-parameter compiler warnings. */ +#ifndef PB_UNUSED +#define PB_UNUSED(x) (void)(x) +#endif + +/* Compile-time assertion, used for checking compatible compilation options. + * If this does not work properly on your compiler, use + * #define PB_NO_STATIC_ASSERT to disable it. + * + * But before doing that, check carefully the error message / place where it + * comes from to see if the error has a real cause. Unfortunately the error + * message is not always very clear to read, but you can see the reason better + * in the place where the PB_STATIC_ASSERT macro was called. + */ +#ifndef PB_NO_STATIC_ASSERT +#ifndef PB_STATIC_ASSERT +#define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1]; +#define PB_STATIC_ASSERT_MSG(MSG, LINE, COUNTER) PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) +#define PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) pb_static_assertion_##MSG##LINE##COUNTER +#endif +#else +#define PB_STATIC_ASSERT(COND,MSG) +#endif + +/* Number of required fields to keep track of. */ +#ifndef PB_MAX_REQUIRED_FIELDS +#define PB_MAX_REQUIRED_FIELDS 64 +#endif + +#if PB_MAX_REQUIRED_FIELDS < 64 +#error You should not lower PB_MAX_REQUIRED_FIELDS from the default value (64). +#endif + +/* List of possible field types. These are used in the autogenerated code. + * Least-significant 4 bits tell the scalar type + * Most-significant 4 bits specify repeated/required/packed etc. + */ + +typedef uint_least8_t pb_type_t; + +/**** Field data types ****/ + +/* Numeric types */ +#define PB_LTYPE_BOOL 0x00 /* bool */ +#define PB_LTYPE_VARINT 0x01 /* int32, int64, enum, bool */ +#define PB_LTYPE_UVARINT 0x02 /* uint32, uint64 */ +#define PB_LTYPE_SVARINT 0x03 /* sint32, sint64 */ +#define PB_LTYPE_FIXED32 0x04 /* fixed32, sfixed32, float */ +#define PB_LTYPE_FIXED64 0x05 /* fixed64, sfixed64, double */ + +/* Marker for last packable field type. */ +#define PB_LTYPE_LAST_PACKABLE 0x05 + +/* Byte array with pre-allocated buffer. + * data_size is the length of the allocated PB_BYTES_ARRAY structure. */ +#define PB_LTYPE_BYTES 0x06 + +/* String with pre-allocated buffer. + * data_size is the maximum length. */ +#define PB_LTYPE_STRING 0x07 + +/* Submessage + * submsg_fields is pointer to field descriptions */ +#define PB_LTYPE_SUBMESSAGE 0x08 + +/* Extension pseudo-field + * The field contains a pointer to pb_extension_t */ +#define PB_LTYPE_EXTENSION 0x09 + +/* Byte array with inline, pre-allocated byffer. + * data_size is the length of the inline, allocated buffer. + * This differs from PB_LTYPE_BYTES by defining the element as + * pb_byte_t[data_size] rather than pb_bytes_array_t. */ +#define PB_LTYPE_FIXED_LENGTH_BYTES 0x0A + +/* Number of declared LTYPES */ +#define PB_LTYPES_COUNT 0x0B +#define PB_LTYPE_MASK 0x0F + +/**** Field repetition rules ****/ + +#define PB_HTYPE_REQUIRED 0x00 +#define PB_HTYPE_OPTIONAL 0x10 +#define PB_HTYPE_REPEATED 0x20 +#define PB_HTYPE_ONEOF 0x30 +#define PB_HTYPE_MASK 0x30 + +/**** Field allocation types ****/ + +#define PB_ATYPE_STATIC 0x00 +#define PB_ATYPE_POINTER 0x80 +#define PB_ATYPE_CALLBACK 0x40 +#define PB_ATYPE_MASK 0xC0 + +#define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) +#define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) +#define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) + +/* Data type used for storing sizes of struct fields + * and array counts. + */ +#if defined(PB_FIELD_32BIT) + typedef uint32_t pb_size_t; + typedef int32_t pb_ssize_t; +#elif defined(PB_FIELD_16BIT) + typedef uint_least16_t pb_size_t; + typedef int_least16_t pb_ssize_t; +#else + typedef uint_least8_t pb_size_t; + typedef int_least8_t pb_ssize_t; +#endif +#define PB_SIZE_MAX ((pb_size_t)-1) + +/* Data type for storing encoded data and other byte streams. + * This typedef exists to support platforms where uint8_t does not exist. + * You can regard it as equivalent on uint8_t on other platforms. + */ +typedef uint_least8_t pb_byte_t; + +/* This structure is used in auto-generated constants + * to specify struct fields. + * You can change field sizes if you need structures + * larger than 256 bytes or field tags larger than 256. + * The compiler should complain if your .proto has such + * structures. Fix that by defining PB_FIELD_16BIT or + * PB_FIELD_32BIT. + */ +PB_PACKED_STRUCT_START +typedef struct pb_field_s pb_field_t; +struct pb_field_s { + pb_size_t tag; + pb_type_t type; + pb_size_t data_offset; /* Offset of field data, relative to previous field. */ + pb_ssize_t size_offset; /* Offset of array size or has-boolean, relative to data */ + pb_size_t data_size; /* Data size in bytes for a single item */ + pb_size_t array_size; /* Maximum number of entries in array */ + + /* Field definitions for submessage + * OR default value for all other non-array, non-callback types + * If null, then field will zeroed. */ + const void *ptr; +} pb_packed; +PB_PACKED_STRUCT_END + +/* Make sure that the standard integer types are of the expected sizes. + * Otherwise fixed32/fixed64 fields can break. + * + * If you get errors here, it probably means that your stdint.h is not + * correct for your platform. + */ +#ifndef PB_WITHOUT_64BIT +PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE) +PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE) +#endif + +/* This structure is used for 'bytes' arrays. + * It has the number of bytes in the beginning, and after that an array. + * Note that actual structs used will have a different length of bytes array. + */ +#define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } +#define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) + +struct pb_bytes_array_s { + pb_size_t size; + pb_byte_t bytes[1]; +}; +typedef struct pb_bytes_array_s pb_bytes_array_t; + +/* This structure is used for giving the callback function. + * It is stored in the message structure and filled in by the method that + * calls pb_decode. + * + * The decoding callback will be given a limited-length stream + * If the wire type was string, the length is the length of the string. + * If the wire type was a varint/fixed32/fixed64, the length is the length + * of the actual value. + * The function may be called multiple times (especially for repeated types, + * but also otherwise if the message happens to contain the field multiple + * times.) + * + * The encoding callback will receive the actual output stream. + * It should write all the data in one call, including the field tag and + * wire type. It can write multiple fields. + * + * The callback can be null if you want to skip a field. + */ +typedef struct pb_istream_s pb_istream_t; +typedef struct pb_ostream_s pb_ostream_t; +typedef struct pb_callback_s pb_callback_t; +struct pb_callback_s { +#ifdef PB_OLD_CALLBACK_STYLE + /* Deprecated since nanopb-0.2.1 */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void *arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, const void *arg); + } funcs; +#else + /* New function signature, which allows modifying arg contents in callback. */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void **arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, void * const *arg); + } funcs; +#endif + + /* Free arg for use by callback */ + void *arg; +}; + +/* Wire types. Library user needs these only in encoder callbacks. */ +typedef enum { + PB_WT_VARINT = 0, + PB_WT_64BIT = 1, + PB_WT_STRING = 2, + PB_WT_32BIT = 5 +} pb_wire_type_t; + +/* Structure for defining the handling of unknown/extension fields. + * Usually the pb_extension_type_t structure is automatically generated, + * while the pb_extension_t structure is created by the user. However, + * if you want to catch all unknown fields, you can also create a custom + * pb_extension_type_t with your own callback. + */ +typedef struct pb_extension_type_s pb_extension_type_t; +typedef struct pb_extension_s pb_extension_t; +struct pb_extension_type_s { + /* Called for each unknown field in the message. + * If you handle the field, read off all of its data and return true. + * If you do not handle the field, do not read anything and return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*decode)(pb_istream_t *stream, pb_extension_t *extension, + uint32_t tag, pb_wire_type_t wire_type); + + /* Called once after all regular fields have been encoded. + * If you have something to write, do so and return true. + * If you do not have anything to write, just return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*encode)(pb_ostream_t *stream, const pb_extension_t *extension); + + /* Free field for use by the callback. */ + const void *arg; +}; + +struct pb_extension_s { + /* Type describing the extension field. Usually you'll initialize + * this to a pointer to the automatically generated structure. */ + const pb_extension_type_t *type; + + /* Destination for the decoded data. This must match the datatype + * of the extension field. */ + void *dest; + + /* Pointer to the next extension handler, or NULL. + * If this extension does not match a field, the next handler is + * automatically called. */ + pb_extension_t *next; + + /* The decoder sets this to true if the extension was found. + * Ignored for encoding. */ + bool found; +}; + +/* Memory allocation functions to use. You can define pb_realloc and + * pb_free to custom functions if you want. */ +#ifdef PB_ENABLE_MALLOC +# ifndef pb_realloc +# define pb_realloc(ptr, size) realloc(ptr, size) +# endif +# ifndef pb_free +# define pb_free(ptr) free(ptr) +# endif +#endif + +/* This is used to inform about need to regenerate .pb.h/.pb.c files. */ +#define PB_PROTO_HEADER_VERSION 30 + +/* These macros are used to declare pb_field_t's in the constant array. */ +/* Size of a structure member, in bytes. */ +#define pb_membersize(st, m) (sizeof ((st*)0)->m) +/* Number of entries in an array. */ +#define pb_arraysize(st, m) (pb_membersize(st, m) / pb_membersize(st, m[0])) +/* Delta from start of one member to the start of another member. */ +#define pb_delta(st, m1, m2) ((int)offsetof(st, m1) - (int)offsetof(st, m2)) +/* Marks the end of the field list */ +#define PB_LAST_FIELD {0,(pb_type_t) 0,0,0,0,0,0} + +/* Macros for filling in the data_offset field */ +/* data_offset for first field in a message */ +#define PB_DATAOFFSET_FIRST(st, m1, m2) (offsetof(st, m1)) +/* data_offset for subsequent fields */ +#define PB_DATAOFFSET_OTHER(st, m1, m2) (offsetof(st, m1) - offsetof(st, m2) - pb_membersize(st, m2)) +/* data offset for subsequent fields inside an union (oneof) */ +#define PB_DATAOFFSET_UNION(st, m1, m2) (PB_SIZE_MAX) +/* Choose first/other based on m1 == m2 (deprecated, remains for backwards compatibility) */ +#define PB_DATAOFFSET_CHOOSE(st, m1, m2) (int)(offsetof(st, m1) == offsetof(st, m2) \ + ? PB_DATAOFFSET_FIRST(st, m1, m2) \ + : PB_DATAOFFSET_OTHER(st, m1, m2)) + +/* Required fields are the simplest. They just have delta (padding) from + * previous field end, and the size of the field. Pointer is used for + * submessages and default values. + */ +#define PB_REQUIRED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional fields add the delta to the has_ variable. */ +#define PB_OPTIONAL_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, \ + pb_delta(st, has_ ## m, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Repeated fields have a _count field and also the maximum number of entries. */ +#define PB_REPEATED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | ltype, \ + fd, \ + pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), \ + pb_arraysize(st, m), ptr} + +/* Allocated fields carry the size of the actual data, not the pointer */ +#define PB_REQUIRED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Optional fields don't need a has_ variable, as information would be redundant */ +#define PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Same as optional fields*/ +#define PB_SINGULAR_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Repeated fields have a _count field and a pointer to array of pointers */ +#define PB_REPEATED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REPEATED | ltype, \ + fd, pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), 0, ptr} + +/* Callbacks are much like required fields except with special datatype. */ +#define PB_REQUIRED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_REPEATED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REPEATED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional extensions don't have the has_ field, as that would be redundant. + * Furthermore, the combination of OPTIONAL without has_ field is used + * for indicating proto3 style fields. Extensions exist in proto2 mode only, + * so they should be encoded according to proto2 rules. To avoid the conflict, + * extensions are marked as REQUIRED instead. + */ +#define PB_OPTEXT_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + 0, \ + 0, \ + pb_membersize(st, m), 0, ptr} + +#define PB_OPTEXT_POINTER(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) + +#define PB_OPTEXT_CALLBACK(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) + +/* The mapping from protobuf types to LTYPEs is done using these macros. */ +#define PB_LTYPE_MAP_BOOL PB_LTYPE_BOOL +#define PB_LTYPE_MAP_BYTES PB_LTYPE_BYTES +#define PB_LTYPE_MAP_DOUBLE PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_ENUM PB_LTYPE_VARINT +#define PB_LTYPE_MAP_UENUM PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_FIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_FIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_FLOAT PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_INT32 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_INT64 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_MESSAGE PB_LTYPE_SUBMESSAGE +#define PB_LTYPE_MAP_SFIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_SFIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_SINT32 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_SINT64 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_STRING PB_LTYPE_STRING +#define PB_LTYPE_MAP_UINT32 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_UINT64 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_EXTENSION PB_LTYPE_EXTENSION +#define PB_LTYPE_MAP_FIXED_LENGTH_BYTES PB_LTYPE_FIXED_LENGTH_BYTES + +/* This is the actual macro used in field descriptions. + * It takes these arguments: + * - Field tag number + * - Field type: BOOL, BYTES, DOUBLE, ENUM, UENUM, FIXED32, FIXED64, + * FLOAT, INT32, INT64, MESSAGE, SFIXED32, SFIXED64 + * SINT32, SINT64, STRING, UINT32, UINT64 or EXTENSION + * - Field rules: REQUIRED, OPTIONAL or REPEATED + * - Allocation: STATIC, CALLBACK or POINTER + * - Placement: FIRST or OTHER, depending on if this is the first field in structure. + * - Message name + * - Field name + * - Previous field name (or field name again for first field) + * - Pointer to default value or submsg fields. + */ + +#define PB_FIELD(tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ ## rules ## _ ## allocation(tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* Field description for repeated static fixed count fields.*/ +#define PB_REPEATED_FIXED_COUNT(tag, type, placement, message, field, prevfield, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | PB_LTYPE_MAP_ ## type, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + 0, \ + pb_membersize(message, field[0]), \ + pb_arraysize(message, field), ptr} + +/* Field description for oneof fields. This requires taking into account the + * union name also, that's why a separate set of macros is needed. + */ +#define PB_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m), 0, ptr} + +#define PB_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m[0]), 0, ptr} + +#define PB_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, union_name.field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +#define PB_ANONYMOUS_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m[0]), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ANONYMOUS_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* These macros are used for giving out error messages. + * They are mostly a debugging aid; the main error information + * is the true/false return value from functions. + * Some code space can be saved by disabling the error + * messages if not used. + * + * PB_SET_ERROR() sets the error message if none has been set yet. + * msg must be a constant string literal. + * PB_GET_ERROR() always returns a pointer to a string. + * PB_RETURN_ERROR() sets the error and returns false from current + * function. + */ +#ifdef PB_NO_ERRMSG +#define PB_SET_ERROR(stream, msg) PB_UNUSED(stream) +#define PB_GET_ERROR(stream) "(errmsg disabled)" +#else +#define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg)) +#define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)") +#endif + +#define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/pb_common.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/pb_common.h new file mode 100644 index 00000000000..60b3d374914 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/pb_common.h @@ -0,0 +1,42 @@ +/* pb_common.h: Common support functions for pb_encode.c and pb_decode.c. + * These functions are rarely needed by applications directly. + */ + +#ifndef PB_COMMON_H_INCLUDED +#define PB_COMMON_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Iterator for pb_field_t list */ +struct pb_field_iter_s { + const pb_field_t *start; /* Start of the pb_field_t array */ + const pb_field_t *pos; /* Current position of the iterator */ + unsigned required_field_index; /* Zero-based index that counts only the required fields */ + void *dest_struct; /* Pointer to start of the structure */ + void *pData; /* Pointer to current field value */ + void *pSize; /* Pointer to count/has field */ +}; +typedef struct pb_field_iter_s pb_field_iter_t; + +/* Initialize the field iterator structure to beginning. + * Returns false if the message type is empty. */ +bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct); + +/* Advance the iterator to the next field. + * Returns false when the iterator wraps back to the first field. */ +bool pb_field_iter_next(pb_field_iter_t *iter); + +/* Advance the iterator until it points at a field with the given tag. + * Returns false if no such field exists. */ +bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/pb_decode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/pb_decode.h new file mode 100644 index 00000000000..3577c201661 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/pb_decode.h @@ -0,0 +1,178 @@ +/* pb_decode.h: Functions to decode protocol buffers. Depends on pb_decode.c. + * The main function is pb_decode. You also need an input stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_DECODE_H_INCLUDED +#define PB_DECODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom input streams. You will need to provide + * a callback function to read the bytes from your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause decoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer), + * and rely on pb_read to verify that no-body reads past bytes_left. + * 3) Your callback may be used with substreams, in which case bytes_left + * is different than from the main stream. Don't use bytes_left to compute + * any pointers. + */ +struct pb_istream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + */ + int *callback; +#else + bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count); +#endif + + void *state; /* Free field for use by callback implementation */ + size_t bytes_left; + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main decoding functions * + ***************************/ + +/* Decode a single protocol buffers message from input stream into a C structure. + * Returns true on success, false on any failure. + * The actual struct pointed to by dest must match the description in fields. + * Callback fields of the destination structure must be initialized by caller. + * All other fields will be initialized by this function. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_istream_t stream; + * + * // ... read some data into buffer ... + * + * stream = pb_istream_from_buffer(buffer, count); + * pb_decode(&stream, MyMessage_fields, &msg); + */ +bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except does not initialize the destination structure + * to default values. This is slightly faster if you need no default values + * and just do memset(struct, 0, sizeof(struct)) yourself. + * + * This can also be used for 'merging' two messages, i.e. update only the + * fields that exist in the new message. + * + * Note: If this function returns with an error, it will not release any + * dynamically allocated fields. You will need to call pb_release() yourself. + */ +bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except expects the stream to start with the message size + * encoded as varint. Corresponds to parseDelimitedFrom() in Google's + * protobuf API. + */ +bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode_delimited, except that it does not initialize the destination structure. + * See pb_decode_noinit + */ +bool pb_decode_delimited_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except allows the message to be terminated with a null byte. + * NOTE: Until nanopb-0.4.0, pb_decode() also allows null-termination. This behaviour + * is not supported in most other protobuf implementations, so pb_decode_delimited() + * is a better option for compatibility. + */ +bool pb_decode_nullterminated(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +#ifdef PB_ENABLE_MALLOC +/* Release any allocated pointer fields. If you use dynamic allocation, you should + * call this for any successfully decoded message when you are done with it. If + * pb_decode() returns with an error, the message is already released. + */ +void pb_release(const pb_field_t fields[], void *dest_struct); +#endif + + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an input stream for reading from a memory buffer. + * + * Alternatively, you can use a custom stream that reads directly from e.g. + * a file or a network socket. + */ +pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); + +/* Function to read from a pb_istream_t. You can use this if you need to + * read some custom header data, or to read data in field callbacks. + */ +bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Decode the tag for the next field in the stream. Gives the wire type and + * field tag. At end of the message, returns false and sets eof to true. */ +bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof); + +/* Skip the field payload data, given the wire type. */ +bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type); + +/* Decode an integer in the varint format. This works for enum, int32, + * int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); +#else +#define pb_decode_varint pb_decode_varint32 +#endif + +/* Decode an integer in the varint format. This works for enum, int32, + * and uint32 field types. */ +bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest); + +/* Decode a bool value in varint format. */ +bool pb_decode_bool(pb_istream_t *stream, bool *dest); + +/* Decode an integer in the zig-zagged svarint format. This works for sint32 + * and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_svarint(pb_istream_t *stream, int64_t *dest); +#else +bool pb_decode_svarint(pb_istream_t *stream, int32_t *dest); +#endif + +/* Decode a fixed32, sfixed32 or float value. You need to pass a pointer to + * a 4-byte wide C variable. */ +bool pb_decode_fixed32(pb_istream_t *stream, void *dest); + +#ifndef PB_WITHOUT_64BIT +/* Decode a fixed64, sfixed64 or double value. You need to pass a pointer to + * a 8-byte wide C variable. */ +bool pb_decode_fixed64(pb_istream_t *stream, void *dest); +#endif + +/* Make a limited-length substream for reading a PB_WT_STRING field. */ +bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream); +bool pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/pb_encode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/pb_encode.h new file mode 100644 index 00000000000..b1d822f3029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Headers/pb_encode.h @@ -0,0 +1,170 @@ +/* pb_encode.h: Functions to encode protocol buffers. Depends on pb_encode.c. + * The main function is pb_encode. You also need an output stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_ENCODE_H_INCLUDED +#define PB_ENCODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom output streams. You will need to provide + * a callback function to write the bytes to your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause encoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer). + * 3) pb_write will update bytes_written after your callback runs. + * 4) Substreams will modify max_size and bytes_written. Don't use them + * to calculate any pointers. + */ +struct pb_ostream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + * Also, NULL pointer marks a 'sizing stream' that does not + * write anything. + */ + int *callback; +#else + bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); +#endif + void *state; /* Free field for use by callback implementation. */ + size_t max_size; /* Limit number of output bytes written (or use SIZE_MAX). */ + size_t bytes_written; /* Number of bytes written so far. */ + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main encoding functions * + ***************************/ + +/* Encode a single protocol buffers message from C structure into a stream. + * Returns true on success, false on any failure. + * The actual struct pointed to by src_struct must match the description in fields. + * All required fields in the struct are assumed to have been filled in. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_ostream_t stream; + * + * msg.field1 = 42; + * stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); + * pb_encode(&stream, MyMessage_fields, &msg); + */ +bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but prepends the length of the message as a varint. + * Corresponds to writeDelimitedTo() in Google's protobuf API. + */ +bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but appends a null byte to the message for termination. + * NOTE: This behaviour is not supported in most other protobuf implementations, so pb_encode_delimited() + * is a better option for compatibility. + */ +bool pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Encode the message to get the size of the encoded data, but do not store + * the data. */ +bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct); + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an output stream for writing into a memory buffer. + * The number of bytes written can be found in stream.bytes_written after + * encoding the message. + * + * Alternatively, you can use a custom stream that writes directly to e.g. + * a file or a network socket. + */ +pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); + +/* Pseudo-stream for measuring the size of a message without actually storing + * the encoded data. + * + * Example usage: + * MyMessage msg = {}; + * pb_ostream_t stream = PB_OSTREAM_SIZING; + * pb_encode(&stream, MyMessage_fields, &msg); + * printf("Message size is %d\n", stream.bytes_written); + */ +#ifndef PB_NO_ERRMSG +#define PB_OSTREAM_SIZING {0,0,0,0,0} +#else +#define PB_OSTREAM_SIZING {0,0,0,0} +#endif + +/* Function to write into a pb_ostream_t stream. You can use this if you need + * to append or prepend some custom headers to the message. + */ +bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Encode field header based on type and field number defined in the field + * structure. Call this from the callback before writing out field contents. */ +bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field); + +/* Encode field header by manually specifying wire type. You need to use this + * if you want to write out packed arrays from a callback field. */ +bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number); + +/* Encode an integer in the varint format. + * This works for bool, enum, int32, int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_varint(pb_ostream_t *stream, uint64_t value); +#else +bool pb_encode_varint(pb_ostream_t *stream, uint32_t value); +#endif + +/* Encode an integer in the zig-zagged svarint format. + * This works for sint32 and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_svarint(pb_ostream_t *stream, int64_t value); +#else +bool pb_encode_svarint(pb_ostream_t *stream, int32_t value); +#endif + +/* Encode a string or bytes type field. For strings, pass strlen(s) as size. */ +bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size); + +/* Encode a fixed32, sfixed32 or float value. + * You need to pass a pointer to a 4-byte wide C variable. */ +bool pb_encode_fixed32(pb_ostream_t *stream, const void *value); + +#ifndef PB_WITHOUT_64BIT +/* Encode a fixed64, sfixed64 or double value. + * You need to pass a pointer to a 8-byte wide C variable. */ +bool pb_encode_fixed64(pb_ostream_t *stream, const void *value); +#endif + +/* Encode a submessage field. + * You need to pass the pb_field_t array and pointer to struct, just like + * with pb_encode(). This internally encodes the submessage twice, first to + * calculate message size and then to actually write it out. + */ +bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Info.plist new file mode 100644 index 00000000000..123cd9935e7 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + nanopb + CFBundleIdentifier + org.cocoapods.nanopb + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + nanopb + CFBundlePackageType + FMWK + CFBundleShortVersionString + 3.30910.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvos + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvos17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Modules/module.modulemap new file mode 100644 index 00000000000..611ce4ca6bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module nanopb { +umbrella header "nanopb-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/nanopb b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/nanopb new file mode 100644 index 00000000000..b9db4c5fad5 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/nanopb differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/nanopb_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/nanopb_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..40a33d899dc Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/nanopb_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..72e00ac349a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,15 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/nanopb-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/nanopb-umbrella.h new file mode 100644 index 00000000000..07e77b38a5f --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/nanopb-umbrella.h @@ -0,0 +1,26 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "pb.h" +#import "pb_common.h" +#import "pb_decode.h" +#import "pb_encode.h" +#import "pb.h" +#import "pb_decode.h" +#import "pb_common.h" +#import "pb.h" +#import "pb_encode.h" +#import "pb_common.h" + +FOUNDATION_EXPORT double nanopbVersionNumber; +FOUNDATION_EXPORT const unsigned char nanopbVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/pb.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/pb.h new file mode 100644 index 00000000000..2bd45685029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/pb.h @@ -0,0 +1,599 @@ +/* Common parts of the nanopb library. Most of these are quite low-level + * stuff. For the high-level interface, see pb_encode.h and pb_decode.h. + */ + +#ifndef PB_H_INCLUDED +#define PB_H_INCLUDED + +/***************************************************************** + * Nanopb compilation time options. You can change these here by * + * uncommenting the lines, or on the compiler command line. * + *****************************************************************/ + +/* Enable support for dynamically allocated fields */ +/* #define PB_ENABLE_MALLOC 1 */ + +/* Define this if your CPU / compiler combination does not support + * unaligned memory access to packed structures. */ +/* #define PB_NO_PACKED_STRUCTS 1 */ + +/* Increase the number of required fields that are tracked. + * A compiler warning will tell if you need this. */ +/* #define PB_MAX_REQUIRED_FIELDS 256 */ + +/* Add support for tag numbers > 255 and fields larger than 255 bytes. */ +/* #define PB_FIELD_16BIT 1 */ + +/* Add support for tag numbers > 65536 and fields larger than 65536 bytes. */ +/* #define PB_FIELD_32BIT 1 */ + +/* Disable support for error messages in order to save some code space. */ +/* #define PB_NO_ERRMSG 1 */ + +/* Disable support for custom streams (support only memory buffers). */ +/* #define PB_BUFFER_ONLY 1 */ + +/* Switch back to the old-style callback function signature. + * This was the default until nanopb-0.2.1. */ +/* #define PB_OLD_CALLBACK_STYLE */ + + +/* Don't encode scalar arrays as packed. This is only to be used when + * the decoder on the receiving side cannot process packed scalar arrays. + * Such example is older protobuf.js. */ +/* #define PB_ENCODE_ARRAYS_UNPACKED 1 */ + +/****************************************************************** + * You usually don't need to change anything below this line. * + * Feel free to look around and use the defined macros, though. * + ******************************************************************/ + + +/* Version of the nanopb library. Just in case you want to check it in + * your own program. */ +#define NANOPB_VERSION nanopb-0.3.9.10 + +/* Include all the system headers needed by nanopb. You will need the + * definitions of the following: + * - strlen, memcpy, memset functions + * - [u]int_least8_t, uint_fast8_t, [u]int_least16_t, [u]int32_t, [u]int64_t + * - size_t + * - bool + * + * If you don't have the standard header files, you can instead provide + * a custom header that defines or includes all this. In that case, + * define PB_SYSTEM_HEADER to the path of this file. + */ +#ifdef PB_SYSTEM_HEADER +#include PB_SYSTEM_HEADER +#else +#include +#include +#include +#include + +#ifdef PB_ENABLE_MALLOC +#include +#endif +#endif + +/* Macro for defining packed structures (compiler dependent). + * This just reduces memory requirements, but is not required. + */ +#if defined(PB_NO_PACKED_STRUCTS) + /* Disable struct packing */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#elif defined(__GNUC__) || defined(__clang__) + /* For GCC and clang */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed __attribute__((packed)) +#elif defined(__ICCARM__) || defined(__CC_ARM) + /* For IAR ARM and Keil MDK-ARM compilers */ +# define PB_PACKED_STRUCT_START _Pragma("pack(push, 1)") +# define PB_PACKED_STRUCT_END _Pragma("pack(pop)") +# define pb_packed +#elif defined(_MSC_VER) && (_MSC_VER >= 1500) + /* For Microsoft Visual C++ */ +# define PB_PACKED_STRUCT_START __pragma(pack(push, 1)) +# define PB_PACKED_STRUCT_END __pragma(pack(pop)) +# define pb_packed +#else + /* Unknown compiler */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#endif + +/* Handly macro for suppressing unreferenced-parameter compiler warnings. */ +#ifndef PB_UNUSED +#define PB_UNUSED(x) (void)(x) +#endif + +/* Compile-time assertion, used for checking compatible compilation options. + * If this does not work properly on your compiler, use + * #define PB_NO_STATIC_ASSERT to disable it. + * + * But before doing that, check carefully the error message / place where it + * comes from to see if the error has a real cause. Unfortunately the error + * message is not always very clear to read, but you can see the reason better + * in the place where the PB_STATIC_ASSERT macro was called. + */ +#ifndef PB_NO_STATIC_ASSERT +#ifndef PB_STATIC_ASSERT +#define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1]; +#define PB_STATIC_ASSERT_MSG(MSG, LINE, COUNTER) PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) +#define PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) pb_static_assertion_##MSG##LINE##COUNTER +#endif +#else +#define PB_STATIC_ASSERT(COND,MSG) +#endif + +/* Number of required fields to keep track of. */ +#ifndef PB_MAX_REQUIRED_FIELDS +#define PB_MAX_REQUIRED_FIELDS 64 +#endif + +#if PB_MAX_REQUIRED_FIELDS < 64 +#error You should not lower PB_MAX_REQUIRED_FIELDS from the default value (64). +#endif + +/* List of possible field types. These are used in the autogenerated code. + * Least-significant 4 bits tell the scalar type + * Most-significant 4 bits specify repeated/required/packed etc. + */ + +typedef uint_least8_t pb_type_t; + +/**** Field data types ****/ + +/* Numeric types */ +#define PB_LTYPE_BOOL 0x00 /* bool */ +#define PB_LTYPE_VARINT 0x01 /* int32, int64, enum, bool */ +#define PB_LTYPE_UVARINT 0x02 /* uint32, uint64 */ +#define PB_LTYPE_SVARINT 0x03 /* sint32, sint64 */ +#define PB_LTYPE_FIXED32 0x04 /* fixed32, sfixed32, float */ +#define PB_LTYPE_FIXED64 0x05 /* fixed64, sfixed64, double */ + +/* Marker for last packable field type. */ +#define PB_LTYPE_LAST_PACKABLE 0x05 + +/* Byte array with pre-allocated buffer. + * data_size is the length of the allocated PB_BYTES_ARRAY structure. */ +#define PB_LTYPE_BYTES 0x06 + +/* String with pre-allocated buffer. + * data_size is the maximum length. */ +#define PB_LTYPE_STRING 0x07 + +/* Submessage + * submsg_fields is pointer to field descriptions */ +#define PB_LTYPE_SUBMESSAGE 0x08 + +/* Extension pseudo-field + * The field contains a pointer to pb_extension_t */ +#define PB_LTYPE_EXTENSION 0x09 + +/* Byte array with inline, pre-allocated byffer. + * data_size is the length of the inline, allocated buffer. + * This differs from PB_LTYPE_BYTES by defining the element as + * pb_byte_t[data_size] rather than pb_bytes_array_t. */ +#define PB_LTYPE_FIXED_LENGTH_BYTES 0x0A + +/* Number of declared LTYPES */ +#define PB_LTYPES_COUNT 0x0B +#define PB_LTYPE_MASK 0x0F + +/**** Field repetition rules ****/ + +#define PB_HTYPE_REQUIRED 0x00 +#define PB_HTYPE_OPTIONAL 0x10 +#define PB_HTYPE_REPEATED 0x20 +#define PB_HTYPE_ONEOF 0x30 +#define PB_HTYPE_MASK 0x30 + +/**** Field allocation types ****/ + +#define PB_ATYPE_STATIC 0x00 +#define PB_ATYPE_POINTER 0x80 +#define PB_ATYPE_CALLBACK 0x40 +#define PB_ATYPE_MASK 0xC0 + +#define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) +#define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) +#define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) + +/* Data type used for storing sizes of struct fields + * and array counts. + */ +#if defined(PB_FIELD_32BIT) + typedef uint32_t pb_size_t; + typedef int32_t pb_ssize_t; +#elif defined(PB_FIELD_16BIT) + typedef uint_least16_t pb_size_t; + typedef int_least16_t pb_ssize_t; +#else + typedef uint_least8_t pb_size_t; + typedef int_least8_t pb_ssize_t; +#endif +#define PB_SIZE_MAX ((pb_size_t)-1) + +/* Data type for storing encoded data and other byte streams. + * This typedef exists to support platforms where uint8_t does not exist. + * You can regard it as equivalent on uint8_t on other platforms. + */ +typedef uint_least8_t pb_byte_t; + +/* This structure is used in auto-generated constants + * to specify struct fields. + * You can change field sizes if you need structures + * larger than 256 bytes or field tags larger than 256. + * The compiler should complain if your .proto has such + * structures. Fix that by defining PB_FIELD_16BIT or + * PB_FIELD_32BIT. + */ +PB_PACKED_STRUCT_START +typedef struct pb_field_s pb_field_t; +struct pb_field_s { + pb_size_t tag; + pb_type_t type; + pb_size_t data_offset; /* Offset of field data, relative to previous field. */ + pb_ssize_t size_offset; /* Offset of array size or has-boolean, relative to data */ + pb_size_t data_size; /* Data size in bytes for a single item */ + pb_size_t array_size; /* Maximum number of entries in array */ + + /* Field definitions for submessage + * OR default value for all other non-array, non-callback types + * If null, then field will zeroed. */ + const void *ptr; +} pb_packed; +PB_PACKED_STRUCT_END + +/* Make sure that the standard integer types are of the expected sizes. + * Otherwise fixed32/fixed64 fields can break. + * + * If you get errors here, it probably means that your stdint.h is not + * correct for your platform. + */ +#ifndef PB_WITHOUT_64BIT +PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE) +PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE) +#endif + +/* This structure is used for 'bytes' arrays. + * It has the number of bytes in the beginning, and after that an array. + * Note that actual structs used will have a different length of bytes array. + */ +#define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } +#define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) + +struct pb_bytes_array_s { + pb_size_t size; + pb_byte_t bytes[1]; +}; +typedef struct pb_bytes_array_s pb_bytes_array_t; + +/* This structure is used for giving the callback function. + * It is stored in the message structure and filled in by the method that + * calls pb_decode. + * + * The decoding callback will be given a limited-length stream + * If the wire type was string, the length is the length of the string. + * If the wire type was a varint/fixed32/fixed64, the length is the length + * of the actual value. + * The function may be called multiple times (especially for repeated types, + * but also otherwise if the message happens to contain the field multiple + * times.) + * + * The encoding callback will receive the actual output stream. + * It should write all the data in one call, including the field tag and + * wire type. It can write multiple fields. + * + * The callback can be null if you want to skip a field. + */ +typedef struct pb_istream_s pb_istream_t; +typedef struct pb_ostream_s pb_ostream_t; +typedef struct pb_callback_s pb_callback_t; +struct pb_callback_s { +#ifdef PB_OLD_CALLBACK_STYLE + /* Deprecated since nanopb-0.2.1 */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void *arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, const void *arg); + } funcs; +#else + /* New function signature, which allows modifying arg contents in callback. */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void **arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, void * const *arg); + } funcs; +#endif + + /* Free arg for use by callback */ + void *arg; +}; + +/* Wire types. Library user needs these only in encoder callbacks. */ +typedef enum { + PB_WT_VARINT = 0, + PB_WT_64BIT = 1, + PB_WT_STRING = 2, + PB_WT_32BIT = 5 +} pb_wire_type_t; + +/* Structure for defining the handling of unknown/extension fields. + * Usually the pb_extension_type_t structure is automatically generated, + * while the pb_extension_t structure is created by the user. However, + * if you want to catch all unknown fields, you can also create a custom + * pb_extension_type_t with your own callback. + */ +typedef struct pb_extension_type_s pb_extension_type_t; +typedef struct pb_extension_s pb_extension_t; +struct pb_extension_type_s { + /* Called for each unknown field in the message. + * If you handle the field, read off all of its data and return true. + * If you do not handle the field, do not read anything and return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*decode)(pb_istream_t *stream, pb_extension_t *extension, + uint32_t tag, pb_wire_type_t wire_type); + + /* Called once after all regular fields have been encoded. + * If you have something to write, do so and return true. + * If you do not have anything to write, just return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*encode)(pb_ostream_t *stream, const pb_extension_t *extension); + + /* Free field for use by the callback. */ + const void *arg; +}; + +struct pb_extension_s { + /* Type describing the extension field. Usually you'll initialize + * this to a pointer to the automatically generated structure. */ + const pb_extension_type_t *type; + + /* Destination for the decoded data. This must match the datatype + * of the extension field. */ + void *dest; + + /* Pointer to the next extension handler, or NULL. + * If this extension does not match a field, the next handler is + * automatically called. */ + pb_extension_t *next; + + /* The decoder sets this to true if the extension was found. + * Ignored for encoding. */ + bool found; +}; + +/* Memory allocation functions to use. You can define pb_realloc and + * pb_free to custom functions if you want. */ +#ifdef PB_ENABLE_MALLOC +# ifndef pb_realloc +# define pb_realloc(ptr, size) realloc(ptr, size) +# endif +# ifndef pb_free +# define pb_free(ptr) free(ptr) +# endif +#endif + +/* This is used to inform about need to regenerate .pb.h/.pb.c files. */ +#define PB_PROTO_HEADER_VERSION 30 + +/* These macros are used to declare pb_field_t's in the constant array. */ +/* Size of a structure member, in bytes. */ +#define pb_membersize(st, m) (sizeof ((st*)0)->m) +/* Number of entries in an array. */ +#define pb_arraysize(st, m) (pb_membersize(st, m) / pb_membersize(st, m[0])) +/* Delta from start of one member to the start of another member. */ +#define pb_delta(st, m1, m2) ((int)offsetof(st, m1) - (int)offsetof(st, m2)) +/* Marks the end of the field list */ +#define PB_LAST_FIELD {0,(pb_type_t) 0,0,0,0,0,0} + +/* Macros for filling in the data_offset field */ +/* data_offset for first field in a message */ +#define PB_DATAOFFSET_FIRST(st, m1, m2) (offsetof(st, m1)) +/* data_offset for subsequent fields */ +#define PB_DATAOFFSET_OTHER(st, m1, m2) (offsetof(st, m1) - offsetof(st, m2) - pb_membersize(st, m2)) +/* data offset for subsequent fields inside an union (oneof) */ +#define PB_DATAOFFSET_UNION(st, m1, m2) (PB_SIZE_MAX) +/* Choose first/other based on m1 == m2 (deprecated, remains for backwards compatibility) */ +#define PB_DATAOFFSET_CHOOSE(st, m1, m2) (int)(offsetof(st, m1) == offsetof(st, m2) \ + ? PB_DATAOFFSET_FIRST(st, m1, m2) \ + : PB_DATAOFFSET_OTHER(st, m1, m2)) + +/* Required fields are the simplest. They just have delta (padding) from + * previous field end, and the size of the field. Pointer is used for + * submessages and default values. + */ +#define PB_REQUIRED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional fields add the delta to the has_ variable. */ +#define PB_OPTIONAL_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, \ + pb_delta(st, has_ ## m, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Repeated fields have a _count field and also the maximum number of entries. */ +#define PB_REPEATED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | ltype, \ + fd, \ + pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), \ + pb_arraysize(st, m), ptr} + +/* Allocated fields carry the size of the actual data, not the pointer */ +#define PB_REQUIRED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Optional fields don't need a has_ variable, as information would be redundant */ +#define PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Same as optional fields*/ +#define PB_SINGULAR_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Repeated fields have a _count field and a pointer to array of pointers */ +#define PB_REPEATED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REPEATED | ltype, \ + fd, pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), 0, ptr} + +/* Callbacks are much like required fields except with special datatype. */ +#define PB_REQUIRED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_REPEATED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REPEATED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional extensions don't have the has_ field, as that would be redundant. + * Furthermore, the combination of OPTIONAL without has_ field is used + * for indicating proto3 style fields. Extensions exist in proto2 mode only, + * so they should be encoded according to proto2 rules. To avoid the conflict, + * extensions are marked as REQUIRED instead. + */ +#define PB_OPTEXT_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + 0, \ + 0, \ + pb_membersize(st, m), 0, ptr} + +#define PB_OPTEXT_POINTER(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) + +#define PB_OPTEXT_CALLBACK(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) + +/* The mapping from protobuf types to LTYPEs is done using these macros. */ +#define PB_LTYPE_MAP_BOOL PB_LTYPE_BOOL +#define PB_LTYPE_MAP_BYTES PB_LTYPE_BYTES +#define PB_LTYPE_MAP_DOUBLE PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_ENUM PB_LTYPE_VARINT +#define PB_LTYPE_MAP_UENUM PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_FIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_FIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_FLOAT PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_INT32 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_INT64 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_MESSAGE PB_LTYPE_SUBMESSAGE +#define PB_LTYPE_MAP_SFIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_SFIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_SINT32 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_SINT64 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_STRING PB_LTYPE_STRING +#define PB_LTYPE_MAP_UINT32 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_UINT64 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_EXTENSION PB_LTYPE_EXTENSION +#define PB_LTYPE_MAP_FIXED_LENGTH_BYTES PB_LTYPE_FIXED_LENGTH_BYTES + +/* This is the actual macro used in field descriptions. + * It takes these arguments: + * - Field tag number + * - Field type: BOOL, BYTES, DOUBLE, ENUM, UENUM, FIXED32, FIXED64, + * FLOAT, INT32, INT64, MESSAGE, SFIXED32, SFIXED64 + * SINT32, SINT64, STRING, UINT32, UINT64 or EXTENSION + * - Field rules: REQUIRED, OPTIONAL or REPEATED + * - Allocation: STATIC, CALLBACK or POINTER + * - Placement: FIRST or OTHER, depending on if this is the first field in structure. + * - Message name + * - Field name + * - Previous field name (or field name again for first field) + * - Pointer to default value or submsg fields. + */ + +#define PB_FIELD(tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ ## rules ## _ ## allocation(tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* Field description for repeated static fixed count fields.*/ +#define PB_REPEATED_FIXED_COUNT(tag, type, placement, message, field, prevfield, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | PB_LTYPE_MAP_ ## type, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + 0, \ + pb_membersize(message, field[0]), \ + pb_arraysize(message, field), ptr} + +/* Field description for oneof fields. This requires taking into account the + * union name also, that's why a separate set of macros is needed. + */ +#define PB_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m), 0, ptr} + +#define PB_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m[0]), 0, ptr} + +#define PB_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, union_name.field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +#define PB_ANONYMOUS_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m[0]), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ANONYMOUS_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* These macros are used for giving out error messages. + * They are mostly a debugging aid; the main error information + * is the true/false return value from functions. + * Some code space can be saved by disabling the error + * messages if not used. + * + * PB_SET_ERROR() sets the error message if none has been set yet. + * msg must be a constant string literal. + * PB_GET_ERROR() always returns a pointer to a string. + * PB_RETURN_ERROR() sets the error and returns false from current + * function. + */ +#ifdef PB_NO_ERRMSG +#define PB_SET_ERROR(stream, msg) PB_UNUSED(stream) +#define PB_GET_ERROR(stream) "(errmsg disabled)" +#else +#define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg)) +#define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)") +#endif + +#define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_common.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_common.h new file mode 100644 index 00000000000..60b3d374914 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_common.h @@ -0,0 +1,42 @@ +/* pb_common.h: Common support functions for pb_encode.c and pb_decode.c. + * These functions are rarely needed by applications directly. + */ + +#ifndef PB_COMMON_H_INCLUDED +#define PB_COMMON_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Iterator for pb_field_t list */ +struct pb_field_iter_s { + const pb_field_t *start; /* Start of the pb_field_t array */ + const pb_field_t *pos; /* Current position of the iterator */ + unsigned required_field_index; /* Zero-based index that counts only the required fields */ + void *dest_struct; /* Pointer to start of the structure */ + void *pData; /* Pointer to current field value */ + void *pSize; /* Pointer to count/has field */ +}; +typedef struct pb_field_iter_s pb_field_iter_t; + +/* Initialize the field iterator structure to beginning. + * Returns false if the message type is empty. */ +bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct); + +/* Advance the iterator to the next field. + * Returns false when the iterator wraps back to the first field. */ +bool pb_field_iter_next(pb_field_iter_t *iter); + +/* Advance the iterator until it points at a field with the given tag. + * Returns false if no such field exists. */ +bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_decode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_decode.h new file mode 100644 index 00000000000..3577c201661 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_decode.h @@ -0,0 +1,178 @@ +/* pb_decode.h: Functions to decode protocol buffers. Depends on pb_decode.c. + * The main function is pb_decode. You also need an input stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_DECODE_H_INCLUDED +#define PB_DECODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom input streams. You will need to provide + * a callback function to read the bytes from your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause decoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer), + * and rely on pb_read to verify that no-body reads past bytes_left. + * 3) Your callback may be used with substreams, in which case bytes_left + * is different than from the main stream. Don't use bytes_left to compute + * any pointers. + */ +struct pb_istream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + */ + int *callback; +#else + bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count); +#endif + + void *state; /* Free field for use by callback implementation */ + size_t bytes_left; + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main decoding functions * + ***************************/ + +/* Decode a single protocol buffers message from input stream into a C structure. + * Returns true on success, false on any failure. + * The actual struct pointed to by dest must match the description in fields. + * Callback fields of the destination structure must be initialized by caller. + * All other fields will be initialized by this function. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_istream_t stream; + * + * // ... read some data into buffer ... + * + * stream = pb_istream_from_buffer(buffer, count); + * pb_decode(&stream, MyMessage_fields, &msg); + */ +bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except does not initialize the destination structure + * to default values. This is slightly faster if you need no default values + * and just do memset(struct, 0, sizeof(struct)) yourself. + * + * This can also be used for 'merging' two messages, i.e. update only the + * fields that exist in the new message. + * + * Note: If this function returns with an error, it will not release any + * dynamically allocated fields. You will need to call pb_release() yourself. + */ +bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except expects the stream to start with the message size + * encoded as varint. Corresponds to parseDelimitedFrom() in Google's + * protobuf API. + */ +bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode_delimited, except that it does not initialize the destination structure. + * See pb_decode_noinit + */ +bool pb_decode_delimited_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except allows the message to be terminated with a null byte. + * NOTE: Until nanopb-0.4.0, pb_decode() also allows null-termination. This behaviour + * is not supported in most other protobuf implementations, so pb_decode_delimited() + * is a better option for compatibility. + */ +bool pb_decode_nullterminated(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +#ifdef PB_ENABLE_MALLOC +/* Release any allocated pointer fields. If you use dynamic allocation, you should + * call this for any successfully decoded message when you are done with it. If + * pb_decode() returns with an error, the message is already released. + */ +void pb_release(const pb_field_t fields[], void *dest_struct); +#endif + + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an input stream for reading from a memory buffer. + * + * Alternatively, you can use a custom stream that reads directly from e.g. + * a file or a network socket. + */ +pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); + +/* Function to read from a pb_istream_t. You can use this if you need to + * read some custom header data, or to read data in field callbacks. + */ +bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Decode the tag for the next field in the stream. Gives the wire type and + * field tag. At end of the message, returns false and sets eof to true. */ +bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof); + +/* Skip the field payload data, given the wire type. */ +bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type); + +/* Decode an integer in the varint format. This works for enum, int32, + * int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); +#else +#define pb_decode_varint pb_decode_varint32 +#endif + +/* Decode an integer in the varint format. This works for enum, int32, + * and uint32 field types. */ +bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest); + +/* Decode a bool value in varint format. */ +bool pb_decode_bool(pb_istream_t *stream, bool *dest); + +/* Decode an integer in the zig-zagged svarint format. This works for sint32 + * and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_svarint(pb_istream_t *stream, int64_t *dest); +#else +bool pb_decode_svarint(pb_istream_t *stream, int32_t *dest); +#endif + +/* Decode a fixed32, sfixed32 or float value. You need to pass a pointer to + * a 4-byte wide C variable. */ +bool pb_decode_fixed32(pb_istream_t *stream, void *dest); + +#ifndef PB_WITHOUT_64BIT +/* Decode a fixed64, sfixed64 or double value. You need to pass a pointer to + * a 8-byte wide C variable. */ +bool pb_decode_fixed64(pb_istream_t *stream, void *dest); +#endif + +/* Make a limited-length substream for reading a PB_WT_STRING field. */ +bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream); +bool pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_encode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_encode.h new file mode 100644 index 00000000000..b1d822f3029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_encode.h @@ -0,0 +1,170 @@ +/* pb_encode.h: Functions to encode protocol buffers. Depends on pb_encode.c. + * The main function is pb_encode. You also need an output stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_ENCODE_H_INCLUDED +#define PB_ENCODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom output streams. You will need to provide + * a callback function to write the bytes to your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause encoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer). + * 3) pb_write will update bytes_written after your callback runs. + * 4) Substreams will modify max_size and bytes_written. Don't use them + * to calculate any pointers. + */ +struct pb_ostream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + * Also, NULL pointer marks a 'sizing stream' that does not + * write anything. + */ + int *callback; +#else + bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); +#endif + void *state; /* Free field for use by callback implementation. */ + size_t max_size; /* Limit number of output bytes written (or use SIZE_MAX). */ + size_t bytes_written; /* Number of bytes written so far. */ + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main encoding functions * + ***************************/ + +/* Encode a single protocol buffers message from C structure into a stream. + * Returns true on success, false on any failure. + * The actual struct pointed to by src_struct must match the description in fields. + * All required fields in the struct are assumed to have been filled in. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_ostream_t stream; + * + * msg.field1 = 42; + * stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); + * pb_encode(&stream, MyMessage_fields, &msg); + */ +bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but prepends the length of the message as a varint. + * Corresponds to writeDelimitedTo() in Google's protobuf API. + */ +bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but appends a null byte to the message for termination. + * NOTE: This behaviour is not supported in most other protobuf implementations, so pb_encode_delimited() + * is a better option for compatibility. + */ +bool pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Encode the message to get the size of the encoded data, but do not store + * the data. */ +bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct); + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an output stream for writing into a memory buffer. + * The number of bytes written can be found in stream.bytes_written after + * encoding the message. + * + * Alternatively, you can use a custom stream that writes directly to e.g. + * a file or a network socket. + */ +pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); + +/* Pseudo-stream for measuring the size of a message without actually storing + * the encoded data. + * + * Example usage: + * MyMessage msg = {}; + * pb_ostream_t stream = PB_OSTREAM_SIZING; + * pb_encode(&stream, MyMessage_fields, &msg); + * printf("Message size is %d\n", stream.bytes_written); + */ +#ifndef PB_NO_ERRMSG +#define PB_OSTREAM_SIZING {0,0,0,0,0} +#else +#define PB_OSTREAM_SIZING {0,0,0,0} +#endif + +/* Function to write into a pb_ostream_t stream. You can use this if you need + * to append or prepend some custom headers to the message. + */ +bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Encode field header based on type and field number defined in the field + * structure. Call this from the callback before writing out field contents. */ +bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field); + +/* Encode field header by manually specifying wire type. You need to use this + * if you want to write out packed arrays from a callback field. */ +bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number); + +/* Encode an integer in the varint format. + * This works for bool, enum, int32, int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_varint(pb_ostream_t *stream, uint64_t value); +#else +bool pb_encode_varint(pb_ostream_t *stream, uint32_t value); +#endif + +/* Encode an integer in the zig-zagged svarint format. + * This works for sint32 and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_svarint(pb_ostream_t *stream, int64_t value); +#else +bool pb_encode_svarint(pb_ostream_t *stream, int32_t value); +#endif + +/* Encode a string or bytes type field. For strings, pass strlen(s) as size. */ +bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size); + +/* Encode a fixed32, sfixed32 or float value. + * You need to pass a pointer to a 4-byte wide C variable. */ +bool pb_encode_fixed32(pb_ostream_t *stream, const void *value); + +#ifndef PB_WITHOUT_64BIT +/* Encode a fixed64, sfixed64 or double value. + * You need to pass a pointer to a 8-byte wide C variable. */ +bool pb_encode_fixed64(pb_ostream_t *stream, const void *value); +#endif + +/* Encode a submessage field. + * You need to pass the pb_field_t array and pointer to struct, just like + * with pb_encode(). This internally encodes the submessage twice, first to + * calculate message size and then to actually write it out. + */ +bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Info.plist new file mode 100644 index 00000000000..d675924dd03 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + nanopb + CFBundleIdentifier + org.cocoapods.nanopb + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + nanopb + CFBundlePackageType + FMWK + CFBundleShortVersionString + 3.30910.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + AppleTVSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21K354 + DTPlatformName + appletvsimulator + DTPlatformVersion + 17.2 + DTSDKBuild + 21K354 + DTSDKName + appletvsimulator17.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 3 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Modules/module.modulemap new file mode 100644 index 00000000000..611ce4ca6bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module nanopb { +umbrella header "nanopb-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/nanopb b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/nanopb new file mode 100644 index 00000000000..86a298405ee Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/nanopb differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..4dabd91f406 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..72e00ac349a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/tvos-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,15 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/nanopb-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/nanopb-umbrella.h new file mode 100644 index 00000000000..4b44f82d3eb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/nanopb-umbrella.h @@ -0,0 +1,26 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "pb.h" +#import "pb_common.h" +#import "pb_decode.h" +#import "pb_encode.h" +#import "pb.h" +#import "pb_decode.h" +#import "pb_common.h" +#import "pb.h" +#import "pb_encode.h" +#import "pb_common.h" + +FOUNDATION_EXPORT double nanopbVersionNumber; +FOUNDATION_EXPORT const unsigned char nanopbVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/pb.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/pb.h new file mode 100644 index 00000000000..2bd45685029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/pb.h @@ -0,0 +1,599 @@ +/* Common parts of the nanopb library. Most of these are quite low-level + * stuff. For the high-level interface, see pb_encode.h and pb_decode.h. + */ + +#ifndef PB_H_INCLUDED +#define PB_H_INCLUDED + +/***************************************************************** + * Nanopb compilation time options. You can change these here by * + * uncommenting the lines, or on the compiler command line. * + *****************************************************************/ + +/* Enable support for dynamically allocated fields */ +/* #define PB_ENABLE_MALLOC 1 */ + +/* Define this if your CPU / compiler combination does not support + * unaligned memory access to packed structures. */ +/* #define PB_NO_PACKED_STRUCTS 1 */ + +/* Increase the number of required fields that are tracked. + * A compiler warning will tell if you need this. */ +/* #define PB_MAX_REQUIRED_FIELDS 256 */ + +/* Add support for tag numbers > 255 and fields larger than 255 bytes. */ +/* #define PB_FIELD_16BIT 1 */ + +/* Add support for tag numbers > 65536 and fields larger than 65536 bytes. */ +/* #define PB_FIELD_32BIT 1 */ + +/* Disable support for error messages in order to save some code space. */ +/* #define PB_NO_ERRMSG 1 */ + +/* Disable support for custom streams (support only memory buffers). */ +/* #define PB_BUFFER_ONLY 1 */ + +/* Switch back to the old-style callback function signature. + * This was the default until nanopb-0.2.1. */ +/* #define PB_OLD_CALLBACK_STYLE */ + + +/* Don't encode scalar arrays as packed. This is only to be used when + * the decoder on the receiving side cannot process packed scalar arrays. + * Such example is older protobuf.js. */ +/* #define PB_ENCODE_ARRAYS_UNPACKED 1 */ + +/****************************************************************** + * You usually don't need to change anything below this line. * + * Feel free to look around and use the defined macros, though. * + ******************************************************************/ + + +/* Version of the nanopb library. Just in case you want to check it in + * your own program. */ +#define NANOPB_VERSION nanopb-0.3.9.10 + +/* Include all the system headers needed by nanopb. You will need the + * definitions of the following: + * - strlen, memcpy, memset functions + * - [u]int_least8_t, uint_fast8_t, [u]int_least16_t, [u]int32_t, [u]int64_t + * - size_t + * - bool + * + * If you don't have the standard header files, you can instead provide + * a custom header that defines or includes all this. In that case, + * define PB_SYSTEM_HEADER to the path of this file. + */ +#ifdef PB_SYSTEM_HEADER +#include PB_SYSTEM_HEADER +#else +#include +#include +#include +#include + +#ifdef PB_ENABLE_MALLOC +#include +#endif +#endif + +/* Macro for defining packed structures (compiler dependent). + * This just reduces memory requirements, but is not required. + */ +#if defined(PB_NO_PACKED_STRUCTS) + /* Disable struct packing */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#elif defined(__GNUC__) || defined(__clang__) + /* For GCC and clang */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed __attribute__((packed)) +#elif defined(__ICCARM__) || defined(__CC_ARM) + /* For IAR ARM and Keil MDK-ARM compilers */ +# define PB_PACKED_STRUCT_START _Pragma("pack(push, 1)") +# define PB_PACKED_STRUCT_END _Pragma("pack(pop)") +# define pb_packed +#elif defined(_MSC_VER) && (_MSC_VER >= 1500) + /* For Microsoft Visual C++ */ +# define PB_PACKED_STRUCT_START __pragma(pack(push, 1)) +# define PB_PACKED_STRUCT_END __pragma(pack(pop)) +# define pb_packed +#else + /* Unknown compiler */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#endif + +/* Handly macro for suppressing unreferenced-parameter compiler warnings. */ +#ifndef PB_UNUSED +#define PB_UNUSED(x) (void)(x) +#endif + +/* Compile-time assertion, used for checking compatible compilation options. + * If this does not work properly on your compiler, use + * #define PB_NO_STATIC_ASSERT to disable it. + * + * But before doing that, check carefully the error message / place where it + * comes from to see if the error has a real cause. Unfortunately the error + * message is not always very clear to read, but you can see the reason better + * in the place where the PB_STATIC_ASSERT macro was called. + */ +#ifndef PB_NO_STATIC_ASSERT +#ifndef PB_STATIC_ASSERT +#define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1]; +#define PB_STATIC_ASSERT_MSG(MSG, LINE, COUNTER) PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) +#define PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) pb_static_assertion_##MSG##LINE##COUNTER +#endif +#else +#define PB_STATIC_ASSERT(COND,MSG) +#endif + +/* Number of required fields to keep track of. */ +#ifndef PB_MAX_REQUIRED_FIELDS +#define PB_MAX_REQUIRED_FIELDS 64 +#endif + +#if PB_MAX_REQUIRED_FIELDS < 64 +#error You should not lower PB_MAX_REQUIRED_FIELDS from the default value (64). +#endif + +/* List of possible field types. These are used in the autogenerated code. + * Least-significant 4 bits tell the scalar type + * Most-significant 4 bits specify repeated/required/packed etc. + */ + +typedef uint_least8_t pb_type_t; + +/**** Field data types ****/ + +/* Numeric types */ +#define PB_LTYPE_BOOL 0x00 /* bool */ +#define PB_LTYPE_VARINT 0x01 /* int32, int64, enum, bool */ +#define PB_LTYPE_UVARINT 0x02 /* uint32, uint64 */ +#define PB_LTYPE_SVARINT 0x03 /* sint32, sint64 */ +#define PB_LTYPE_FIXED32 0x04 /* fixed32, sfixed32, float */ +#define PB_LTYPE_FIXED64 0x05 /* fixed64, sfixed64, double */ + +/* Marker for last packable field type. */ +#define PB_LTYPE_LAST_PACKABLE 0x05 + +/* Byte array with pre-allocated buffer. + * data_size is the length of the allocated PB_BYTES_ARRAY structure. */ +#define PB_LTYPE_BYTES 0x06 + +/* String with pre-allocated buffer. + * data_size is the maximum length. */ +#define PB_LTYPE_STRING 0x07 + +/* Submessage + * submsg_fields is pointer to field descriptions */ +#define PB_LTYPE_SUBMESSAGE 0x08 + +/* Extension pseudo-field + * The field contains a pointer to pb_extension_t */ +#define PB_LTYPE_EXTENSION 0x09 + +/* Byte array with inline, pre-allocated byffer. + * data_size is the length of the inline, allocated buffer. + * This differs from PB_LTYPE_BYTES by defining the element as + * pb_byte_t[data_size] rather than pb_bytes_array_t. */ +#define PB_LTYPE_FIXED_LENGTH_BYTES 0x0A + +/* Number of declared LTYPES */ +#define PB_LTYPES_COUNT 0x0B +#define PB_LTYPE_MASK 0x0F + +/**** Field repetition rules ****/ + +#define PB_HTYPE_REQUIRED 0x00 +#define PB_HTYPE_OPTIONAL 0x10 +#define PB_HTYPE_REPEATED 0x20 +#define PB_HTYPE_ONEOF 0x30 +#define PB_HTYPE_MASK 0x30 + +/**** Field allocation types ****/ + +#define PB_ATYPE_STATIC 0x00 +#define PB_ATYPE_POINTER 0x80 +#define PB_ATYPE_CALLBACK 0x40 +#define PB_ATYPE_MASK 0xC0 + +#define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) +#define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) +#define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) + +/* Data type used for storing sizes of struct fields + * and array counts. + */ +#if defined(PB_FIELD_32BIT) + typedef uint32_t pb_size_t; + typedef int32_t pb_ssize_t; +#elif defined(PB_FIELD_16BIT) + typedef uint_least16_t pb_size_t; + typedef int_least16_t pb_ssize_t; +#else + typedef uint_least8_t pb_size_t; + typedef int_least8_t pb_ssize_t; +#endif +#define PB_SIZE_MAX ((pb_size_t)-1) + +/* Data type for storing encoded data and other byte streams. + * This typedef exists to support platforms where uint8_t does not exist. + * You can regard it as equivalent on uint8_t on other platforms. + */ +typedef uint_least8_t pb_byte_t; + +/* This structure is used in auto-generated constants + * to specify struct fields. + * You can change field sizes if you need structures + * larger than 256 bytes or field tags larger than 256. + * The compiler should complain if your .proto has such + * structures. Fix that by defining PB_FIELD_16BIT or + * PB_FIELD_32BIT. + */ +PB_PACKED_STRUCT_START +typedef struct pb_field_s pb_field_t; +struct pb_field_s { + pb_size_t tag; + pb_type_t type; + pb_size_t data_offset; /* Offset of field data, relative to previous field. */ + pb_ssize_t size_offset; /* Offset of array size or has-boolean, relative to data */ + pb_size_t data_size; /* Data size in bytes for a single item */ + pb_size_t array_size; /* Maximum number of entries in array */ + + /* Field definitions for submessage + * OR default value for all other non-array, non-callback types + * If null, then field will zeroed. */ + const void *ptr; +} pb_packed; +PB_PACKED_STRUCT_END + +/* Make sure that the standard integer types are of the expected sizes. + * Otherwise fixed32/fixed64 fields can break. + * + * If you get errors here, it probably means that your stdint.h is not + * correct for your platform. + */ +#ifndef PB_WITHOUT_64BIT +PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE) +PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE) +#endif + +/* This structure is used for 'bytes' arrays. + * It has the number of bytes in the beginning, and after that an array. + * Note that actual structs used will have a different length of bytes array. + */ +#define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } +#define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) + +struct pb_bytes_array_s { + pb_size_t size; + pb_byte_t bytes[1]; +}; +typedef struct pb_bytes_array_s pb_bytes_array_t; + +/* This structure is used for giving the callback function. + * It is stored in the message structure and filled in by the method that + * calls pb_decode. + * + * The decoding callback will be given a limited-length stream + * If the wire type was string, the length is the length of the string. + * If the wire type was a varint/fixed32/fixed64, the length is the length + * of the actual value. + * The function may be called multiple times (especially for repeated types, + * but also otherwise if the message happens to contain the field multiple + * times.) + * + * The encoding callback will receive the actual output stream. + * It should write all the data in one call, including the field tag and + * wire type. It can write multiple fields. + * + * The callback can be null if you want to skip a field. + */ +typedef struct pb_istream_s pb_istream_t; +typedef struct pb_ostream_s pb_ostream_t; +typedef struct pb_callback_s pb_callback_t; +struct pb_callback_s { +#ifdef PB_OLD_CALLBACK_STYLE + /* Deprecated since nanopb-0.2.1 */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void *arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, const void *arg); + } funcs; +#else + /* New function signature, which allows modifying arg contents in callback. */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void **arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, void * const *arg); + } funcs; +#endif + + /* Free arg for use by callback */ + void *arg; +}; + +/* Wire types. Library user needs these only in encoder callbacks. */ +typedef enum { + PB_WT_VARINT = 0, + PB_WT_64BIT = 1, + PB_WT_STRING = 2, + PB_WT_32BIT = 5 +} pb_wire_type_t; + +/* Structure for defining the handling of unknown/extension fields. + * Usually the pb_extension_type_t structure is automatically generated, + * while the pb_extension_t structure is created by the user. However, + * if you want to catch all unknown fields, you can also create a custom + * pb_extension_type_t with your own callback. + */ +typedef struct pb_extension_type_s pb_extension_type_t; +typedef struct pb_extension_s pb_extension_t; +struct pb_extension_type_s { + /* Called for each unknown field in the message. + * If you handle the field, read off all of its data and return true. + * If you do not handle the field, do not read anything and return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*decode)(pb_istream_t *stream, pb_extension_t *extension, + uint32_t tag, pb_wire_type_t wire_type); + + /* Called once after all regular fields have been encoded. + * If you have something to write, do so and return true. + * If you do not have anything to write, just return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*encode)(pb_ostream_t *stream, const pb_extension_t *extension); + + /* Free field for use by the callback. */ + const void *arg; +}; + +struct pb_extension_s { + /* Type describing the extension field. Usually you'll initialize + * this to a pointer to the automatically generated structure. */ + const pb_extension_type_t *type; + + /* Destination for the decoded data. This must match the datatype + * of the extension field. */ + void *dest; + + /* Pointer to the next extension handler, or NULL. + * If this extension does not match a field, the next handler is + * automatically called. */ + pb_extension_t *next; + + /* The decoder sets this to true if the extension was found. + * Ignored for encoding. */ + bool found; +}; + +/* Memory allocation functions to use. You can define pb_realloc and + * pb_free to custom functions if you want. */ +#ifdef PB_ENABLE_MALLOC +# ifndef pb_realloc +# define pb_realloc(ptr, size) realloc(ptr, size) +# endif +# ifndef pb_free +# define pb_free(ptr) free(ptr) +# endif +#endif + +/* This is used to inform about need to regenerate .pb.h/.pb.c files. */ +#define PB_PROTO_HEADER_VERSION 30 + +/* These macros are used to declare pb_field_t's in the constant array. */ +/* Size of a structure member, in bytes. */ +#define pb_membersize(st, m) (sizeof ((st*)0)->m) +/* Number of entries in an array. */ +#define pb_arraysize(st, m) (pb_membersize(st, m) / pb_membersize(st, m[0])) +/* Delta from start of one member to the start of another member. */ +#define pb_delta(st, m1, m2) ((int)offsetof(st, m1) - (int)offsetof(st, m2)) +/* Marks the end of the field list */ +#define PB_LAST_FIELD {0,(pb_type_t) 0,0,0,0,0,0} + +/* Macros for filling in the data_offset field */ +/* data_offset for first field in a message */ +#define PB_DATAOFFSET_FIRST(st, m1, m2) (offsetof(st, m1)) +/* data_offset for subsequent fields */ +#define PB_DATAOFFSET_OTHER(st, m1, m2) (offsetof(st, m1) - offsetof(st, m2) - pb_membersize(st, m2)) +/* data offset for subsequent fields inside an union (oneof) */ +#define PB_DATAOFFSET_UNION(st, m1, m2) (PB_SIZE_MAX) +/* Choose first/other based on m1 == m2 (deprecated, remains for backwards compatibility) */ +#define PB_DATAOFFSET_CHOOSE(st, m1, m2) (int)(offsetof(st, m1) == offsetof(st, m2) \ + ? PB_DATAOFFSET_FIRST(st, m1, m2) \ + : PB_DATAOFFSET_OTHER(st, m1, m2)) + +/* Required fields are the simplest. They just have delta (padding) from + * previous field end, and the size of the field. Pointer is used for + * submessages and default values. + */ +#define PB_REQUIRED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional fields add the delta to the has_ variable. */ +#define PB_OPTIONAL_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, \ + pb_delta(st, has_ ## m, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Repeated fields have a _count field and also the maximum number of entries. */ +#define PB_REPEATED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | ltype, \ + fd, \ + pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), \ + pb_arraysize(st, m), ptr} + +/* Allocated fields carry the size of the actual data, not the pointer */ +#define PB_REQUIRED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Optional fields don't need a has_ variable, as information would be redundant */ +#define PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Same as optional fields*/ +#define PB_SINGULAR_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Repeated fields have a _count field and a pointer to array of pointers */ +#define PB_REPEATED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REPEATED | ltype, \ + fd, pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), 0, ptr} + +/* Callbacks are much like required fields except with special datatype. */ +#define PB_REQUIRED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_REPEATED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REPEATED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional extensions don't have the has_ field, as that would be redundant. + * Furthermore, the combination of OPTIONAL without has_ field is used + * for indicating proto3 style fields. Extensions exist in proto2 mode only, + * so they should be encoded according to proto2 rules. To avoid the conflict, + * extensions are marked as REQUIRED instead. + */ +#define PB_OPTEXT_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + 0, \ + 0, \ + pb_membersize(st, m), 0, ptr} + +#define PB_OPTEXT_POINTER(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) + +#define PB_OPTEXT_CALLBACK(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) + +/* The mapping from protobuf types to LTYPEs is done using these macros. */ +#define PB_LTYPE_MAP_BOOL PB_LTYPE_BOOL +#define PB_LTYPE_MAP_BYTES PB_LTYPE_BYTES +#define PB_LTYPE_MAP_DOUBLE PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_ENUM PB_LTYPE_VARINT +#define PB_LTYPE_MAP_UENUM PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_FIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_FIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_FLOAT PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_INT32 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_INT64 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_MESSAGE PB_LTYPE_SUBMESSAGE +#define PB_LTYPE_MAP_SFIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_SFIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_SINT32 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_SINT64 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_STRING PB_LTYPE_STRING +#define PB_LTYPE_MAP_UINT32 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_UINT64 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_EXTENSION PB_LTYPE_EXTENSION +#define PB_LTYPE_MAP_FIXED_LENGTH_BYTES PB_LTYPE_FIXED_LENGTH_BYTES + +/* This is the actual macro used in field descriptions. + * It takes these arguments: + * - Field tag number + * - Field type: BOOL, BYTES, DOUBLE, ENUM, UENUM, FIXED32, FIXED64, + * FLOAT, INT32, INT64, MESSAGE, SFIXED32, SFIXED64 + * SINT32, SINT64, STRING, UINT32, UINT64 or EXTENSION + * - Field rules: REQUIRED, OPTIONAL or REPEATED + * - Allocation: STATIC, CALLBACK or POINTER + * - Placement: FIRST or OTHER, depending on if this is the first field in structure. + * - Message name + * - Field name + * - Previous field name (or field name again for first field) + * - Pointer to default value or submsg fields. + */ + +#define PB_FIELD(tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ ## rules ## _ ## allocation(tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* Field description for repeated static fixed count fields.*/ +#define PB_REPEATED_FIXED_COUNT(tag, type, placement, message, field, prevfield, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | PB_LTYPE_MAP_ ## type, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + 0, \ + pb_membersize(message, field[0]), \ + pb_arraysize(message, field), ptr} + +/* Field description for oneof fields. This requires taking into account the + * union name also, that's why a separate set of macros is needed. + */ +#define PB_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m), 0, ptr} + +#define PB_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m[0]), 0, ptr} + +#define PB_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, union_name.field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +#define PB_ANONYMOUS_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m[0]), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ANONYMOUS_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* These macros are used for giving out error messages. + * They are mostly a debugging aid; the main error information + * is the true/false return value from functions. + * Some code space can be saved by disabling the error + * messages if not used. + * + * PB_SET_ERROR() sets the error message if none has been set yet. + * msg must be a constant string literal. + * PB_GET_ERROR() always returns a pointer to a string. + * PB_RETURN_ERROR() sets the error and returns false from current + * function. + */ +#ifdef PB_NO_ERRMSG +#define PB_SET_ERROR(stream, msg) PB_UNUSED(stream) +#define PB_GET_ERROR(stream) "(errmsg disabled)" +#else +#define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg)) +#define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)") +#endif + +#define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/pb_common.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/pb_common.h new file mode 100644 index 00000000000..60b3d374914 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/pb_common.h @@ -0,0 +1,42 @@ +/* pb_common.h: Common support functions for pb_encode.c and pb_decode.c. + * These functions are rarely needed by applications directly. + */ + +#ifndef PB_COMMON_H_INCLUDED +#define PB_COMMON_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Iterator for pb_field_t list */ +struct pb_field_iter_s { + const pb_field_t *start; /* Start of the pb_field_t array */ + const pb_field_t *pos; /* Current position of the iterator */ + unsigned required_field_index; /* Zero-based index that counts only the required fields */ + void *dest_struct; /* Pointer to start of the structure */ + void *pData; /* Pointer to current field value */ + void *pSize; /* Pointer to count/has field */ +}; +typedef struct pb_field_iter_s pb_field_iter_t; + +/* Initialize the field iterator structure to beginning. + * Returns false if the message type is empty. */ +bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct); + +/* Advance the iterator to the next field. + * Returns false when the iterator wraps back to the first field. */ +bool pb_field_iter_next(pb_field_iter_t *iter); + +/* Advance the iterator until it points at a field with the given tag. + * Returns false if no such field exists. */ +bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/pb_decode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/pb_decode.h new file mode 100644 index 00000000000..3577c201661 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/pb_decode.h @@ -0,0 +1,178 @@ +/* pb_decode.h: Functions to decode protocol buffers. Depends on pb_decode.c. + * The main function is pb_decode. You also need an input stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_DECODE_H_INCLUDED +#define PB_DECODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom input streams. You will need to provide + * a callback function to read the bytes from your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause decoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer), + * and rely on pb_read to verify that no-body reads past bytes_left. + * 3) Your callback may be used with substreams, in which case bytes_left + * is different than from the main stream. Don't use bytes_left to compute + * any pointers. + */ +struct pb_istream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + */ + int *callback; +#else + bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count); +#endif + + void *state; /* Free field for use by callback implementation */ + size_t bytes_left; + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main decoding functions * + ***************************/ + +/* Decode a single protocol buffers message from input stream into a C structure. + * Returns true on success, false on any failure. + * The actual struct pointed to by dest must match the description in fields. + * Callback fields of the destination structure must be initialized by caller. + * All other fields will be initialized by this function. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_istream_t stream; + * + * // ... read some data into buffer ... + * + * stream = pb_istream_from_buffer(buffer, count); + * pb_decode(&stream, MyMessage_fields, &msg); + */ +bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except does not initialize the destination structure + * to default values. This is slightly faster if you need no default values + * and just do memset(struct, 0, sizeof(struct)) yourself. + * + * This can also be used for 'merging' two messages, i.e. update only the + * fields that exist in the new message. + * + * Note: If this function returns with an error, it will not release any + * dynamically allocated fields. You will need to call pb_release() yourself. + */ +bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except expects the stream to start with the message size + * encoded as varint. Corresponds to parseDelimitedFrom() in Google's + * protobuf API. + */ +bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode_delimited, except that it does not initialize the destination structure. + * See pb_decode_noinit + */ +bool pb_decode_delimited_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except allows the message to be terminated with a null byte. + * NOTE: Until nanopb-0.4.0, pb_decode() also allows null-termination. This behaviour + * is not supported in most other protobuf implementations, so pb_decode_delimited() + * is a better option for compatibility. + */ +bool pb_decode_nullterminated(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +#ifdef PB_ENABLE_MALLOC +/* Release any allocated pointer fields. If you use dynamic allocation, you should + * call this for any successfully decoded message when you are done with it. If + * pb_decode() returns with an error, the message is already released. + */ +void pb_release(const pb_field_t fields[], void *dest_struct); +#endif + + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an input stream for reading from a memory buffer. + * + * Alternatively, you can use a custom stream that reads directly from e.g. + * a file or a network socket. + */ +pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); + +/* Function to read from a pb_istream_t. You can use this if you need to + * read some custom header data, or to read data in field callbacks. + */ +bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Decode the tag for the next field in the stream. Gives the wire type and + * field tag. At end of the message, returns false and sets eof to true. */ +bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof); + +/* Skip the field payload data, given the wire type. */ +bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type); + +/* Decode an integer in the varint format. This works for enum, int32, + * int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); +#else +#define pb_decode_varint pb_decode_varint32 +#endif + +/* Decode an integer in the varint format. This works for enum, int32, + * and uint32 field types. */ +bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest); + +/* Decode a bool value in varint format. */ +bool pb_decode_bool(pb_istream_t *stream, bool *dest); + +/* Decode an integer in the zig-zagged svarint format. This works for sint32 + * and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_svarint(pb_istream_t *stream, int64_t *dest); +#else +bool pb_decode_svarint(pb_istream_t *stream, int32_t *dest); +#endif + +/* Decode a fixed32, sfixed32 or float value. You need to pass a pointer to + * a 4-byte wide C variable. */ +bool pb_decode_fixed32(pb_istream_t *stream, void *dest); + +#ifndef PB_WITHOUT_64BIT +/* Decode a fixed64, sfixed64 or double value. You need to pass a pointer to + * a 8-byte wide C variable. */ +bool pb_decode_fixed64(pb_istream_t *stream, void *dest); +#endif + +/* Make a limited-length substream for reading a PB_WT_STRING field. */ +bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream); +bool pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/pb_encode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/pb_encode.h new file mode 100644 index 00000000000..b1d822f3029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Headers/pb_encode.h @@ -0,0 +1,170 @@ +/* pb_encode.h: Functions to encode protocol buffers. Depends on pb_encode.c. + * The main function is pb_encode. You also need an output stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_ENCODE_H_INCLUDED +#define PB_ENCODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom output streams. You will need to provide + * a callback function to write the bytes to your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause encoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer). + * 3) pb_write will update bytes_written after your callback runs. + * 4) Substreams will modify max_size and bytes_written. Don't use them + * to calculate any pointers. + */ +struct pb_ostream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + * Also, NULL pointer marks a 'sizing stream' that does not + * write anything. + */ + int *callback; +#else + bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); +#endif + void *state; /* Free field for use by callback implementation. */ + size_t max_size; /* Limit number of output bytes written (or use SIZE_MAX). */ + size_t bytes_written; /* Number of bytes written so far. */ + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main encoding functions * + ***************************/ + +/* Encode a single protocol buffers message from C structure into a stream. + * Returns true on success, false on any failure. + * The actual struct pointed to by src_struct must match the description in fields. + * All required fields in the struct are assumed to have been filled in. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_ostream_t stream; + * + * msg.field1 = 42; + * stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); + * pb_encode(&stream, MyMessage_fields, &msg); + */ +bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but prepends the length of the message as a varint. + * Corresponds to writeDelimitedTo() in Google's protobuf API. + */ +bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but appends a null byte to the message for termination. + * NOTE: This behaviour is not supported in most other protobuf implementations, so pb_encode_delimited() + * is a better option for compatibility. + */ +bool pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Encode the message to get the size of the encoded data, but do not store + * the data. */ +bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct); + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an output stream for writing into a memory buffer. + * The number of bytes written can be found in stream.bytes_written after + * encoding the message. + * + * Alternatively, you can use a custom stream that writes directly to e.g. + * a file or a network socket. + */ +pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); + +/* Pseudo-stream for measuring the size of a message without actually storing + * the encoded data. + * + * Example usage: + * MyMessage msg = {}; + * pb_ostream_t stream = PB_OSTREAM_SIZING; + * pb_encode(&stream, MyMessage_fields, &msg); + * printf("Message size is %d\n", stream.bytes_written); + */ +#ifndef PB_NO_ERRMSG +#define PB_OSTREAM_SIZING {0,0,0,0,0} +#else +#define PB_OSTREAM_SIZING {0,0,0,0} +#endif + +/* Function to write into a pb_ostream_t stream. You can use this if you need + * to append or prepend some custom headers to the message. + */ +bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Encode field header based on type and field number defined in the field + * structure. Call this from the callback before writing out field contents. */ +bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field); + +/* Encode field header by manually specifying wire type. You need to use this + * if you want to write out packed arrays from a callback field. */ +bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number); + +/* Encode an integer in the varint format. + * This works for bool, enum, int32, int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_varint(pb_ostream_t *stream, uint64_t value); +#else +bool pb_encode_varint(pb_ostream_t *stream, uint32_t value); +#endif + +/* Encode an integer in the zig-zagged svarint format. + * This works for sint32 and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_svarint(pb_ostream_t *stream, int64_t value); +#else +bool pb_encode_svarint(pb_ostream_t *stream, int32_t value); +#endif + +/* Encode a string or bytes type field. For strings, pass strlen(s) as size. */ +bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size); + +/* Encode a fixed32, sfixed32 or float value. + * You need to pass a pointer to a 4-byte wide C variable. */ +bool pb_encode_fixed32(pb_ostream_t *stream, const void *value); + +#ifndef PB_WITHOUT_64BIT +/* Encode a fixed64, sfixed64 or double value. + * You need to pass a pointer to a 8-byte wide C variable. */ +bool pb_encode_fixed64(pb_ostream_t *stream, const void *value); +#endif + +/* Encode a submessage field. + * You need to pass the pb_field_t array and pointer to struct, just like + * with pb_encode(). This internally encodes the submessage twice, first to + * calculate message size and then to actually write it out. + */ +bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Info.plist new file mode 100644 index 00000000000..08308ee4d7e --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + nanopb + CFBundleIdentifier + org.cocoapods.nanopb + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + nanopb + CFBundlePackageType + FMWK + CFBundleShortVersionString + 3.30910.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchos + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchos10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Modules/module.modulemap new file mode 100644 index 00000000000..611ce4ca6bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module nanopb { +umbrella header "nanopb-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/nanopb b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/nanopb new file mode 100644 index 00000000000..89c54549a78 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/nanopb differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/nanopb_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/nanopb_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..8c23451b0d6 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/nanopb_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..72e00ac349a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_arm64_32/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,15 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/nanopb-umbrella.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/nanopb-umbrella.h new file mode 100644 index 00000000000..4b44f82d3eb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/nanopb-umbrella.h @@ -0,0 +1,26 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "pb.h" +#import "pb_common.h" +#import "pb_decode.h" +#import "pb_encode.h" +#import "pb.h" +#import "pb_decode.h" +#import "pb_common.h" +#import "pb.h" +#import "pb_encode.h" +#import "pb_common.h" + +FOUNDATION_EXPORT double nanopbVersionNumber; +FOUNDATION_EXPORT const unsigned char nanopbVersionString[]; + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/pb.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/pb.h new file mode 100644 index 00000000000..2bd45685029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/pb.h @@ -0,0 +1,599 @@ +/* Common parts of the nanopb library. Most of these are quite low-level + * stuff. For the high-level interface, see pb_encode.h and pb_decode.h. + */ + +#ifndef PB_H_INCLUDED +#define PB_H_INCLUDED + +/***************************************************************** + * Nanopb compilation time options. You can change these here by * + * uncommenting the lines, or on the compiler command line. * + *****************************************************************/ + +/* Enable support for dynamically allocated fields */ +/* #define PB_ENABLE_MALLOC 1 */ + +/* Define this if your CPU / compiler combination does not support + * unaligned memory access to packed structures. */ +/* #define PB_NO_PACKED_STRUCTS 1 */ + +/* Increase the number of required fields that are tracked. + * A compiler warning will tell if you need this. */ +/* #define PB_MAX_REQUIRED_FIELDS 256 */ + +/* Add support for tag numbers > 255 and fields larger than 255 bytes. */ +/* #define PB_FIELD_16BIT 1 */ + +/* Add support for tag numbers > 65536 and fields larger than 65536 bytes. */ +/* #define PB_FIELD_32BIT 1 */ + +/* Disable support for error messages in order to save some code space. */ +/* #define PB_NO_ERRMSG 1 */ + +/* Disable support for custom streams (support only memory buffers). */ +/* #define PB_BUFFER_ONLY 1 */ + +/* Switch back to the old-style callback function signature. + * This was the default until nanopb-0.2.1. */ +/* #define PB_OLD_CALLBACK_STYLE */ + + +/* Don't encode scalar arrays as packed. This is only to be used when + * the decoder on the receiving side cannot process packed scalar arrays. + * Such example is older protobuf.js. */ +/* #define PB_ENCODE_ARRAYS_UNPACKED 1 */ + +/****************************************************************** + * You usually don't need to change anything below this line. * + * Feel free to look around and use the defined macros, though. * + ******************************************************************/ + + +/* Version of the nanopb library. Just in case you want to check it in + * your own program. */ +#define NANOPB_VERSION nanopb-0.3.9.10 + +/* Include all the system headers needed by nanopb. You will need the + * definitions of the following: + * - strlen, memcpy, memset functions + * - [u]int_least8_t, uint_fast8_t, [u]int_least16_t, [u]int32_t, [u]int64_t + * - size_t + * - bool + * + * If you don't have the standard header files, you can instead provide + * a custom header that defines or includes all this. In that case, + * define PB_SYSTEM_HEADER to the path of this file. + */ +#ifdef PB_SYSTEM_HEADER +#include PB_SYSTEM_HEADER +#else +#include +#include +#include +#include + +#ifdef PB_ENABLE_MALLOC +#include +#endif +#endif + +/* Macro for defining packed structures (compiler dependent). + * This just reduces memory requirements, but is not required. + */ +#if defined(PB_NO_PACKED_STRUCTS) + /* Disable struct packing */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#elif defined(__GNUC__) || defined(__clang__) + /* For GCC and clang */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed __attribute__((packed)) +#elif defined(__ICCARM__) || defined(__CC_ARM) + /* For IAR ARM and Keil MDK-ARM compilers */ +# define PB_PACKED_STRUCT_START _Pragma("pack(push, 1)") +# define PB_PACKED_STRUCT_END _Pragma("pack(pop)") +# define pb_packed +#elif defined(_MSC_VER) && (_MSC_VER >= 1500) + /* For Microsoft Visual C++ */ +# define PB_PACKED_STRUCT_START __pragma(pack(push, 1)) +# define PB_PACKED_STRUCT_END __pragma(pack(pop)) +# define pb_packed +#else + /* Unknown compiler */ +# define PB_PACKED_STRUCT_START +# define PB_PACKED_STRUCT_END +# define pb_packed +#endif + +/* Handly macro for suppressing unreferenced-parameter compiler warnings. */ +#ifndef PB_UNUSED +#define PB_UNUSED(x) (void)(x) +#endif + +/* Compile-time assertion, used for checking compatible compilation options. + * If this does not work properly on your compiler, use + * #define PB_NO_STATIC_ASSERT to disable it. + * + * But before doing that, check carefully the error message / place where it + * comes from to see if the error has a real cause. Unfortunately the error + * message is not always very clear to read, but you can see the reason better + * in the place where the PB_STATIC_ASSERT macro was called. + */ +#ifndef PB_NO_STATIC_ASSERT +#ifndef PB_STATIC_ASSERT +#define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1]; +#define PB_STATIC_ASSERT_MSG(MSG, LINE, COUNTER) PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) +#define PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) pb_static_assertion_##MSG##LINE##COUNTER +#endif +#else +#define PB_STATIC_ASSERT(COND,MSG) +#endif + +/* Number of required fields to keep track of. */ +#ifndef PB_MAX_REQUIRED_FIELDS +#define PB_MAX_REQUIRED_FIELDS 64 +#endif + +#if PB_MAX_REQUIRED_FIELDS < 64 +#error You should not lower PB_MAX_REQUIRED_FIELDS from the default value (64). +#endif + +/* List of possible field types. These are used in the autogenerated code. + * Least-significant 4 bits tell the scalar type + * Most-significant 4 bits specify repeated/required/packed etc. + */ + +typedef uint_least8_t pb_type_t; + +/**** Field data types ****/ + +/* Numeric types */ +#define PB_LTYPE_BOOL 0x00 /* bool */ +#define PB_LTYPE_VARINT 0x01 /* int32, int64, enum, bool */ +#define PB_LTYPE_UVARINT 0x02 /* uint32, uint64 */ +#define PB_LTYPE_SVARINT 0x03 /* sint32, sint64 */ +#define PB_LTYPE_FIXED32 0x04 /* fixed32, sfixed32, float */ +#define PB_LTYPE_FIXED64 0x05 /* fixed64, sfixed64, double */ + +/* Marker for last packable field type. */ +#define PB_LTYPE_LAST_PACKABLE 0x05 + +/* Byte array with pre-allocated buffer. + * data_size is the length of the allocated PB_BYTES_ARRAY structure. */ +#define PB_LTYPE_BYTES 0x06 + +/* String with pre-allocated buffer. + * data_size is the maximum length. */ +#define PB_LTYPE_STRING 0x07 + +/* Submessage + * submsg_fields is pointer to field descriptions */ +#define PB_LTYPE_SUBMESSAGE 0x08 + +/* Extension pseudo-field + * The field contains a pointer to pb_extension_t */ +#define PB_LTYPE_EXTENSION 0x09 + +/* Byte array with inline, pre-allocated byffer. + * data_size is the length of the inline, allocated buffer. + * This differs from PB_LTYPE_BYTES by defining the element as + * pb_byte_t[data_size] rather than pb_bytes_array_t. */ +#define PB_LTYPE_FIXED_LENGTH_BYTES 0x0A + +/* Number of declared LTYPES */ +#define PB_LTYPES_COUNT 0x0B +#define PB_LTYPE_MASK 0x0F + +/**** Field repetition rules ****/ + +#define PB_HTYPE_REQUIRED 0x00 +#define PB_HTYPE_OPTIONAL 0x10 +#define PB_HTYPE_REPEATED 0x20 +#define PB_HTYPE_ONEOF 0x30 +#define PB_HTYPE_MASK 0x30 + +/**** Field allocation types ****/ + +#define PB_ATYPE_STATIC 0x00 +#define PB_ATYPE_POINTER 0x80 +#define PB_ATYPE_CALLBACK 0x40 +#define PB_ATYPE_MASK 0xC0 + +#define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) +#define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) +#define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) + +/* Data type used for storing sizes of struct fields + * and array counts. + */ +#if defined(PB_FIELD_32BIT) + typedef uint32_t pb_size_t; + typedef int32_t pb_ssize_t; +#elif defined(PB_FIELD_16BIT) + typedef uint_least16_t pb_size_t; + typedef int_least16_t pb_ssize_t; +#else + typedef uint_least8_t pb_size_t; + typedef int_least8_t pb_ssize_t; +#endif +#define PB_SIZE_MAX ((pb_size_t)-1) + +/* Data type for storing encoded data and other byte streams. + * This typedef exists to support platforms where uint8_t does not exist. + * You can regard it as equivalent on uint8_t on other platforms. + */ +typedef uint_least8_t pb_byte_t; + +/* This structure is used in auto-generated constants + * to specify struct fields. + * You can change field sizes if you need structures + * larger than 256 bytes or field tags larger than 256. + * The compiler should complain if your .proto has such + * structures. Fix that by defining PB_FIELD_16BIT or + * PB_FIELD_32BIT. + */ +PB_PACKED_STRUCT_START +typedef struct pb_field_s pb_field_t; +struct pb_field_s { + pb_size_t tag; + pb_type_t type; + pb_size_t data_offset; /* Offset of field data, relative to previous field. */ + pb_ssize_t size_offset; /* Offset of array size or has-boolean, relative to data */ + pb_size_t data_size; /* Data size in bytes for a single item */ + pb_size_t array_size; /* Maximum number of entries in array */ + + /* Field definitions for submessage + * OR default value for all other non-array, non-callback types + * If null, then field will zeroed. */ + const void *ptr; +} pb_packed; +PB_PACKED_STRUCT_END + +/* Make sure that the standard integer types are of the expected sizes. + * Otherwise fixed32/fixed64 fields can break. + * + * If you get errors here, it probably means that your stdint.h is not + * correct for your platform. + */ +#ifndef PB_WITHOUT_64BIT +PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE) +PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE) +#endif + +/* This structure is used for 'bytes' arrays. + * It has the number of bytes in the beginning, and after that an array. + * Note that actual structs used will have a different length of bytes array. + */ +#define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } +#define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) + +struct pb_bytes_array_s { + pb_size_t size; + pb_byte_t bytes[1]; +}; +typedef struct pb_bytes_array_s pb_bytes_array_t; + +/* This structure is used for giving the callback function. + * It is stored in the message structure and filled in by the method that + * calls pb_decode. + * + * The decoding callback will be given a limited-length stream + * If the wire type was string, the length is the length of the string. + * If the wire type was a varint/fixed32/fixed64, the length is the length + * of the actual value. + * The function may be called multiple times (especially for repeated types, + * but also otherwise if the message happens to contain the field multiple + * times.) + * + * The encoding callback will receive the actual output stream. + * It should write all the data in one call, including the field tag and + * wire type. It can write multiple fields. + * + * The callback can be null if you want to skip a field. + */ +typedef struct pb_istream_s pb_istream_t; +typedef struct pb_ostream_s pb_ostream_t; +typedef struct pb_callback_s pb_callback_t; +struct pb_callback_s { +#ifdef PB_OLD_CALLBACK_STYLE + /* Deprecated since nanopb-0.2.1 */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void *arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, const void *arg); + } funcs; +#else + /* New function signature, which allows modifying arg contents in callback. */ + union { + bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void **arg); + bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, void * const *arg); + } funcs; +#endif + + /* Free arg for use by callback */ + void *arg; +}; + +/* Wire types. Library user needs these only in encoder callbacks. */ +typedef enum { + PB_WT_VARINT = 0, + PB_WT_64BIT = 1, + PB_WT_STRING = 2, + PB_WT_32BIT = 5 +} pb_wire_type_t; + +/* Structure for defining the handling of unknown/extension fields. + * Usually the pb_extension_type_t structure is automatically generated, + * while the pb_extension_t structure is created by the user. However, + * if you want to catch all unknown fields, you can also create a custom + * pb_extension_type_t with your own callback. + */ +typedef struct pb_extension_type_s pb_extension_type_t; +typedef struct pb_extension_s pb_extension_t; +struct pb_extension_type_s { + /* Called for each unknown field in the message. + * If you handle the field, read off all of its data and return true. + * If you do not handle the field, do not read anything and return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*decode)(pb_istream_t *stream, pb_extension_t *extension, + uint32_t tag, pb_wire_type_t wire_type); + + /* Called once after all regular fields have been encoded. + * If you have something to write, do so and return true. + * If you do not have anything to write, just return true. + * If you run into an error, return false. + * Set to NULL for default handler. + */ + bool (*encode)(pb_ostream_t *stream, const pb_extension_t *extension); + + /* Free field for use by the callback. */ + const void *arg; +}; + +struct pb_extension_s { + /* Type describing the extension field. Usually you'll initialize + * this to a pointer to the automatically generated structure. */ + const pb_extension_type_t *type; + + /* Destination for the decoded data. This must match the datatype + * of the extension field. */ + void *dest; + + /* Pointer to the next extension handler, or NULL. + * If this extension does not match a field, the next handler is + * automatically called. */ + pb_extension_t *next; + + /* The decoder sets this to true if the extension was found. + * Ignored for encoding. */ + bool found; +}; + +/* Memory allocation functions to use. You can define pb_realloc and + * pb_free to custom functions if you want. */ +#ifdef PB_ENABLE_MALLOC +# ifndef pb_realloc +# define pb_realloc(ptr, size) realloc(ptr, size) +# endif +# ifndef pb_free +# define pb_free(ptr) free(ptr) +# endif +#endif + +/* This is used to inform about need to regenerate .pb.h/.pb.c files. */ +#define PB_PROTO_HEADER_VERSION 30 + +/* These macros are used to declare pb_field_t's in the constant array. */ +/* Size of a structure member, in bytes. */ +#define pb_membersize(st, m) (sizeof ((st*)0)->m) +/* Number of entries in an array. */ +#define pb_arraysize(st, m) (pb_membersize(st, m) / pb_membersize(st, m[0])) +/* Delta from start of one member to the start of another member. */ +#define pb_delta(st, m1, m2) ((int)offsetof(st, m1) - (int)offsetof(st, m2)) +/* Marks the end of the field list */ +#define PB_LAST_FIELD {0,(pb_type_t) 0,0,0,0,0,0} + +/* Macros for filling in the data_offset field */ +/* data_offset for first field in a message */ +#define PB_DATAOFFSET_FIRST(st, m1, m2) (offsetof(st, m1)) +/* data_offset for subsequent fields */ +#define PB_DATAOFFSET_OTHER(st, m1, m2) (offsetof(st, m1) - offsetof(st, m2) - pb_membersize(st, m2)) +/* data offset for subsequent fields inside an union (oneof) */ +#define PB_DATAOFFSET_UNION(st, m1, m2) (PB_SIZE_MAX) +/* Choose first/other based on m1 == m2 (deprecated, remains for backwards compatibility) */ +#define PB_DATAOFFSET_CHOOSE(st, m1, m2) (int)(offsetof(st, m1) == offsetof(st, m2) \ + ? PB_DATAOFFSET_FIRST(st, m1, m2) \ + : PB_DATAOFFSET_OTHER(st, m1, m2)) + +/* Required fields are the simplest. They just have delta (padding) from + * previous field end, and the size of the field. Pointer is used for + * submessages and default values. + */ +#define PB_REQUIRED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional fields add the delta to the has_ variable. */ +#define PB_OPTIONAL_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, \ + pb_delta(st, has_ ## m, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Repeated fields have a _count field and also the maximum number of entries. */ +#define PB_REPEATED_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | ltype, \ + fd, \ + pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), \ + pb_arraysize(st, m), ptr} + +/* Allocated fields carry the size of the actual data, not the pointer */ +#define PB_REQUIRED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Optional fields don't need a has_ variable, as information would be redundant */ +#define PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Same as optional fields*/ +#define PB_SINGULAR_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m[0]), 0, ptr} + +/* Repeated fields have a _count field and a pointer to array of pointers */ +#define PB_REPEATED_POINTER(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_REPEATED | ltype, \ + fd, pb_delta(st, m ## _count, m), \ + pb_membersize(st, m[0]), 0, ptr} + +/* Callbacks are much like required fields except with special datatype. */ +#define PB_REQUIRED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REQUIRED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_SINGULAR_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +#define PB_REPEATED_CALLBACK(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REPEATED | ltype, \ + fd, 0, pb_membersize(st, m), 0, ptr} + +/* Optional extensions don't have the has_ field, as that would be redundant. + * Furthermore, the combination of OPTIONAL without has_ field is used + * for indicating proto3 style fields. Extensions exist in proto2 mode only, + * so they should be encoded according to proto2 rules. To avoid the conflict, + * extensions are marked as REQUIRED instead. + */ +#define PB_OPTEXT_STATIC(tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \ + 0, \ + 0, \ + pb_membersize(st, m), 0, ptr} + +#define PB_OPTEXT_POINTER(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) + +#define PB_OPTEXT_CALLBACK(tag, st, m, fd, ltype, ptr) \ + PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) + +/* The mapping from protobuf types to LTYPEs is done using these macros. */ +#define PB_LTYPE_MAP_BOOL PB_LTYPE_BOOL +#define PB_LTYPE_MAP_BYTES PB_LTYPE_BYTES +#define PB_LTYPE_MAP_DOUBLE PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_ENUM PB_LTYPE_VARINT +#define PB_LTYPE_MAP_UENUM PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_FIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_FIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_FLOAT PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_INT32 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_INT64 PB_LTYPE_VARINT +#define PB_LTYPE_MAP_MESSAGE PB_LTYPE_SUBMESSAGE +#define PB_LTYPE_MAP_SFIXED32 PB_LTYPE_FIXED32 +#define PB_LTYPE_MAP_SFIXED64 PB_LTYPE_FIXED64 +#define PB_LTYPE_MAP_SINT32 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_SINT64 PB_LTYPE_SVARINT +#define PB_LTYPE_MAP_STRING PB_LTYPE_STRING +#define PB_LTYPE_MAP_UINT32 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_UINT64 PB_LTYPE_UVARINT +#define PB_LTYPE_MAP_EXTENSION PB_LTYPE_EXTENSION +#define PB_LTYPE_MAP_FIXED_LENGTH_BYTES PB_LTYPE_FIXED_LENGTH_BYTES + +/* This is the actual macro used in field descriptions. + * It takes these arguments: + * - Field tag number + * - Field type: BOOL, BYTES, DOUBLE, ENUM, UENUM, FIXED32, FIXED64, + * FLOAT, INT32, INT64, MESSAGE, SFIXED32, SFIXED64 + * SINT32, SINT64, STRING, UINT32, UINT64 or EXTENSION + * - Field rules: REQUIRED, OPTIONAL or REPEATED + * - Allocation: STATIC, CALLBACK or POINTER + * - Placement: FIRST or OTHER, depending on if this is the first field in structure. + * - Message name + * - Field name + * - Previous field name (or field name again for first field) + * - Pointer to default value or submsg fields. + */ + +#define PB_FIELD(tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ ## rules ## _ ## allocation(tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* Field description for repeated static fixed count fields.*/ +#define PB_REPEATED_FIXED_COUNT(tag, type, placement, message, field, prevfield, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | PB_LTYPE_MAP_ ## type, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + 0, \ + pb_membersize(message, field[0]), \ + pb_arraysize(message, field), ptr} + +/* Field description for oneof fields. This requires taking into account the + * union name also, that's why a separate set of macros is needed. + */ +#define PB_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m), 0, ptr} + +#define PB_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, u.m), \ + pb_membersize(st, u.m[0]), 0, ptr} + +#define PB_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, union_name.field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +#define PB_ANONYMOUS_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \ + {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \ + fd, pb_delta(st, which_ ## u, m), \ + pb_membersize(st, m[0]), 0, ptr} + +#define PB_ANONYMOUS_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \ + PB_ANONYMOUS_ONEOF_ ## allocation(union_name, tag, message, field, \ + PB_DATAOFFSET_ ## placement(message, field, prevfield), \ + PB_LTYPE_MAP_ ## type, ptr) + +/* These macros are used for giving out error messages. + * They are mostly a debugging aid; the main error information + * is the true/false return value from functions. + * Some code space can be saved by disabling the error + * messages if not used. + * + * PB_SET_ERROR() sets the error message if none has been set yet. + * msg must be a constant string literal. + * PB_GET_ERROR() always returns a pointer to a string. + * PB_RETURN_ERROR() sets the error and returns false from current + * function. + */ +#ifdef PB_NO_ERRMSG +#define PB_SET_ERROR(stream, msg) PB_UNUSED(stream) +#define PB_GET_ERROR(stream) "(errmsg disabled)" +#else +#define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg)) +#define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)") +#endif + +#define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_common.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_common.h new file mode 100644 index 00000000000..60b3d374914 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_common.h @@ -0,0 +1,42 @@ +/* pb_common.h: Common support functions for pb_encode.c and pb_decode.c. + * These functions are rarely needed by applications directly. + */ + +#ifndef PB_COMMON_H_INCLUDED +#define PB_COMMON_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Iterator for pb_field_t list */ +struct pb_field_iter_s { + const pb_field_t *start; /* Start of the pb_field_t array */ + const pb_field_t *pos; /* Current position of the iterator */ + unsigned required_field_index; /* Zero-based index that counts only the required fields */ + void *dest_struct; /* Pointer to start of the structure */ + void *pData; /* Pointer to current field value */ + void *pSize; /* Pointer to count/has field */ +}; +typedef struct pb_field_iter_s pb_field_iter_t; + +/* Initialize the field iterator structure to beginning. + * Returns false if the message type is empty. */ +bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct); + +/* Advance the iterator to the next field. + * Returns false when the iterator wraps back to the first field. */ +bool pb_field_iter_next(pb_field_iter_t *iter); + +/* Advance the iterator until it points at a field with the given tag. + * Returns false if no such field exists. */ +bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_decode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_decode.h new file mode 100644 index 00000000000..3577c201661 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_decode.h @@ -0,0 +1,178 @@ +/* pb_decode.h: Functions to decode protocol buffers. Depends on pb_decode.c. + * The main function is pb_decode. You also need an input stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_DECODE_H_INCLUDED +#define PB_DECODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom input streams. You will need to provide + * a callback function to read the bytes from your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause decoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer), + * and rely on pb_read to verify that no-body reads past bytes_left. + * 3) Your callback may be used with substreams, in which case bytes_left + * is different than from the main stream. Don't use bytes_left to compute + * any pointers. + */ +struct pb_istream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + */ + int *callback; +#else + bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count); +#endif + + void *state; /* Free field for use by callback implementation */ + size_t bytes_left; + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main decoding functions * + ***************************/ + +/* Decode a single protocol buffers message from input stream into a C structure. + * Returns true on success, false on any failure. + * The actual struct pointed to by dest must match the description in fields. + * Callback fields of the destination structure must be initialized by caller. + * All other fields will be initialized by this function. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_istream_t stream; + * + * // ... read some data into buffer ... + * + * stream = pb_istream_from_buffer(buffer, count); + * pb_decode(&stream, MyMessage_fields, &msg); + */ +bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except does not initialize the destination structure + * to default values. This is slightly faster if you need no default values + * and just do memset(struct, 0, sizeof(struct)) yourself. + * + * This can also be used for 'merging' two messages, i.e. update only the + * fields that exist in the new message. + * + * Note: If this function returns with an error, it will not release any + * dynamically allocated fields. You will need to call pb_release() yourself. + */ +bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except expects the stream to start with the message size + * encoded as varint. Corresponds to parseDelimitedFrom() in Google's + * protobuf API. + */ +bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode_delimited, except that it does not initialize the destination structure. + * See pb_decode_noinit + */ +bool pb_decode_delimited_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +/* Same as pb_decode, except allows the message to be terminated with a null byte. + * NOTE: Until nanopb-0.4.0, pb_decode() also allows null-termination. This behaviour + * is not supported in most other protobuf implementations, so pb_decode_delimited() + * is a better option for compatibility. + */ +bool pb_decode_nullterminated(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); + +#ifdef PB_ENABLE_MALLOC +/* Release any allocated pointer fields. If you use dynamic allocation, you should + * call this for any successfully decoded message when you are done with it. If + * pb_decode() returns with an error, the message is already released. + */ +void pb_release(const pb_field_t fields[], void *dest_struct); +#endif + + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an input stream for reading from a memory buffer. + * + * Alternatively, you can use a custom stream that reads directly from e.g. + * a file or a network socket. + */ +pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); + +/* Function to read from a pb_istream_t. You can use this if you need to + * read some custom header data, or to read data in field callbacks. + */ +bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Decode the tag for the next field in the stream. Gives the wire type and + * field tag. At end of the message, returns false and sets eof to true. */ +bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof); + +/* Skip the field payload data, given the wire type. */ +bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type); + +/* Decode an integer in the varint format. This works for enum, int32, + * int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); +#else +#define pb_decode_varint pb_decode_varint32 +#endif + +/* Decode an integer in the varint format. This works for enum, int32, + * and uint32 field types. */ +bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest); + +/* Decode a bool value in varint format. */ +bool pb_decode_bool(pb_istream_t *stream, bool *dest); + +/* Decode an integer in the zig-zagged svarint format. This works for sint32 + * and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_decode_svarint(pb_istream_t *stream, int64_t *dest); +#else +bool pb_decode_svarint(pb_istream_t *stream, int32_t *dest); +#endif + +/* Decode a fixed32, sfixed32 or float value. You need to pass a pointer to + * a 4-byte wide C variable. */ +bool pb_decode_fixed32(pb_istream_t *stream, void *dest); + +#ifndef PB_WITHOUT_64BIT +/* Decode a fixed64, sfixed64 or double value. You need to pass a pointer to + * a 8-byte wide C variable. */ +bool pb_decode_fixed64(pb_istream_t *stream, void *dest); +#endif + +/* Make a limited-length substream for reading a PB_WT_STRING field. */ +bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream); +bool pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_encode.h b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_encode.h new file mode 100644 index 00000000000..b1d822f3029 --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Headers/pb_encode.h @@ -0,0 +1,170 @@ +/* pb_encode.h: Functions to encode protocol buffers. Depends on pb_encode.c. + * The main function is pb_encode. You also need an output stream, and the + * field descriptions created by nanopb_generator.py. + */ + +#ifndef PB_ENCODE_H_INCLUDED +#define PB_ENCODE_H_INCLUDED + +#include "pb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* Structure for defining custom output streams. You will need to provide + * a callback function to write the bytes to your storage, which can be + * for example a file or a network socket. + * + * The callback must conform to these rules: + * + * 1) Return false on IO errors. This will cause encoding to abort. + * 2) You can use state to store your own data (e.g. buffer pointer). + * 3) pb_write will update bytes_written after your callback runs. + * 4) Substreams will modify max_size and bytes_written. Don't use them + * to calculate any pointers. + */ +struct pb_ostream_s +{ +#ifdef PB_BUFFER_ONLY + /* Callback pointer is not used in buffer-only configuration. + * Having an int pointer here allows binary compatibility but + * gives an error if someone tries to assign callback function. + * Also, NULL pointer marks a 'sizing stream' that does not + * write anything. + */ + int *callback; +#else + bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); +#endif + void *state; /* Free field for use by callback implementation. */ + size_t max_size; /* Limit number of output bytes written (or use SIZE_MAX). */ + size_t bytes_written; /* Number of bytes written so far. */ + +#ifndef PB_NO_ERRMSG + const char *errmsg; +#endif +}; + +/*************************** + * Main encoding functions * + ***************************/ + +/* Encode a single protocol buffers message from C structure into a stream. + * Returns true on success, false on any failure. + * The actual struct pointed to by src_struct must match the description in fields. + * All required fields in the struct are assumed to have been filled in. + * + * Example usage: + * MyMessage msg = {}; + * uint8_t buffer[64]; + * pb_ostream_t stream; + * + * msg.field1 = 42; + * stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); + * pb_encode(&stream, MyMessage_fields, &msg); + */ +bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but prepends the length of the message as a varint. + * Corresponds to writeDelimitedTo() in Google's protobuf API. + */ +bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Same as pb_encode, but appends a null byte to the message for termination. + * NOTE: This behaviour is not supported in most other protobuf implementations, so pb_encode_delimited() + * is a better option for compatibility. + */ +bool pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +/* Encode the message to get the size of the encoded data, but do not store + * the data. */ +bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct); + +/************************************** + * Functions for manipulating streams * + **************************************/ + +/* Create an output stream for writing into a memory buffer. + * The number of bytes written can be found in stream.bytes_written after + * encoding the message. + * + * Alternatively, you can use a custom stream that writes directly to e.g. + * a file or a network socket. + */ +pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); + +/* Pseudo-stream for measuring the size of a message without actually storing + * the encoded data. + * + * Example usage: + * MyMessage msg = {}; + * pb_ostream_t stream = PB_OSTREAM_SIZING; + * pb_encode(&stream, MyMessage_fields, &msg); + * printf("Message size is %d\n", stream.bytes_written); + */ +#ifndef PB_NO_ERRMSG +#define PB_OSTREAM_SIZING {0,0,0,0,0} +#else +#define PB_OSTREAM_SIZING {0,0,0,0} +#endif + +/* Function to write into a pb_ostream_t stream. You can use this if you need + * to append or prepend some custom headers to the message. + */ +bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); + + +/************************************************ + * Helper functions for writing field callbacks * + ************************************************/ + +/* Encode field header based on type and field number defined in the field + * structure. Call this from the callback before writing out field contents. */ +bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field); + +/* Encode field header by manually specifying wire type. You need to use this + * if you want to write out packed arrays from a callback field. */ +bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number); + +/* Encode an integer in the varint format. + * This works for bool, enum, int32, int64, uint32 and uint64 field types. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_varint(pb_ostream_t *stream, uint64_t value); +#else +bool pb_encode_varint(pb_ostream_t *stream, uint32_t value); +#endif + +/* Encode an integer in the zig-zagged svarint format. + * This works for sint32 and sint64. */ +#ifndef PB_WITHOUT_64BIT +bool pb_encode_svarint(pb_ostream_t *stream, int64_t value); +#else +bool pb_encode_svarint(pb_ostream_t *stream, int32_t value); +#endif + +/* Encode a string or bytes type field. For strings, pass strlen(s) as size. */ +bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size); + +/* Encode a fixed32, sfixed32 or float value. + * You need to pass a pointer to a 4-byte wide C variable. */ +bool pb_encode_fixed32(pb_ostream_t *stream, const void *value); + +#ifndef PB_WITHOUT_64BIT +/* Encode a fixed64, sfixed64 or double value. + * You need to pass a pointer to a 8-byte wide C variable. */ +bool pb_encode_fixed64(pb_ostream_t *stream, const void *value); +#endif + +/* Encode a submessage field. + * You need to pass the pb_field_t array and pointer to struct, just like + * with pb_encode(). This internally encodes the submessage twice, first to + * calculate message size and then to actually write it out. + */ +bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Info.plist new file mode 100644 index 00000000000..922162fb6fa --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 22G830 + CFBundleDevelopmentRegion + en + CFBundleExecutable + nanopb + CFBundleIdentifier + org.cocoapods.nanopb + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + nanopb + CFBundlePackageType + FMWK + CFBundleShortVersionString + 3.30910.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + WatchSimulator + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21S355 + DTPlatformName + watchsimulator + DTPlatformVersion + 10.2 + DTSDKBuild + 21S355 + DTSDKName + watchsimulator10.2 + DTXcode + 1520 + DTXcodeBuild + 15C500b + MinimumOSVersion + 100.0 + UIDeviceFamily + + 4 + + + diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Modules/module.modulemap b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Modules/module.modulemap new file mode 100644 index 00000000000..611ce4ca6bb --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module nanopb { +umbrella header "nanopb-umbrella.h" +export * +module * { export * } +} diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/nanopb b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/nanopb new file mode 100644 index 00000000000..300e3b0dde8 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/nanopb differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/Info.plist b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/Info.plist new file mode 100644 index 00000000000..21fc7823997 Binary files /dev/null and b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/Info.plist differ diff --git a/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..72e00ac349a --- /dev/null +++ b/FirebaseVertexAI/Sample/Frameworks/nanopb.xcframework/watchos-arm64_x86_64-simulator/nanopb.framework/nanopb_Privacy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,15 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + + diff --git a/FirebaseVertexAI/Sample/VertexAISample.xcodeproj/project.pbxproj b/FirebaseVertexAI/Sample/VertexAISample.xcodeproj/project.pbxproj index ceef95ccd61..85d136e2eeb 100644 --- a/FirebaseVertexAI/Sample/VertexAISample.xcodeproj/project.pbxproj +++ b/FirebaseVertexAI/Sample/VertexAISample.xcodeproj/project.pbxproj @@ -8,12 +8,37 @@ /* Begin PBXBuildFile section */ 869200B32B879C4F00482873 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 869200B22B879C4F00482873 /* GoogleService-Info.plist */; }; + 869426B32C8F78E60018DA04 /* FBLPromises.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8694269B2C8F78110018DA04 /* FBLPromises.xcframework */; }; + 869426B42C8F78E60018DA04 /* FBLPromises.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8694269B2C8F78110018DA04 /* FBLPromises.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426B62C8F78E70018DA04 /* FirebaseAnalytics.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8694269C2C8F78110018DA04 /* FirebaseAnalytics.xcframework */; }; + 869426B72C8F78E70018DA04 /* FirebaseAnalytics.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8694269C2C8F78110018DA04 /* FirebaseAnalytics.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426B82C8F78E90018DA04 /* FirebaseAppCheckInterop.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8694269D2C8F78110018DA04 /* FirebaseAppCheckInterop.xcframework */; }; + 869426B92C8F78E90018DA04 /* FirebaseAppCheckInterop.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8694269D2C8F78110018DA04 /* FirebaseAppCheckInterop.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426BA2C8F78EA0018DA04 /* FirebaseAuthInterop.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8694269E2C8F78110018DA04 /* FirebaseAuthInterop.xcframework */; }; + 869426BB2C8F78EA0018DA04 /* FirebaseAuthInterop.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8694269E2C8F78110018DA04 /* FirebaseAuthInterop.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426BC2C8F78EC0018DA04 /* FirebaseCore.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8694269F2C8F78110018DA04 /* FirebaseCore.xcframework */; }; + 869426BD2C8F78EC0018DA04 /* FirebaseCore.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8694269F2C8F78110018DA04 /* FirebaseCore.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426BE2C8F78ED0018DA04 /* FirebaseCoreExtension.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A02C8F78110018DA04 /* FirebaseCoreExtension.xcframework */; }; + 869426BF2C8F78ED0018DA04 /* FirebaseCoreExtension.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A02C8F78110018DA04 /* FirebaseCoreExtension.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426C02C8F78EE0018DA04 /* FirebaseCoreInternal.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A12C8F78110018DA04 /* FirebaseCoreInternal.xcframework */; }; + 869426C12C8F78EE0018DA04 /* FirebaseCoreInternal.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A12C8F78110018DA04 /* FirebaseCoreInternal.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426C22C8F78F00018DA04 /* FirebaseInstallations.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A22C8F78110018DA04 /* FirebaseInstallations.xcframework */; }; + 869426C32C8F78F00018DA04 /* FirebaseInstallations.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A22C8F78110018DA04 /* FirebaseInstallations.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426C42C8F78F10018DA04 /* FirebaseVertexAI.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A32C8F78110018DA04 /* FirebaseVertexAI.xcframework */; }; + 869426C52C8F78F10018DA04 /* FirebaseVertexAI.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A32C8F78110018DA04 /* FirebaseVertexAI.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426C62C8F78F30018DA04 /* GoogleAppMeasurement.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A42C8F78110018DA04 /* GoogleAppMeasurement.xcframework */; }; + 869426C72C8F78F30018DA04 /* GoogleAppMeasurement.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A42C8F78110018DA04 /* GoogleAppMeasurement.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426C82C8F78F50018DA04 /* GoogleUtilities.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A52C8F78110018DA04 /* GoogleUtilities.xcframework */; }; + 869426C92C8F78F50018DA04 /* GoogleUtilities.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A52C8F78110018DA04 /* GoogleUtilities.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426CA2C8F78F70018DA04 /* nanopb.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A62C8F78110018DA04 /* nanopb.xcframework */; }; + 869426CB2C8F78F70018DA04 /* nanopb.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 869426A62C8F78110018DA04 /* nanopb.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426D02C8F79F40018DA04 /* GenerativeAIUIComponents in Frameworks */ = {isa = PBXBuildFile; productRef = 869426CF2C8F79F40018DA04 /* GenerativeAIUIComponents */; }; + 869426D52C8F7AB20018DA04 /* AppCheckCore.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 869426D12C8F7A360018DA04 /* AppCheckCore.xcframework */; }; + 869426D62C8F7AB20018DA04 /* AppCheckCore.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 869426D12C8F7A360018DA04 /* AppCheckCore.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 869426D72C8F7AB40018DA04 /* FirebaseAppCheck.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 869426D32C8F7A460018DA04 /* FirebaseAppCheck.xcframework */; }; + 869426D82C8F7AB40018DA04 /* FirebaseAppCheck.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 869426D32C8F7A460018DA04 /* FirebaseAppCheck.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 86C1F4832BC726150026816F /* FunctionCallingScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86C1F47E2BC726150026816F /* FunctionCallingScreen.swift */; }; 86C1F4842BC726150026816F /* FunctionCallingViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86C1F4802BC726150026816F /* FunctionCallingViewModel.swift */; }; - 86D9CA8B2BED3EE1007D939E /* FirebaseAppCheck in Frameworks */ = {isa = PBXBuildFile; productRef = 86D9CA8A2BED3EE1007D939E /* FirebaseAppCheck */; }; - 86D9CA8F2BED3EE1007D939E /* FirebaseAuth in Frameworks */ = {isa = PBXBuildFile; productRef = 86D9CA8E2BED3EE1007D939E /* FirebaseAuth */; }; - 86D9CAB52BED3EE1007D939E /* FirebaseStorage in Frameworks */ = {isa = PBXBuildFile; productRef = 86D9CAB42BED3EE1007D939E /* FirebaseStorage */; }; - 86D9CAB92BED3EE1007D939E /* FirebaseVertexAI-Preview in Frameworks */ = {isa = PBXBuildFile; productRef = 86D9CAB82BED3EE1007D939E /* FirebaseVertexAI-Preview */; }; 88263BF02B239C09008AB09B /* ErrorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88263BEE2B239BFE008AB09B /* ErrorView.swift */; }; 88263BF12B239C11008AB09B /* ErrorDetailsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 889873842B208563005B4896 /* ErrorDetailsView.swift */; }; 8848C8332B0D04BC007B434F /* VertexAISampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8848C8322B0D04BC007B434F /* VertexAISampleApp.swift */; }; @@ -30,11 +55,51 @@ 886F95DF2B17D5010036F07A /* BouncingDots.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88E10F5C2B11135000C08E95 /* BouncingDots.swift */; }; 886F95E02B17D5010036F07A /* ConversationViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88E10F562B1112F600C08E95 /* ConversationViewModel.swift */; }; 886F95E12B17D5010036F07A /* ConversationScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88E10F542B1112CA00C08E95 /* ConversationScreen.swift */; }; - 886F95E32B17D6630036F07A /* GenerativeAIUIComponents in Frameworks */ = {isa = PBXBuildFile; productRef = 886F95E22B17D6630036F07A /* GenerativeAIUIComponents */; }; /* End PBXBuildFile section */ +/* Begin PBXCopyFilesBuildPhase section */ + 869426B52C8F78E60018DA04 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 869426B42C8F78E60018DA04 /* FBLPromises.xcframework in Embed Frameworks */, + 869426B72C8F78E70018DA04 /* FirebaseAnalytics.xcframework in Embed Frameworks */, + 869426C52C8F78F10018DA04 /* FirebaseVertexAI.xcframework in Embed Frameworks */, + 869426CB2C8F78F70018DA04 /* nanopb.xcframework in Embed Frameworks */, + 869426C32C8F78F00018DA04 /* FirebaseInstallations.xcframework in Embed Frameworks */, + 869426D62C8F7AB20018DA04 /* AppCheckCore.xcframework in Embed Frameworks */, + 869426C92C8F78F50018DA04 /* GoogleUtilities.xcframework in Embed Frameworks */, + 869426D82C8F7AB40018DA04 /* FirebaseAppCheck.xcframework in Embed Frameworks */, + 869426BD2C8F78EC0018DA04 /* FirebaseCore.xcframework in Embed Frameworks */, + 869426BB2C8F78EA0018DA04 /* FirebaseAuthInterop.xcframework in Embed Frameworks */, + 869426C72C8F78F30018DA04 /* GoogleAppMeasurement.xcframework in Embed Frameworks */, + 869426B92C8F78E90018DA04 /* FirebaseAppCheckInterop.xcframework in Embed Frameworks */, + 869426BF2C8F78ED0018DA04 /* FirebaseCoreExtension.xcframework in Embed Frameworks */, + 869426C12C8F78EE0018DA04 /* FirebaseCoreInternal.xcframework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + /* Begin PBXFileReference section */ 869200B22B879C4F00482873 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; + 8694269B2C8F78110018DA04 /* FBLPromises.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = FBLPromises.xcframework; sourceTree = ""; }; + 8694269C2C8F78110018DA04 /* FirebaseAnalytics.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:EQHXZ8M8AV:Google LLC"; lastKnownFileType = wrapper.xcframework; path = FirebaseAnalytics.xcframework; sourceTree = ""; }; + 8694269D2C8F78110018DA04 /* FirebaseAppCheckInterop.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = FirebaseAppCheckInterop.xcframework; sourceTree = ""; }; + 8694269E2C8F78110018DA04 /* FirebaseAuthInterop.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = FirebaseAuthInterop.xcframework; sourceTree = ""; }; + 8694269F2C8F78110018DA04 /* FirebaseCore.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = FirebaseCore.xcframework; sourceTree = ""; }; + 869426A02C8F78110018DA04 /* FirebaseCoreExtension.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = FirebaseCoreExtension.xcframework; sourceTree = ""; }; + 869426A12C8F78110018DA04 /* FirebaseCoreInternal.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = FirebaseCoreInternal.xcframework; sourceTree = ""; }; + 869426A22C8F78110018DA04 /* FirebaseInstallations.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = FirebaseInstallations.xcframework; sourceTree = ""; }; + 869426A32C8F78110018DA04 /* FirebaseVertexAI.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = FirebaseVertexAI.xcframework; sourceTree = ""; }; + 869426A42C8F78110018DA04 /* GoogleAppMeasurement.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:EQHXZ8M8AV:Google LLC"; lastKnownFileType = wrapper.xcframework; path = GoogleAppMeasurement.xcframework; sourceTree = ""; }; + 869426A52C8F78110018DA04 /* GoogleUtilities.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = GoogleUtilities.xcframework; sourceTree = ""; }; + 869426A62C8F78110018DA04 /* nanopb.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = nanopb.xcframework; sourceTree = ""; }; + 869426D12C8F7A360018DA04 /* AppCheckCore.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = AppCheckCore.xcframework; sourceTree = ""; }; + 869426D32C8F7A460018DA04 /* FirebaseAppCheck.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = FirebaseAppCheck.xcframework; sourceTree = ""; }; 86C1F47E2BC726150026816F /* FunctionCallingScreen.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FunctionCallingScreen.swift; sourceTree = ""; }; 86C1F4802BC726150026816F /* FunctionCallingViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FunctionCallingViewModel.swift; sourceTree = ""; }; 8802666F2B0FC39000CF7CB6 /* PhotoReasoningViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PhotoReasoningViewModel.swift; sourceTree = ""; }; @@ -67,18 +132,49 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 869426D02C8F79F40018DA04 /* GenerativeAIUIComponents in Frameworks */, + 869426C62C8F78F30018DA04 /* GoogleAppMeasurement.xcframework in Frameworks */, + 869426B32C8F78E60018DA04 /* FBLPromises.xcframework in Frameworks */, + 869426D72C8F7AB40018DA04 /* FirebaseAppCheck.xcframework in Frameworks */, 886F95D82B17BA420036F07A /* MarkdownUI in Frameworks */, - 86D9CAB52BED3EE1007D939E /* FirebaseStorage in Frameworks */, - 86D9CA8F2BED3EE1007D939E /* FirebaseAuth in Frameworks */, - 86D9CA8B2BED3EE1007D939E /* FirebaseAppCheck in Frameworks */, - 886F95E32B17D6630036F07A /* GenerativeAIUIComponents in Frameworks */, - 86D9CAB92BED3EE1007D939E /* FirebaseVertexAI-Preview in Frameworks */, + 869426C22C8F78F00018DA04 /* FirebaseInstallations.xcframework in Frameworks */, + 869426BE2C8F78ED0018DA04 /* FirebaseCoreExtension.xcframework in Frameworks */, + 869426D52C8F7AB20018DA04 /* AppCheckCore.xcframework in Frameworks */, + 869426C02C8F78EE0018DA04 /* FirebaseCoreInternal.xcframework in Frameworks */, + 869426B82C8F78E90018DA04 /* FirebaseAppCheckInterop.xcframework in Frameworks */, + 869426BC2C8F78EC0018DA04 /* FirebaseCore.xcframework in Frameworks */, + 869426C82C8F78F50018DA04 /* GoogleUtilities.xcframework in Frameworks */, + 869426C42C8F78F10018DA04 /* FirebaseVertexAI.xcframework in Frameworks */, + 869426B62C8F78E70018DA04 /* FirebaseAnalytics.xcframework in Frameworks */, + 869426BA2C8F78EA0018DA04 /* FirebaseAuthInterop.xcframework in Frameworks */, + 869426CA2C8F78F70018DA04 /* nanopb.xcframework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 869426822C8F77960018DA04 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 869426D12C8F7A360018DA04 /* AppCheckCore.xcframework */, + 8694269B2C8F78110018DA04 /* FBLPromises.xcframework */, + 8694269C2C8F78110018DA04 /* FirebaseAnalytics.xcframework */, + 869426D32C8F7A460018DA04 /* FirebaseAppCheck.xcframework */, + 8694269D2C8F78110018DA04 /* FirebaseAppCheckInterop.xcframework */, + 8694269E2C8F78110018DA04 /* FirebaseAuthInterop.xcframework */, + 8694269F2C8F78110018DA04 /* FirebaseCore.xcframework */, + 869426A02C8F78110018DA04 /* FirebaseCoreExtension.xcframework */, + 869426A12C8F78110018DA04 /* FirebaseCoreInternal.xcframework */, + 869426A22C8F78110018DA04 /* FirebaseInstallations.xcframework */, + 869426A32C8F78110018DA04 /* FirebaseVertexAI.xcframework */, + 869426A42C8F78110018DA04 /* GoogleAppMeasurement.xcframework */, + 869426A52C8F78110018DA04 /* GoogleUtilities.xcframework */, + 869426A62C8F78110018DA04 /* nanopb.xcframework */, + ); + path = Frameworks; + sourceTree = ""; + }; 86C1F47F2BC726150026816F /* Screens */ = { isa = PBXGroup; children = ( @@ -136,13 +232,6 @@ path = ViewModels; sourceTree = ""; }; - 88209C222B0FBE1700F64795 /* Frameworks */ = { - isa = PBXGroup; - children = ( - ); - name = Frameworks; - sourceTree = ""; - }; 8848C8262B0D04BC007B434F = { isa = PBXGroup; children = ( @@ -154,7 +243,7 @@ 88E10F432B110D5300C08E95 /* ChatSample */, 86C1F4822BC726150026816F /* FunctionCallingSample */, 8848C8302B0D04BC007B434F /* Products */, - 88209C222B0FBE1700F64795 /* Frameworks */, + 869426822C8F77960018DA04 /* Frameworks */, ); sourceTree = ""; }; @@ -289,6 +378,7 @@ 8848C82B2B0D04BC007B434F /* Sources */, 8848C82C2B0D04BC007B434F /* Frameworks */, 8848C82D2B0D04BC007B434F /* Resources */, + 869426B52C8F78E60018DA04 /* Embed Frameworks */, ); buildRules = ( ); @@ -297,11 +387,7 @@ name = VertexAISample; packageProductDependencies = ( 886F95D72B17BA420036F07A /* MarkdownUI */, - 886F95E22B17D6630036F07A /* GenerativeAIUIComponents */, - 86D9CA8A2BED3EE1007D939E /* FirebaseAppCheck */, - 86D9CA8E2BED3EE1007D939E /* FirebaseAuth */, - 86D9CAB42BED3EE1007D939E /* FirebaseStorage */, - 86D9CAB82BED3EE1007D939E /* FirebaseVertexAI-Preview */, + 869426CF2C8F79F40018DA04 /* GenerativeAIUIComponents */, ); productName = GenerativeAISample; productReference = 8848C82F2B0D04BC007B434F /* VertexAISample.app */; @@ -334,7 +420,6 @@ packageReferences = ( 88209C212B0FBDF700F64795 /* XCRemoteSwiftPackageReference "swift-markdown-ui" */, DEA09AC32B1FCE22001962D9 /* XCRemoteSwiftPackageReference "NetworkImage" */, - 86D9CA892BED3EE1007D939E /* XCLocalSwiftPackageReference "../.." */, ); productRefGroup = 8848C8302B0D04BC007B434F /* Products */; projectDirPath = ""; @@ -525,6 +610,10 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + ); PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.VertexAISample; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -555,6 +644,10 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + ); PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.VertexAISample; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -586,13 +679,6 @@ }; /* End XCConfigurationList section */ -/* Begin XCLocalSwiftPackageReference section */ - 86D9CA892BED3EE1007D939E /* XCLocalSwiftPackageReference "../.." */ = { - isa = XCLocalSwiftPackageReference; - relativePath = ../..; - }; -/* End XCLocalSwiftPackageReference section */ - /* Begin XCRemoteSwiftPackageReference section */ 88209C212B0FBDF700F64795 /* XCRemoteSwiftPackageReference "swift-markdown-ui" */ = { isa = XCRemoteSwiftPackageReference; @@ -613,31 +699,15 @@ /* End XCRemoteSwiftPackageReference section */ /* Begin XCSwiftPackageProductDependency section */ - 86D9CA8A2BED3EE1007D939E /* FirebaseAppCheck */ = { - isa = XCSwiftPackageProductDependency; - productName = FirebaseAppCheck; - }; - 86D9CA8E2BED3EE1007D939E /* FirebaseAuth */ = { - isa = XCSwiftPackageProductDependency; - productName = FirebaseAuth; - }; - 86D9CAB42BED3EE1007D939E /* FirebaseStorage */ = { - isa = XCSwiftPackageProductDependency; - productName = FirebaseStorage; - }; - 86D9CAB82BED3EE1007D939E /* FirebaseVertexAI-Preview */ = { + 869426CF2C8F79F40018DA04 /* GenerativeAIUIComponents */ = { isa = XCSwiftPackageProductDependency; - productName = "FirebaseVertexAI-Preview"; + productName = GenerativeAIUIComponents; }; 886F95D72B17BA420036F07A /* MarkdownUI */ = { isa = XCSwiftPackageProductDependency; package = 88209C212B0FBDF700F64795 /* XCRemoteSwiftPackageReference "swift-markdown-ui" */; productName = MarkdownUI; }; - 886F95E22B17D6630036F07A /* GenerativeAIUIComponents */ = { - isa = XCSwiftPackageProductDependency; - productName = GenerativeAIUIComponents; - }; /* End XCSwiftPackageProductDependency section */ }; rootObject = 8848C8272B0D04BC007B434F /* Project object */; diff --git a/scripts/check_copyright.sh b/scripts/check_copyright.sh index 8ccc634c5c7..a8bd78c7781 100755 --- a/scripts/check_copyright.sh +++ b/scripts/check_copyright.sh @@ -25,6 +25,7 @@ list=$(git grep "${options[@]}" -- \ '*.'{c,cc,cmake,h,js,m,mm,py,rb,sh,swift} \ CMakeLists.txt '**/CMakeLists.txt' \ ':(exclude)third_party/**' \ + ':(exclude)FirebaseVertexAI/Sample/Frameworks/**' \ ':(exclude)**/third_party/**') # Allow copyrights before 2020 without LLC. diff --git a/scripts/check_whitespace.sh b/scripts/check_whitespace.sh index 08671802c37..30101bb668c 100755 --- a/scripts/check_whitespace.sh +++ b/scripts/check_whitespace.sh @@ -35,6 +35,7 @@ git grep "${options[@]}" -- \ ':(exclude)CoreOnly/NOTICES' \ ':(exclude)Firebase/Firebase/NOTICES' \ ':(exclude)Firebase/InAppMessaging/ProtoSupport' \ + ':(exclude)FirebaseVertexAI/Sample/Frameworks' \ ':(exclude)Firestore/Protos/nanopb' \ ':(exclude)Firestore/Protos/cpp' \ ':(exclude)Firestore/Protos/objc' \ diff --git a/scripts/style.sh b/scripts/style.sh index 324903331d2..f17656e455a 100755 --- a/scripts/style.sh +++ b/scripts/style.sh @@ -170,6 +170,9 @@ s%^./%% \%\.pb\.% d \%\.nanopb\.% d +# Keep Firebase xcframework formatting in Vertex AI sample +\%^FirebaseVertexAI/Sample/Frameworks/.*% d + # Format C-ish sources only \%\.(h|m|mm|cc|swift)$% p '